Update headers for Linux 4.0, 4.1 definitions.
[glibc.git] / ChangeLog
blobc6f0e494e40af6b623169da9f5a2301a919778b0
1 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
5         (PF_MPLS): Likewise.
6         (AF_IB): Likewise.
7         (AF_MPLS): Likewise.
8         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9         value and macro.
10         (MS_RMT_MASK): Include MS_LAZYTIME.
12 2015-06-26  Mel Gorman  <mgorman@suse.de>
14         [BZ #18502]
15         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16         already minimal.
18 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21         (DT_MIPS_NUM): Update.
22         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23         DT_MIPS_RLD_MAP_REL.
25 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #16559]
28         [BZ #18602]
29         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30         round-to-nearest internally then recompute results that
31         underflowed to zero in the original rounding mode.
32         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
36         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
37         * sysdeps/i386/fpu/libm-test-ulps: Update.
38         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
42         * NEWS: Fixed description of link with vector math library.
44 2015-06-25  Andreas Schwab  <schwab@suse.de>
46         [BZ #18549]
47         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
48         * libio/test-fmemopen.c (do_test): Add test for it.
50 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52         [BZ #17841]
53         * Makeconfig (no-pie-ldflag): New.
54         (+link): Set to $(+link-pie) if default to PIE.
55         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
56         * config.make.in (build-pie-default): New.
57         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
58         is default.  AC_SUBST.
59         * configure: Regenerated.
60         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
62 2015-06-24  Roland McGrath  <roland@hack.frob.com>
64         * nptl/descr.h (struct pthread): Change type of field setxid_futex
65         to 'unsigned int'.
67         * resolv/gai_misc.h (struct waitlist): Change type of field
68         counterp to 'volatile unsigned int *'.
69         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
70         FUTEXADDR and OLDVAL.
71         * resolv/getaddrinfo_a.c (getaddrinfo_a):
72         Give local variable TOTAL type 'volatile unsigned int'.
73         (struct async_waitlist): Change type of field counter to 'unsigned int'.
74         * resolv/gai_suspend.c (gai_suspend):
75         Give local variable CNTR type 'unsigned int'.
77         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
78         counterp to 'volatile unsigned int *'.
79         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
80         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
81         (aio_suspend): Give local variable CNTR type 'unsigned int'.
82         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
83         Give local variable TOTAL type 'volatile unsigned int'.
84         (struct async_waitlist): Change type of field counter to 'unsigned int'.
86 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
88         [BZ #18383]
89         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
90         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
91         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
92         comment for i386/x86-64.
93         (test-xfail-tst-tlsalign-extern-static): Removed.
95 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
97         * math/test-double.h: New file.
98         * math/test-float.h: Likewise.
99         * math/test-ldouble.h: Likewise.
100         * math/test-math-inline.h: Likewise.
101         * math/test-math-no-inline.h: Likewise.
102         * math/test-math-scalar.h: Likewise.
103         * math/test-math-vector.h: Likewise.
104         * math/test-vec-loop.h: Remove file.  Contents moved into
105         test-math-vector.h.
106         * math/libm-test.inc (MATHCONST): Do not document macro.
107         * math/test-double.c: Include test-double.h, test-math-no-inline.h
108         and test-math-scalar.h.
109         (FUNC): Remove macro.
110         (FUNC_TEST): Likewise.
111         (FLOAT): Likewise.
112         (MATHCONST): Likewise.
113         (PRINTF_EXPR): Likewise.
114         (PRINTF_XEXPR): Likewise.
115         (PRINTF_NEXPR): Likewise.
116         (TEST_DOUBLE): Likewise.
117         (TEST_MATHVEC): Likewise.
118         (__NO_MATH_INLINES): Likewise.
119         * math/test-float.c: Include test-float.h, test-math-no-inline.h
120         and test-math-scalar.h.
121         (FUNC): Remove macro.
122         (FUNC_TEST): Likewise.
123         (FLOAT): Likewise.
124         (MATHCONST): Likewise.
125         (PRINTF_EXPR): Likewise.
126         (PRINTF_XEXPR): Likewise.
127         (PRINTF_NEXPR): Likewise.
128         (TEST_FLOAT): Likewise.
129         (TEST_MATHVEC): Likewise.
130         (__NO_MATH_INLINES): Likewise.
131         * math/test-idouble.c: Include test-double.h, test-math-inline.h
132         and test-math-scalar.h.
133         (FUNC): Remove macro.
134         (FUNC_TEST): Likewise.
135         (FLOAT): Likewise.
136         (MATHCONST): Likewise.
137         (PRINTF_EXPR): Likewise.
138         (PRINTF_XEXPR): Likewise.
139         (PRINTF_NEXPR): Likewise.
140         (TEST_DOUBLE): Likewise.
141         (TEST_MATHVEC): Likewise.
142         (TEST_INLINE): Likewise.
143         (__NO_MATH_INLINES): Likewise.
144         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
145         test-math-scalar.h.
146         (FUNC): Remove macro.
147         (FUNC_TEST): Likewise.
148         (FLOAT): Likewise.
149         (MATHCONST): Likewise.
150         (PRINTF_EXPR): Likewise.
151         (PRINTF_XEXPR): Likewise.
152         (PRINTF_NEXPR): Likewise.
153         (TEST_FLOAT): Likewise.
154         (TEST_MATHVEC): Likewise.
155         (TEST_INLINE): Likewise.
156         (__NO_MATH_INLINES): Likewise.
157         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
158         and test-math-scalar.h.
159         (FUNC): Remove macro.
160         (FUNC_TEST): Likewise.
161         (FLOAT): Likewise.
162         (MATHCONST): Likewise.
163         (PRINTF_EXPR): Likewise.
164         (PRINTF_XEXPR): Likewise.
165         (PRINTF_NEXPR): Likewise.
166         (TEST_LDOUBLE): Likewise.
167         (TEST_MATHVEC): Likewise.
168         (TEST_INLINE): Likewise.
169         (__NO_MATH_INLINES): Likewise.
170         * math/test-ldouble.c: Include test-ldouble.h,
171         test-math-no-inline.h and test-math-scalar.h.
172         (FUNC): Remove macro.
173         (FUNC_TEST): Likewise.
174         (FLOAT): Likewise.
175         (MATHCONST): Likewise.
176         (PRINTF_EXPR): Likewise.
177         (PRINTF_XEXPR): Likewise.
178         (PRINTF_NEXPR): Likewise.
179         (TEST_LDOUBLE): Likewise.
180         (TEST_MATHVEC): Likewise.
181         (__NO_MATH_INLINES): Likewise.
182         * math/test-double-vlen2.h: Include test-double.h,
183         test-math-no-inline.h and test-math-vector.h.
184         (FLOAT): Remove macro.
185         (FUNC): Likewise.
186         (MATHCONST): Likewise.
187         (PRINTF_EXPR): Likewise.
188         (PRINTF_XEXPR): Likewise.
189         (PRINTF_NEXPR): Likewise.
190         (TEST_DOUBLE): Likewise.
191         (TEST_MATHVEC): Likewise.
192         (__NO_MATH_INLINES): Likewise.
193         (CNCT): Likewise.
194         (CONCAT): Likewise.
195         (WRAPPER_NAME): Likewise.
196         (WRAPPER_DECL): Likewise.
197         (WRAPPER_DECL_ff): Likewise.
198         (WRAPPER_DECL_fFF): Likewise.
199         (VECTOR_WRAPPER): Likewise.
200         (VECTOR_WRAPPER_ff): Likewise.
201         (VECTOR_WRAPPER_fFF): Likewise.
202         (VEC_LEN): New macro.
203         * math/test-double-vlen4.h: Include test-double.h,
204         test-math-no-inline.h and test-math-vector.h.
205         (FLOAT): Remove macro.
206         (FUNC): Likewise.
207         (MATHCONST): Likewise.
208         (PRINTF_EXPR): Likewise.
209         (PRINTF_XEXPR): Likewise.
210         (PRINTF_NEXPR): Likewise.
211         (TEST_DOUBLE): Likewise.
212         (TEST_MATHVEC): Likewise.
213         (__NO_MATH_INLINES): Likewise.
214         (CNCT): Likewise.
215         (CONCAT): Likewise.
216         (WRAPPER_NAME): Likewise.
217         (WRAPPER_DECL): Likewise.
218         (WRAPPER_DECL_ff): Likewise.
219         (WRAPPER_DECL_fFF): Likewise.
220         (VECTOR_WRAPPER): Likewise.
221         (VECTOR_WRAPPER_ff): Likewise.
222         (VECTOR_WRAPPER_fFF): Likewise.
223         (VEC_LEN): New macro.
224         * math/test-double-vlen8.h: Include test-double.h,
225         test-math-no-inline.h and test-math-vector.h.
226         (FLOAT): Remove macro.
227         (FUNC): Likewise.
228         (MATHCONST): Likewise.
229         (PRINTF_EXPR): Likewise.
230         (PRINTF_XEXPR): Likewise.
231         (PRINTF_NEXPR): Likewise.
232         (TEST_DOUBLE): Likewise.
233         (TEST_MATHVEC): Likewise.
234         (__NO_MATH_INLINES): Likewise.
235         (CNCT): Likewise.
236         (CONCAT): Likewise.
237         (WRAPPER_NAME): Likewise.
238         (WRAPPER_DECL): Likewise.
239         (WRAPPER_DECL_ff): Likewise.
240         (WRAPPER_DECL_fFF): Likewise.
241         (VECTOR_WRAPPER): Likewise.
242         (VECTOR_WRAPPER_ff): Likewise.
243         (VECTOR_WRAPPER_fFF): Likewise.
244         (VEC_LEN): New macro.
245         * math/test-float-vlen4.h: Include test-float.h,
246         test-math-no-inline.h and test-math-vector.h.
247         (FLOAT): Remove macro.
248         (FUNC): Likewise.
249         (MATHCONST): Likewise.
250         (PRINTF_EXPR): Likewise.
251         (PRINTF_XEXPR): Likewise.
252         (PRINTF_NEXPR): Likewise.
253         (TEST_FLOAT): Likewise.
254         (TEST_MATHVEC): Likewise.
255         (__NO_MATH_INLINES): Likewise.
256         (CNCT): Likewise.
257         (CONCAT): Likewise.
258         (WRAPPER_NAME): Likewise.
259         (WRAPPER_DECL): Likewise.
260         (WRAPPER_DECL_ff): Likewise.
261         (WRAPPER_DECL_fFF): Likewise.
262         (VECTOR_WRAPPER): Likewise.
263         (VECTOR_WRAPPER_ff): Likewise.
264         (VECTOR_WRAPPER_fFF): Likewise.
265         (VEC_LEN): New macro.
266         * math/test-float-vlen8.h: Include test-float.h,
267         test-math-no-inline.h and test-math-vector.h.
268         (FLOAT): Remove macro.
269         (FUNC): Likewise.
270         (MATHCONST): Likewise.
271         (PRINTF_EXPR): Likewise.
272         (PRINTF_XEXPR): Likewise.
273         (PRINTF_NEXPR): Likewise.
274         (TEST_FLOAT): Likewise.
275         (TEST_MATHVEC): Likewise.
276         (__NO_MATH_INLINES): Likewise.
277         (CNCT): Likewise.
278         (CONCAT): Likewise.
279         (WRAPPER_NAME): Likewise.
280         (WRAPPER_DECL): Likewise.
281         (WRAPPER_DECL_ff): Likewise.
282         (WRAPPER_DECL_fFF): Likewise.
283         (VECTOR_WRAPPER): Likewise.
284         (VECTOR_WRAPPER_ff): Likewise.
285         (VECTOR_WRAPPER_fFF): Likewise.
286         (VEC_LEN): New macro.
287         * math/test-float-vlen16.h: Include test-float.h,
288         test-math-no-inline.h and test-math-vector.h.
289         (FLOAT): Remove macro.
290         (FUNC): Likewise.
291         (MATHCONST): Likewise.
292         (PRINTF_EXPR): Likewise.
293         (PRINTF_XEXPR): Likewise.
294         (PRINTF_NEXPR): Likewise.
295         (TEST_FLOAT): Likewise.
296         (TEST_MATHVEC): Likewise.
297         (__NO_MATH_INLINES): Likewise.
298         (CNCT): Likewise.
299         (CONCAT): Likewise.
300         (WRAPPER_NAME): Likewise.
301         (WRAPPER_DECL): Likewise.
302         (WRAPPER_DECL_ff): Likewise.
303         (WRAPPER_DECL_fFF): Likewise.
304         (VECTOR_WRAPPER): Likewise.
305         (VECTOR_WRAPPER_ff): Likewise.
306         (VECTOR_WRAPPER_fFF): Likewise.
307         (VEC_LEN): New macro.
308         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
309         test-vec-loop.h.
310         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
311         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
312         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
313         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
314         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
315         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
316         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
318 2015-06-24  Roland McGrath  <roland@hack.frob.com>
320         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
321         (__getlogin_r): ... this.
323 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
325         [BZ #18594]
326         * math/s_ccosh.c (__ccosh): Compare with least normal value
327         instead of comparing class with FP_SUBNORMAL.
328         * math/s_ccoshf.c (__ccoshf): Likewise.
329         * math/s_ccoshl.c (__ccoshl): Likewise.
330         * math/s_cexp.c (__cexp): Likewise.
331         * math/s_cexpf.c (__cexpf): Likewise.
332         * math/s_cexpl.c (__cexpl): Likewise.
333         * math/s_csin.c (__csin): Likewise.
334         * math/s_csinf.c (__csinf): Likewise.
335         * math/s_csinh.c (__csinh): Likewise.
336         * math/s_csinhf.c (__csinhf): Likewise.
337         * math/s_csinhl.c (__csinhl): Likewise.
338         * math/s_csinl.c (__csinl): Likewise.
339         * math/s_ctan.c (__ctan): Likewise.
340         * math/s_ctanf.c (__ctanf): Likewise.
341         * math/s_ctanh.c (__ctanh): Likewise.
342         * math/s_ctanhf.c (__ctanhf): Likewise.
343         * math/s_ctanhl.c (__ctanhl): Likewise.
344         * math/s_ctanl.c (__ctanl): Likewise.
345         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
346         csin, csinh, ctan and ctanh.
347         * math/auto-libm-test-out: Regenerated.
348         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
349         * sysdeps/i386/fpu/libm-test-ulps: Update.
350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352 2015-06-24  Roland McGrath  <roland@hack.frob.com>
354         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
355         return value is wrong, print the expected value too.
357 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
359         [BZ #18585]
360         * elf/readlib.c (is_gdb_python_file): New.
361         (process_file): Don't issue errors on filenames with -gdb.py
362         suffix.
364 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
366         * math/auto-libm-test-in: Add more tests of csin and csinh.
367         * math/auto-libm-test-out: Regenerated.
368         * math/libm-test.inc (csin_test_data): Remove tests moved to
369         auto-libm-test-in.
370         (csinh_test_data): Likewise.
372         [BZ #18593]
373         * math/s_csin.c (__csin): Negate before rather than after possibly
374         overflowing multiplication.
375         * math/s_csinf.c (__csinf): Likewise.
376         * math/s_csinh.c (__csinh): Likewise.
377         * math/s_csinhf.c (__csinhf): Likewise.
378         * math/s_csinhl.c (__csinhl): Likewise.
379         * math/s_csinl.c (__csinl): Likewise.
380         * math/auto-libm-test-in: Add some tests of csin and csinh.
381         * math/auto-libm-test-out: Regenerated.
382         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
383         (csinh_test_data): Likewise.
384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
386         [BZ #18586]
387         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
388         underflow exception for small results.
390 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
394         variable and included header.
395         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
396         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
398         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
399         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
402         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
403         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
404         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
405         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
406         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
407         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
408         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
409         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
410         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
412 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #16526]
415         [BZ #16538]
416         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
417         (__sin): Force underflow exception for arguments with small
418         absolute value.
419         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
420         (__kernel_sinf): Force underflow exception for arguments with
421         small absolute value.
422         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
423         (__kernel_sincosl): Force underflow exception for arguments with
424         small absolute value.
425         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
426         (__kernel_sinl): Force underflow exception for arguments with
427         small absolute value.
428         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
429         (__kernel_sincosl): Force underflow exception for arguments with
430         small absolute value.
431         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
432         (__kernel_sinl): Force underflow exception for arguments with
433         small absolute value.
434         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
435         (__kernel_sinl): Force underflow exception for arguments with
436         small absolute value.
437         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
438         (__kernel_sinf): Force underflow exception for arguments with
439         small absolute value.
440         * math/auto-libm-test-in: Add more tests of sin and sincos.
441         * math/auto-libm-test-out: Regenerated.
443         [BZ #18245]
444         [BZ #18583]
445         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
446         (__kernel_standard_l): Use feholdexcept and fesetenv around
447         conversion to double instead of special-casing overflow and
448         underflow.
449         * math/libm-test.inc (fmod_test_data): Add more tests.
450         (remainder_test_data): Likewise.
451         (sqrt_test_data): Likewise.
453 2015-06-23  Torvald Riegel  <triegel@redhat.com>
455         [BZ #17403]
456         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
457         atomic_read_barrier, atomic_write_barrier): Define.
458         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
459         atomic_read_barrier, atomic_write_barrier): Define.
461 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
463         * math/Makefile [$(PERL) != no]
464         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
465         dependency on libm-test.stmp below the inclusion of Rules.
467 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
469         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
470         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
471         and included header.
472         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
474         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
475         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
476         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
478         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
479         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
480         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
481         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
482         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
483         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
484         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
485         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
486         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
487         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
488         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
489         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
490         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
492 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
494         [BZ #18371]
495         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
496         intermediate but not final result might underflow.
497         * math/s_csqrtf.c (__csqrtf): Likewise.
498         * math/s_csqrtl.c (__csqrtl): Likewise.
499         * math/auto-libm-test-in: Add more tests of csqrt.
500         * math/auto-libm-test-out: Regenerated.
501         * sysdeps/i386/fpu/libm-test-ulps: Update.
503         [BZ #18219]
504         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
505         threshold on absolute value of exponent for which scaling is used.
506         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
507         * math/auto-libm-test-in: Add more tests of exp2.
508         * math/auto-libm-test-out: Regenerated.
510 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
512         [BZ #17977]
513         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
514         when initializing interface list, based on the bug analysis
515         and the patch proposed by Eric Newton.
516         * resolv/tst-res_hconf_reorder.c: New test.
517         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
518         tst-res_hconf_reorder.
519         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
520         and $(shared-thread-library).
521         (tst-res_hconf_reorder-ENV): New variable.
523         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
524         in comment.
526 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
528         [BZ #16353]
529         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
530         (__expm1): Force underflow exception for arguments with small
531         absolute value.
532         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
533         (__expm1f): Force underflow exception for arguments with small
534         absolute value.
535         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
536         (__expm1): Force underflow exception for arguments with small
537         absolute value.
538         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
539         (__expm1f): Force underflow exception for arguments with small
540         absolute value.
541         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
542         Check for small arguments before calling __expm1.
543         * math/auto-libm-test-in: Do not mark underflow exceptions as
544         possibly missing for bug 16353.
545         * math/auto-libm-test-out: Regenerated.
547 2015-06-22  Andreas Schwab  <schwab@suse.de>
549         [BZ #18513]
550         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
551         PTR queries.
553 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
555         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
557         * string/strcoll_l.c: Remove unused struct element idxnow.
559 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
561         [BZ #18569]
562         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
563         underflow and return argument in case of subnormal argument.
564         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
565         Likewise.
566         * math/auto-libm-test-in: Add more tests of expm1.
567         * math/auto-libm-test-out: Regenerated.
569         [BZ #16361]
570         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
571         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
572         tiny results.
573         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
574         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
575         tiny results.
576         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
577         mark underflow exceptions as possibly missing for bug 16361.
578         * math/auto-libm-test-out: Regenerated.
580 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
582         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
583         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
584         Remove variable.
585         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
586         (test-xfail-XOPEN2K8/utmpx.h/conform).
588         * conform/conformtest.pl ($xerrors): New variable.
589         (note_error): New function.
590         (compiletest): New argument $xfail.  Use not_error.
591         (runtest): Likewise.
592         (top level): Handle xfail- lines.  Update calls to compiletest and
593         runtest.  Handle xfail- and optional- in headers listed with
594         allow-header.
595         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
596         (O_EXEC): Likewise.
597         (O_SEARCH): Likewise.
598         * conform/data/stropts.h-data (ioctl): Likewise.
599         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
600         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
601         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
602         (msghdr.msg_controllen): Likewise.
603         (cmsghdr.cmsg_len): Likewise.
604         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
605         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
606         variable.
607         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
608         (test-xfail-XPG4/stropts.h/conform): Likewise.
609         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
610         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
611         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
612         (test-xfail-UNIX98/stropts.h/conform): Likewise.
613         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
614         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
615         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
616         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
617         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
618         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
619         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
620         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
621         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
622         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
623         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
624         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
625         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
626         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
627         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
629 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
631         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
632         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
633         definitions for proper unfolding of __MATHDECL_VEC.
635 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
637         * benchtests/bench-strcoll.c:
638         Include string.h.
639         (main): Remove unused variable res.
641 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
643         * timezone/Makefile (%/UTC %/Universal):
644         Generate test-result files for UTC and Universal.
646 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
648         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
650 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
652         [BZ #16350]
653         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
654         for arguments with small absolute value.
655         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
656         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
657         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
658         (__asinh): Force underflow exception for arguments with small
659         absolute value.
660         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
661         (__asinhf): Force underflow exception for arguments with small
662         absolute value.
663         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
664         (__asinhl): Force underflow exception for arguments with small
665         absolute value.
666         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
667         (__asinhl): Force underflow exception for arguments with small
668         absolute value.
669         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
670         (__asinhl): Force underflow exception for arguments with small
671         absolute value.
672         * math/auto-libm-test-in: Do not mark underflow exceptions as
673         possibly missing for bug 16350.
674         * math/auto-libm-test-out: Regenerated.
676         * include/bits/ipc.h: Remove file.
677         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
678         variable.
679         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
680         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
681         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
682         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
683         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
684         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
685         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
686         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
687         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
689         * math/auto-libm-test-in: Remove spurious underflow allowance for
690         tests of cexp.
691         * math/auto-libm-test-out: Regenerated.
693         [BZ #18558]
694         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
695         unconditional definition.
696         (MCAST_BLOCK_SOURCE): Likewise.
697         (MCAST_UNBLOCK_SOURCE): Likewise.
698         (MCAST_LEAVE_GROUP): Likewise.
699         (MCAST_JOIN_SOURCE_GROUP): Likewise.
700         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
701         (MCAST_MSFILTER): Likewise.
702         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
703         Remove variable.
704         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
705         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
706         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
707         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
708         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
710 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
712         * NEWS: Mention addition of x86_64 vector sincosf.
713         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
714         * math/test-float-vlen4.h: Likewise.
715         * math/test-float-vlen8.h: Likewise.
716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
717         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
719         * sysdeps/x86_64/fpu/Versions: New versions added.
720         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
721         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
722         Added build of SSE, AVX2 and AVX512 IFUNC versions.
723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
728         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
729         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
730         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
731         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
732         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
733         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
734         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
735         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
736         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
737         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
738         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
739         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
740         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
741         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
742         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
743         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
745         * NEWS: Mention addition of x86_64 vector sincos.
746         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
747         * math/math.h (__MATHDECL_VEC): New macro.
748         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
749         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
750         declaration under condition.
751         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
752         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
753         TEST_VEC_LOOP change.
754         * math/test-double-vlen4.h: Likewise.
755         * math/test-double-vlen8.h: Likewise.
756         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
757         * math/test-float-vlen4.h: Likewise.
758         * math/test-float-vlen8.h: Likewise.
759         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
760         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
761         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
762         * sysdeps/x86_64/fpu/Versions: New versions added.
763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
764         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
765         Added build of SSE, AVX2 and AVX512 IFUNC versions.
766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
767         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
768         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
771         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
772         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
773         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
774         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
775         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
776         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
777         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
778         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
779         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
780         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
781         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
782         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
783         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
784         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
785         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
786         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
788         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
789         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
790         redirections for powf.
791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
792         * sysdeps/x86_64/fpu/Versions: New versions added.
793         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
794         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
795         Added build of SSE, AVX2 and AVX512 IFUNC versions.
796         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
798         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
800         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
802         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
803         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
804         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
805         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
806         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
807         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
808         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
809         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
810         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
811         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
812         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
813         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
814         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
815         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
816         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
817         * math/test-float-vlen16.h: Fixed 2 argument macro.
818         * math/test-float-vlen4.h: Likewise.
819         * math/test-float-vlen8.h: Likewise.
820         * NEWS: Mention addition of x86_64 vector powf.
822 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
824         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
825         and redefine.
826         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
827         and redefine.
828         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
829         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
830         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
832         [BZ #18553]
833         * resource/getpriority.c (getpriority): Rename to __getpriority
834         and define as weak alias of __getpriority.
835         * resource/setpriority.c (setpriority): Rename to __setpriority
836         and define as weak alias of __setpriority.
837         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
838         __getpriority and define as weak alias of __getpriority.
839         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
840         __setpriority and define as weak alias of __setpriority.
841         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
842         strong name.
843         (setpriority): Use __setpriority as strong name.
844         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
845         __getpriority and define as weak alias of __getpriority.
846         * include/sys/resource.h (__getpriority): Declare.  Use
847         libc_hidden_proto.
848         (__setpriority): Likewise.
849         (getpriority): Don't use libc_hidden_proto.
850         (setpriority): Likewise.
851         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
852         getpriority.  Call __setpriority instead of setpriority.
853         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
854         Remove variable.
856         [BZ #18547]
857         * misc/getttyent.c (getttynam): Rename to __getttynam and define
858         as weak alias of __getttynam.  Use prototype function definition.
859         Call __setttyent, __getttyent and __endttyent instead of
860         setttyent, getttyent and endttyent.
861         (getttyent): Rename to __getttyent and define as weak alias of
862         __getttyent.  Call __setttyent instead of setttyent.  Call
863         __fgets_unlocked instead of fgets_unlocked.
864         (setttyent): Rename to __setttyent and define as weak alias of
865         __setttyent.
866         (endttyent): Rename to __endttyent and define as weak alias of
867         __endttyent.
868         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
869         (__setttyent): Likewise.
870         (__endttyent): Likewise.
871         (getttyent): Don't use libc_hidden_proto.
872         (setttyent): Likewise.
873         (endttyent): Likewise.
874         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
875         __endttyent instead of setttyent, getttyent and endttyent.
876         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
877         Remove variable.
879         [BZ #18546]
880         * socket/recv.c (__recv): Use libc_hidden_def.
881         * socket/socket.c (__socket): Likewise.
882         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
883         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
884         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
885         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
886         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
887         libc_hidden_def.
888         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
889         libc_hidden_weak.
890         * include/sys/socket.h (__socket): Do not use attribute_hidden.
891         Use libc_hidden_proto.
892         (__recv): Likewise.
893         * socket/Versions (libc): Export __recv and __socket at version
894         GLIBC_PRIVATE.
895         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
896         instead of recv.
897         (init_mq_netlink): Call __socket instead of socket.
898         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
899         Remove variable.
901         [BZ #18545]
902         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
903         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
904         hidden_weak.
905         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
906         define as alias of __mq_timedsend.  Use hidden_weak.
907         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
908         __mq_timedsend as strong name.
909         (mq_timedreceive): Use __mq_timedreceive as strong name.
910         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
911         (__mq_timedreceive): Likewise.
912         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
913         __mq_timedreceive instead of mq_timedreceive.
914         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
915         instead of mq_timedsend.
916         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
917         Remove variable.
919         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
920         hidden_def and hidden_weak instead of libc_hidden_def and
921         libc_hidden_weak.
922         (top level): Refer to hidden_def in comment.
923         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
924         macro.  Use it instead of libc_hidden_def.
925         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
926         specify __GI_* name explicitly.
927         (mq_timedreceive): Likewise.
928         (mq_setattr): Likewise.
930         [BZ #18544]
931         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
932         __pthread_barrier_init and define as weak alias of
933         __pthread_barrier_init.
934         * sysdeps/sparc/nptl/pthread_barrier_init.c
935         (pthread_barrier_init): Likewise.
936         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
937         __pthread_barrier_wait and define as weak alias of
938         __pthread_barrier_wait.
939         * sysdeps/sparc/nptl/pthread_barrier_wait.c
940         (pthread_barrier_wait): Likewise.
941         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
942         (pthread_barrier_wait): Likewise.
943         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
944         (pthread_barrier_wait): Likewise.
945         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
946         (pthread_barrier_wait): Likewise.
947         * nptl/Versions (libpthread): Export __pthread_barrier_init and
948         __pthread_barrier_wait at version GLIBC_PRIVATE.
949         * include/pthread.h (__pthread_barrier_init): Declare.
950         (__pthread_barrier_wait): Likewise.
951         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
952         Call __pthread_barrier_wait instead of pthread_barrier_wait.
953         (helper_thread): Likewise.
954         (init_mq_netlink): Call __pthread_barrier_init instead of
955         pthread_barrier_init.
957         [BZ #18542]
958         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
959         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
960         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
961         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
962         vswscanf.
963         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
964         Remove variable.
966         [BZ #18540]
967         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
968         strong alias of _IO_fflush.  Use libc_hidden_def.
969         * libio/iofflush_u.c (fflush_unlocked): Rename to
970         __fflush_unlocked and define as weak alias of __fflush_unlocked.
971         Use libc_hidden_weak.
972         * include/stdio.h (__fflush_unlocked): Declare.  Use
973         libc_hidden_proto.
974         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
975         fflush_unlocked.
976         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
977         Remove variable.
979         [BZ #18539]
980         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
981         define as weak alias of __addseverity.
982         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
983         Remove variable.
984         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
985         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
986         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
988         [BZ #18536]
989         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
990         (__tfind): Likewise.
991         (__tdelete): Likewise.
992         (__twalk): Likewise.
993         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
994         __twalk to GLIBC_PRIVATE.
995         * include/search.h (__tsearch): Use libc_hidden_proto.
996         (__tfind): Likewise.
997         (__tdelete): Likewise.
998         (__twalk): Likewise.
999         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1000         Call __tdelete instead of tdelete.
1001         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1002         tfind.  Call __tsearch instead of tsearch.
1003         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1004         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1005         Remove variable.
1006         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1008         [BZ #18534]
1009         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1010         (dprintf): Define as a weak alias of __dprintf, not a strong
1011         alias.
1012         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1013         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1014         dprintf.
1015         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1016         Remove variable.
1017         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1018         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1020         [BZ #18533]
1021         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1022         not a strong alias.
1023         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1024         Remove variable.
1026         [BZ #18532]
1027         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1028         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1029         (in6addr_loopback): Rename to __in6addr_loopback and define as
1030         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1031         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1032         libc_hidden_proto.
1033         (__in6addr_any): Likewise.
1034         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1035         in6addr_any.
1036         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1037         variable.
1038         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1040 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1042         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1043         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1044         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1045         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1046         redirections for pow.
1047         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1048         * sysdeps/x86_64/fpu/Versions: New versions added.
1049         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1050         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1051         build of SSE, AVX2 and AVX512 IFUNC versions.
1052         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1053         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1054         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1055         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1056         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1057         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1058         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1059         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1060         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1061         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1062         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1063         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1064         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1065         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1066         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1067         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1069         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1070         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1071         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1072         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1073         * NEWS: Mention addition of x86_64 vector pow.
1075         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1076         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1077         redirections for expf.
1078         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1079         * sysdeps/x86_64/fpu/Versions: New versions added.
1080         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1081         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1082         build of SSE, AVX2 and AVX512 IFUNC versions.
1083         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1085         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1086         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1087         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1088         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1089         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1090         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1091         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1092         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1093         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1094         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1095         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1096         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1097         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1098         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1100         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1101         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1102         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1103         * NEWS: Mention addition of x86_64 vector expf.
1105         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1106         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1108         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1109         redirections for exp.
1110         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1111         * sysdeps/x86_64/fpu/Versions: New versions added.
1112         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1113         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1114         build of SSE, AVX2 and AVX512 IFUNC versions.
1115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1118         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1120         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1121         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1122         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1123         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1124         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1125         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1126         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1127         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1128         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1130         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1131         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1132         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1133         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1134         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1135         * NEWS: Mention addition of x86_64 vector exp.
1137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1139         redirections for logf.
1140         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1141         * sysdeps/x86_64/fpu/Versions: New versions added.
1142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1143         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1144         build of SSE, AVX2 and AVX512 IFUNC versions.
1145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1147         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1148         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1149         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1150         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1151         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1152         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1153         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1154         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1155         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1156         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1157         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1158         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1159         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1160         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1162         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1163         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1164         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1165         * NEWS: Mention addition of x86_64 vector logf.
1167         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1168         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1170         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1171         redirections for log.
1172         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1173         * sysdeps/x86_64/fpu/Versions: New versions added.
1174         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1175         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1176         build of SSE, AVX2 and AVX512 IFUNC versions.
1177         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1178         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1179         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1180         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1181         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1182         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1183         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1184         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1185         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1186         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1187         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1188         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1190         test.
1191         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1193         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1194         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1195         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1196         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1197         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1198         * NEWS: Mention addition of x86_64 vector log.
1200 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1202         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1203         cfi_adjust_cfa_offset argument.
1204         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1205         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1207         [BZ #18034]
1208         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1209         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1210         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1211         ordering using ldar.
1212         (_dl_tlsdesc_dynamic): Likewise.
1213         (_dl_tlsdesc_return_lazy): Likewise.
1214         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1215         relaxed atomics instead of volatile and synchronize with release store.
1216         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1217         volatile.
1218         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1220 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1223         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1224         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1225         * sysdeps/x86_64/fpu/Versions: New versions added.
1226         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1227         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1228         build of SSE, AVX2 and AVX512 IFUNC versions.
1229         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1230         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1231         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1233         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1234         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1235         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1236         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1237         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1238         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1239         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1240         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1241         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1242         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1243         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1244         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1245         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1246         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1247         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1248         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1249         * NEWS: Mention addition of x86_64 vector sinf.
1251 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1253         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1254         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1255         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1256         Remove variable.
1257         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1258         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1260 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1262         [BZ #18530]
1263         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1264         strong alias of _IO_fputs.  Use libc_hidden_def.
1265         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1266         and define as weak alias of __fputs_unlocked.  Use
1267         libc_hidden_weak.
1268         * include/stdio.h (__fputs_unlocked): Declare.  Use
1269         libc_hidden_proto.
1270         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1271         fputs_unlocked.
1273         [BZ #18529]
1274         * resolv/netdb.h [__USE_POSIX]: Change condition to
1275         [__USE_XOPEN2K].
1276         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1277         not expect.
1278         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1279         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1280         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1281         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1282         [XPG4 || UNIX98] (AI_ALL): Likewise.
1283         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1284         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1285         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1286         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1287         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1288         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1289         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1290         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1291         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1292         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1293         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1294         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1295         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1296         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1297         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1298         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1299         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1300         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1301         [XPG4 || UNIX98] (gai_strerror): Likewise.
1302         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1303         [XPG4 || UNIX98] (getnameinfo): Likewise.
1305         [BZ #18528]
1306         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1307         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1308         __USE_XOPEN2K8].
1309         (getgrent): Likewise.
1310         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1311         expect.
1312         [XPG3 || POSIX2008] (endgrent): Likewise.
1313         [XPG3] (setgrent): Likewise.
1314         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1315         variable.
1316         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1318         [BZ #18527]
1319         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1320         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1321         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1322         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1323         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1324         * include/unistd.h (__getlogin_r): Declare.  Use
1325         libc_hidden_proto.
1326         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1327         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1328         variable.
1329         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1330         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1331         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1333 2015-06-12  Martin Sebor  <msebor@redhat.com>
1335         [BZ #18512]
1336         * Makerules (check-install-supported): New target.
1337         (install): Add check-install-supported as a dependency.
1338         * manual/install.texi (Installing the C Library): Document
1339         that overriding prefix and exec_prefix is not supported.
1340         Mention DESTDIR.
1341         * INSTALL: Regenerate from the above.
1343 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1345         [BZ #18519]
1346         * posix/Versions (libc): Export __libc_pread at version
1347         GLIBC_PRIVATE.
1348         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1349         instead of pread.
1350         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1351         variable.
1353         [BZ #18522]
1354         * misc/efgcvt_r.c
1355         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1356         (cvt_symbol): Use weak_alias instead of strong_alias.
1357         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1358         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1359         Remove variable.
1360         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1361         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1363         [BZ #18520]
1364         * inet/herrno.c (h_errno): Rename to __h_errno.
1365         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1366         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1367         to __h_errno instead of h_errno.
1368         * nptl/herrno.c (h_errno): Rename to __h_errno.
1369         (__h_errno_location): Refer to __h_errno not h_errno.
1370         * resolv/Versions (h_errno): Rename to __h_errno.
1371         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1372         Remove variable.
1373         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1375 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1377         * configure.ac: More strict check for AVX512 assembler support.
1378         * configure: Regenerated.
1380         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1381         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1382         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1383         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1384         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1385         * sysdeps/x86_64/fpu/Versions: New versions added.
1386         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1387         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1388         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1389         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1391         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1392         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1393         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1394         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1395         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1396         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1397         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1398         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1399         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1400         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1401         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1402         test.
1403         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1404         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1405         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1406         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1407         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1408         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1409         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1410         * NEWS: Mention addition of x86_64 vector sin.
1412 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1414         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1415         comment.
1417 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1419         [BZ #18479]
1420         * nptl/pt-interp.c: New file.
1421         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1422         Add pt-interp.
1423         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1424         $(common-objpfx)runtime-linker.h.
1426 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1428         * Makeconfig (+interp): Remove unused variable.
1429         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1430         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1431         $(elf-objpfx)runtime-linker.h.
1432         ($(elf-objpfx)runtime-linker.h): Rename to
1433         $(common-objpfx)runtime-linker.h and move ...
1434         * Makerules [$(build-shared) = yes]: ... here.
1435         * elf/interp.c: Include <runtime-linker.h> instead of
1436         <elf/runtime-linker.h>.
1438 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1440         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1441         (__gettimeofday_syscall): Remove vsyscall fallback.
1442         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1443         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1444         Add syscall fallback function.
1445         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1446         if vDSO is not present.
1447         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1448         fallback function.
1449         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1450         present.
1451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1452         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1454 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1456         [BZ #18497]
1457         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1458         of wcscmp.
1459         (wcscmp): Define as weak alias of WCSCMP.
1460         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1461         wcscoll.
1462         (USE_HIDDEN_DEF): Define.
1463         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1464         __wcscoll.  Don't use libc_hidden_weak.
1465         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1466         wcscmp.
1467         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1468         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1469         __GI_wcscmp.
1470         (weak_alias): Undefine and redefine.
1471         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1472         __wcscmp and define as weak alias of __wcscmp.
1473         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1474         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1475         (__wcscoll): Likewise.
1476         (wcscmp): Don't use libc_hidden_proto.
1477         (wcscoll): Likewise.
1478         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1479         wcscoll.
1480         * posix/regexec.c (check_node_accept_bytes): Likewise.
1481         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1482         variable.
1483         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1484         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1486         [BZ #18507]
1487         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1488         __fstatvfs and define as weak alias of __fstatvfs.  Use
1489         libc_hidden_weak.
1490         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1491         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1492         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1493         Define as alias of __fstatvfs, not fstatvfs.
1494         (fstatvfs64): Likewise.
1495         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1496         Define as alias of __statvfs, not statvfs.
1497         (statvfs64): Likewise.
1498         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1499         Remove variable.
1501 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1504         (HAVE_GETCPU_VSYSCALL): Define.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1506         (HAVE_GETCPU_VSYSCALL): Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1508         * sysdeps/unix/sysv/linux/sched_getcpu.c
1509         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1510         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1511         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1512         prototype.
1513         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1514         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1515         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1517         Define.
1518         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1519         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1520         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1521         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1523 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1525         * sysdeps/x86_64/fpu/Makefile: New file.
1526         * sysdeps/x86_64/fpu/Versions: New file.
1527         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1528         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1529         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1530         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1531         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1532         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1533         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1534         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1535         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1537         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1540         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1541         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1542         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1543         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1544         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1545         * sysdeps/x86_64/configure: Regenerated.
1546         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1548         * manual/install.texi (Configuring and compiling): Document
1549         --disable-mathvec.
1550         * INSTALL: Regenerated.
1551         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1553         * math/Makefile: Added rules for vector tests.
1554         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1555         declaration under condition.
1556         * math/test-double-vlen2.h: New file.
1557         * math/test-double-vlen4.h: New file.
1558         * math/test-double-vlen8.h: New file.
1559         * math/test-vec-loop.h: Added initialization macro.
1560         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1562         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1563         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1564         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1566         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1567         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1568         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1569         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1570         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1573         * sysdeps/x86_64/fpu/Versions: New versions added.
1574         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1576         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1577         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1578         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1580         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1581         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1582         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1583         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1584         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1585         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1586         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1588         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1589         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1590         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1591         * NEWS: Mention addition of x86_64 vector cosf.
1593         * math/Makefile: Added CFLAGS for new tests.
1594         * math/test-float-vlen16.h: New file.
1595         * math/test-float-vlen4.h: New file.
1596         * math/test-float-vlen8.h: New file.
1597         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1598         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1599         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1600         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1601         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1602         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1603         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1604         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1605         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1606         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1607         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1609 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1611         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1612         * locale/programs/ld-ctype.c: Likewise.
1614 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1616         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1617         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1618         bit_ZMM16_31_state): New macro.
1619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1620         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1622 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1624         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1626 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1628         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1630 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1632         [BZ #18498]
1633         * libio/memstream.c (open_memstream): Rename to __open_memstream
1634         and define as weak alias of __open_memstream.
1635         * include/stdio.h (__open_memstream): Declare.  Use
1636         libc_hidden_proto.
1637         (open_memstream): Don't use libc_hidden_proto.
1638         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1639         open_memstream.
1640         * posix/getopt.c (_getopt_internal_r): Likewise.
1641         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1642         variable.
1643         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1644         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1645         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1647         [BZ #18496]
1648         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1649         instead of wcrtomb.
1651         [BZ #18483]
1652         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1653         [__USE_XOPEN2K8].  Remove redundant #endif.
1654         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1655         Remove redundant #if.
1656         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1657         Remove variable.
1658         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1659         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1661         [BZ #18495]
1662         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1663         (__iswlower): Likewise.
1664         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1665         (__iswlower): Likewise.
1666         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1667         instead of towlower.
1668         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1669         instead of iswlower.  Call __towupper instead of towupper.
1670         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1671         instead of iswalnum.
1673 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1675         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1676         errors to stderr.
1678 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1680         [BZ #15661]
1681         [BZ #17322]
1682         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1683         Check for overflow properly.  Check for O_APPEND.  Ignore large
1684         file system block sizes.  Add comments about problems.
1685         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1686         * manual/filesys.texi (Storage Allocation): New node.
1688 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1690         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1691         cancellable syscalls.
1692         (SYS_ify): Add guard to no redefine it.
1693         (INLINE_SYSCALL): Likewise.
1694         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1695         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1696         SYSCALL_CANCEL instead.
1697         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1698         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1699         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1700         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1701         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1702         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1703         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1704         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1705         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1706         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1707         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1708         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1709         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1710         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1711         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1712         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1713         Likewise.
1714         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1715         (__libc_pread64): Likewise.
1716         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1717         (__libc_preadv): Likewise.
1718         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1719         (__libc_readv64): Likewise.
1720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1721         (__libc_pwrite): Likewise.
1722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1723         (__libc_pwrite64): Likewise.
1724         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1725         (__libc_pwritev): Likewise.
1726         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1727         (__libc_pwritev64): Likewise.
1728         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1729         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1730         (sync_file_range): Likewise.
1731         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1732         Likewise.
1733         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1734         Likewise.
1735         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1736         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1737         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1738         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1739         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1740         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1741         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1742         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1744         Likewise.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1746         (__libc_read64): Likewise.
1747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1748         Likewise.
1749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1750         Likewise.
1751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1752         Likewise.
1753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1754         Likewise.
1755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1756         (__libc_pread64): Likewise.
1757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1758         Likewise.
1759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1760         (__libc_pwrite64): Likewise.
1761         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1762         (sync_file_range): Likewise.
1763         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1764         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1765         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1766         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1767         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1768         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1769         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1770         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1771         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1772         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1773         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1774         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1775         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1776         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1777         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1778         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1779         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1780         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1781         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1782         Likewise.
1783         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1784         Likewise.
1785         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1786         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1787         Likewise.
1788         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1789         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1790         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1791         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1792         Likewise.
1793         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1794         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1795         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1796         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1797         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1799 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1801         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1802         Include dl-vdso.
1803         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1804         Use VDSO routines for gettimeofday, clock_gettime if
1805         available.
1806         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1807         Declare VDSO symbols.
1808         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1809         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1810         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1811         * sysdeps/unix/sysv/linux/arm/Versions: Add
1812         __vdso_clock_gettime.
1814 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1816         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1817         be an inline implementation regardless of library is built within.
1818         (open_not_cancel_2): Likewise.
1819         (__read_nocancel): Likewise.
1820         (__write_nocancel): Likewise.
1821         (openat_not_cancel): Likewise.
1822         (openat_not_cancel_3): Likewise.
1823         (openat64_not_cancel): Likewise.
1824         (openat64_not_cancel_3): Likewise.
1825         (__close_nocancel): Likewise.
1826         (pause_not_cancel): Likewise.
1827         (nanosleep_not_cancel): Likewise.
1828         (sigsuspend_not_cancel): Likewise.
1830 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1832         [BZ #14958]
1833         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1834         wake-up.
1835         (__pthread_rwlock_rdlock_slow): Likewise.
1836         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1837         Likewise.
1838         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1839         Likewise.
1840         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1841         * nptl/tst-rwlock16.c: New file.
1842         * nptl/Makefile (tests): Add new test.
1844 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1846         [BZ #18324]
1847         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1848         missing wake-up of readers.
1849         * nptl/tst-rwlock15.c: New file.
1850         * nptl/Makefile (tests): Add new test.
1852 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1854         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1855         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1856         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1857         and __nacl_supply_interface_rtld.
1858         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1859         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1860         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1861         Add __nacl_supply_interface_rtld.
1862         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1864 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1866         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1867         isfinite.
1868         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1869         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1871 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1873         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1874         __signbit* with standard C99 macros.
1875         * math/e_exp10l.c: Likewise.
1876         * math/e_exp2l.c: Likewise.
1877         * math/e_scalb.c: Likewise.
1878         * math/e_scalbf.c: Likewise.
1879         * math/e_scalbl.c: Likewise.
1880         * math/s_ldexp.c: Likewise.
1881         * math/s_ldexpf.c: Likewise.
1882         * math/s_ldexpl.c: Likewise.
1883         * math/w_atan2.c: Likewise.
1884         * math/w_atan2f.c: Likewise.
1885         * math/w_atan2l.c: Likewise.
1886         * math/w_cosh.c: Likewise.
1887         * math/w_coshf.c: Likewise.
1888         * math/w_coshl.c: Likewise.
1889         * math/w_exp10.c: Likewise.
1890         * math/w_exp10f.c: Likewise.
1891         * math/w_exp10l.c: Likewise.
1892         * math/w_exp2.c: Likewise.
1893         * math/w_exp2f.c: Likewise.
1894         * math/w_exp2l.c: Likewise.
1895         * math/w_fmod.c: Likewise.
1896         * math/w_fmodf.c: Likewise.
1897         * math/w_fmodl.c: Likewise.
1898         * math/w_hypot.c: Likewise.
1899         * math/w_hypotf.c: Likewise.
1900         * math/w_hypotl.c: Likewise.
1901         * math/w_jnl.c: Likewise.
1902         * math/w_lgamma.c: Likewise.
1903         * math/w_lgamma_r.c: Likewise.
1904         * math/w_lgammaf.c: Likewise.
1905         * math/w_lgammaf_r.c: Likewise.
1906         * math/w_lgammal.c: Likewise.
1907         * math/w_lgammal_r.c: Likewise.
1908         * math/w_pow.c: Likewise.
1909         * math/w_powf.c: Likewise.
1910         * math/w_powl.c: Likewise.
1911         * math/w_remainder.c: Likewise.
1912         * math/w_remainderf.c: Likewise.
1913         * math/w_remainderl.c: Likewise.
1914         * math/w_scalb.c: Likewise.
1915         * math/w_scalbf.c: Likewise.
1916         * math/w_scalbl.c: Likewise.
1917         * math/w_scalbln.c: Likewise.
1918         * math/w_scalblnf.c: Likewise.
1919         * math/w_scalblnl.c: Likewise.
1920         * math/w_sinh.c: Likewise.
1921         * math/w_sinhf.c: Likewise.
1922         * math/w_sinhl.c: Likewise.
1923         * math/w_tgamma.c: Likewise.
1924         * math/w_tgammaf.c: Likewise.
1925         * math/w_tgammal.c: Likewise.
1926         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1927         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1928         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1929         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1930         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1932         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1933         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1934         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1935         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1936         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1937         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1938         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1943         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1944         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1947         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1948         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1950         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1951         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1952         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1953         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1954         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1955         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1956         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1957         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1958         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1959         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1960         * stdio-common/printf_fp.c: Likewise.
1961         * stdio-common/printf_fphex.c: Likewise.
1962         * stdio-common/printf_size.c: Likewise.
1964 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1966         [BZ #18470]
1967         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1968         strnlen.
1969         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1970         Remove variable.
1971         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1972         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1973         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1974         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1975         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1976         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1977         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1978         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1979         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1980         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1982         [BZ #18468]
1983         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1984         weak alias of __wmemchr.  Use libc_hidden_weak.
1985         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1986         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1987         instead of wmemchr.
1989 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1991         [BZ #18383]
1992         * elf/tst-tlsalign-extern.c: New file.
1993         * elf/tst-tlsalign-extern-static.c: New file.
1994         * elf/tst-tlsalign-vars.c: New file.
1995         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1996         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1997         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1998         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1999         (test-xfail-tst-tlsalign-extern-static): New variable.
2001 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2003         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2004         Use variable name _sc_err instead of err.
2005         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2006         instead of ret.
2007         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2008         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2009         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2010         (INLINE_SYSCALL): Likewise.
2012         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2013         * include/string.h (__strnlen): Use libc_hidden_proto.
2014         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2015         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2016         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2017         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2018         (libc_hidden_def): Undefine and redefine.
2019         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2020         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2021         __GI_strnlen.
2022         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2023         libc_hidden_def.
2024         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2026         [BZ #18469]
2027         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2028         weak alias of __towlower.  Use libc_hidden_weak.
2029         (towupper): Rename to __towupper and define as weak alias of
2030         __towupper.  Use libc_hidden_weak.
2031         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2032         (__towupper): Likewise.
2033         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2034         __towlower instead of towlower.
2036 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2038         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2039         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2041 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2043         * sysdeps/aarch64/libm-test-ulps: Update.
2045 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2047         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2048         Define.
2049         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2051         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2052         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2053         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2054         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2055         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2057 2015-06-01  Martin Sebor  <msebor@redhat.com>
2059         [BZ #18116]
2060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2061         (__setcontext): Use extended four-operand version of mtsf whenever
2062         possible.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2064         (__novec_swapcontext): Likewise.
2066 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2068         * benchtests/scripts/compare_bench.py: New file.
2069         * benchtests/scripts/import_bench.py (mean): New function.
2070         (split_list): Likewise.
2071         (do_for_all_timings): Likewise.
2072         (compress_timings): Likewise.
2074         * benchtests/scripts/import_bench.py: New file.
2075         * benchtests/scripts/validate_benchout.py: Import import_bench
2076         instead of jsonschema.
2077         (validate_bench): Remove function.
2078         (main): Use import_bench.
2080 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2082         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2083         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2085 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2089 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2091         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2092         set THREAD_SELF->tid to a magic value and futex-wake it.
2093         Pass its address to the thread_exit system call.
2094         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2095         bit is clear.
2096         * sysdeps/nacl/lowlevellock.h: New file.
2097         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2099         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2100         Add TIMEOUT to current time, don't subtract it.
2102 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2104         [BZ #18422]
2105         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2106         ($(objpfx)tst-audit2.out): Also depend on
2107         $(objpfx)tst-auditmod9b.so.
2108         * elf/tst-audit2.c: Include <dlfcn.h>.
2109         (calloc_called): New.
2110         (calloc): Allow to be called more than once.
2111         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2113 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2115         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2116         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2118 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2120         * stdlib/monetary.h: Fix comment.
2122 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2124         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2125         Avoid using variables in #defines that might cause shadowing.
2126         (INTERNAL_VSYSCALL_CALL): Likewise.
2128 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2130         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2132         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2133         * nptl/lll_timedlock_wait.c: ... to this new file.
2134         * nptl/Makefile (libpthread-routines): Add it.
2135         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2136         * nptl/lll_timedwait_tid.c: ... to this new file.
2137         * nptl/Makefile (libpthread-routines): Add it.
2138         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2139         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2140         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2141         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2142         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2143         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2144         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2145         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2146         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2147         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2149 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2151         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2152         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2153         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2155         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2157         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2159         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2160         * sysdeps/unix/sysv/linux/tile/sysdep.h
2161         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2162         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2163         using vDSO syscall macro.
2165 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2167         [BZ #17293]
2168         * uk_UA: Fix sorting order for Ukrainian locale
2170 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2172         * stdlib/monetary.h: Fix comment.
2174 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2176         [BZ #18234]
2177         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2178         st_mtim and st_ctim members.
2179         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2180         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2181         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2182         (struct stat64): Likewise.
2183         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2184         (struct stat64): Likewise.
2185         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2186         (struct stat64): Likewise.
2188 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2190         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2191         Define and include sysdep-vdso.h.
2192         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2193         Likewise.
2194         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2195         Likewise.
2196         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2197         Define with VDSO_SYMBOL and use PTR_MANGLE.
2198         (__vdso_clock_gettime): Likewise.
2199         (__vdso_clock_getres): Likewise.
2200         (_libc_vdso_platform_setup): Likewise.
2201         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2202         Likewise.
2203         (_libc_vdso_platform_setup): Likewise.
2204         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2205         Likewise.
2206         (__vdso_clock_gettime): Likewise.
2207         (__vdso_clock_getres): Likewise.
2208         (__vdso_get_tbfreq): Likewise.
2209         (__vdso_getcpu): Likewise.
2210         (__vdso_time): Likewise.
2211         (__vdso_sigtramp_rt64): Likewise.
2212         (__vdso_signtramp32): Likewise.
2213         (__vdso_sigtramp_rt32): Likewise.
2214         (_libc_vdso_platform_setup): Likewise.
2215         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2216         Likewise.
2217         (__vdso_clock_gettime): Likewise.
2218         (__vdso_clock_getres): Likewise.
2219         (_libc_vdso_platform_setup): Likewise.
2220         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2221         Likewise.
2222         (__vdso_clock_gettime): Likewise.
2223         (_libc_vdso_platform_setup): Likewise.
2224         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2225         Likewise.
2226         (__vdso_getcpu): Likewise.
2227         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2228         Use VDSO_SYMBOL macro to define.
2229         (__vdso_clock_gettime): Likewise.
2230         (__vdso_clock_getres): Likewise.
2231         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2232         Likewise.
2233         (__vdso_clock_gettime): Likewise.
2234         (__vdso_clock_getres): Likewise.
2235         (__vdso_get_tbfreq): Likewise.
2236         (__vdso_getcpu): Likewise.
2237         (__vdso_time): Likewise.
2238         (__vdso_sigtramp_rt64): Likewise.
2239         (__vdso_signtramp32): Likewise.
2240         (__vdso_sigtramp_rt32): Likewise.
2241         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2242         Likewise.
2243         (__vdso_clock_gettime): Likewise.
2244         (__vdso_clock_getres): Likewise.
2245         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2246         Likewise.
2247         (__vdso_clock_gettime): Likewise.
2248         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2249         Likewise.
2250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2251         macro.
2252         (INTERNAL_VSYSCALL): Likewise.
2253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2254         Remove macro.
2255         (INTERNAL_VSYSCALL): Likewise.
2256         (INTERNAL_VSYSCALL_NCS): Likewise.
2257         (INTERNAL_VSYSCALL_CALL): New macro.
2258         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2260         Likewise.
2261         (INTERNAL_VSYSCALL): Likewise.
2262         (INTERNAL_VSYSCALL_NCS): Likewise.
2263         (INTERNAL_VSYSCALL_CALL): New macro.
2264         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2266         (INLINE_VSYSCALL): Remove macro.
2267         (INTERNAL_VSYSCALL): Remove macro.
2268         (INTERNAL_VSYSCALL_NCS): Remove macro.
2269         (INTERNAL_VSYSCALL_CALL): New macro.
2270         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2271         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2272         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2273         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2274         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2276         (INLINE_VSYSCALL): Remove macro.
2277         (INTERNAL_VSYSCALL): Likewise.
2278         (INTERNAL_VSYSCALL_NCS): Likewise.
2279         (INTERNAL_VSYSCALL_CALL): New macro.
2280         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2281         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2282         PTR_DEMANGLE on vDSO pointer.
2283         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2284         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2285         macro.
2286         (INTERNAL_SYSCALL): Likewise.
2287         (INTERNAL_VSYSCALL_NCS): Remove macro.
2288         (INTERNAL_VSYSCALL_CALL): New macro.
2289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2290         Remove macro.
2291         (INTERNAL_VSYSCALL): Likewise.
2292         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2293         sysdep-vdso.h instead of libc-vdso.h.
2294         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2295         definition.
2296         (INLINE_VSYSCALL): Likewise.
2297         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2298         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2299         definition.
2300         (INLINE_VSYSCALL): Likewise.
2301         (INTERNAL_VSYSCALL): Likewise.
2302         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2303         * sysdeps/unix/sysv/linux/timespec_get.c
2304         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2305         (timespec_get): Use ANSI prototype.
2306         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2307         and definition for Linux.
2309 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2311         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2312         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2314 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2316         [BZ #18410]
2317         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2318         for missing DT_PLTRELSZ.
2320 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2322         Remove obsolete aliases that broke 'locale -a'
2323         [BZ #18412]
2324         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2325         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2326         breaking some applications that use 'locale -a' output.
2327         Change the encoding of this file from Latin-1 to ASCII to avoid
2328         other potential problems with people grepping this file.
2330 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2332         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2333         -fasynchronous-unwind-tables.
2334         (CFLAGS-sendto.c): Likewise.
2335         (CFLAGS-sendmsg.c): Likewise.
2336         (CFLAGS-connect.c): Likewise.
2337         (CFLAGS-recvmsg.c): Likewise.
2338         (CFLAGS-recvfrom.c): Likewise.
2339         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2340         (SOCKETCALL): New macro: non-cancellable socketcall.
2341         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2342         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2343         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2344         * sysdeps/unix/sysv/linux/accept.c: New file.
2345         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2346         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2347         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2348         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2349         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2350         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2351         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2352         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2353         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2354         * sysdeps/unix/sysv/linux/send.c: Likewise.
2355         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2356         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2357         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2358         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2359         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2360         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2361         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2362         prototype.
2363         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2364         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2365         instead of __internal_xxx function.
2366         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2367         prototype.
2368         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2369         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2370         instead of __internal_xxx function.
2371         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2372         prototype.
2373         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2374         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2375         instead of __internal_xxx function.
2376         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2377         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2378         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2379         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2380         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2381         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2382         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2383         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2384         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2385         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2386         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2387         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2388         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2389         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2390         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2391         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2392         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2393         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2394         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2395         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2398         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2399         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2400         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2401         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2402         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2403         * sysdeps/unix/sysv/linux/send.S: Likewise.
2404         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2405         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2406         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2407         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2408         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2409         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2410         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2411         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2412         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2413         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2414         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2415         socketcall is implemented in GLIBC.
2417 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2419         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2420         (__fma): Ignore uninitialized warnings around packing.
2421         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2422         (__fmaf): Ignore uninitialized warnings around packing.
2423         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2424         (__fmal): Ignore uninitialized warnings around packing.
2426         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2427         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2429         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2431         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2432         switch statement into default case.
2433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2435         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2436         a conditional in forcing "inexact".
2437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2438         Likewise.
2440 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2442         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2443         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2444         for each INTERNAL_SYSCALL use.
2446 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2448         [BZ #438]
2449         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2450         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2451         variable.
2453         [BZ #18444]
2454         * string/basename.c (basename): Rename to __basename and define as
2455         weak alias of __basename.  Use libc_hidden_weak.
2456         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2457         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2458         __basename instead of basename.
2459         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2460         Remove variable.
2461         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2463 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2465         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2466         (_IO_JUMPS_FILE_plus): New.
2467         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2468         _IO_CAST_FIELD_ACCESS.
2469         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2470         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2471         * libio/freopen.c (freopen): Likewise.
2472         * libio/freopen64.c (freopen64): Likewise.
2473         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2474         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2475         * libio/iofwide.c (_IO_fwide): Likewise.
2476         * libio/memstream.c (open_memstream): Likewise.
2477         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2478         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2479         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2481 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2483         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2484         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2485         NADJ.
2486         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2487         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2488         NADJ.
2489         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2490         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2491         NADJ.
2493         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2494         (p == 4) case.
2496         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2497         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2498         Remove variable.
2499         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2500         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2501         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2503 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2505         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2506         Adjust jump table label generation macros.
2508 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2510         * stdio-common/vfprintf.c (vfprintf): Move local variables
2511         args_malloced, specs, specs_malloced, and the code after
2512         do_positional to the printf_positional function.
2513         (printf_positional): New function.
2515 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2517         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2518         function.
2519         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2520         STEP4_TABLE, process_arg): Move macro definitions
2521         out of the vfprintf function.  (Cosmetic change only.)
2523 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2525         * benchtests/Makefile (stdio-common-bench): Define.
2526         (benchset): Add stdio-common-bench.
2527         * sprintf-inputs: New file.
2528         * sprintf-source.c: New file.
2530 2015-05-21  Andreas Schwab  <schwab@suse.de>
2532         [BZ #13028]
2533         [BZ #17053]
2534         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2535         of struct __res_state.
2536         * resolv/res_send.c (__libc_res_nsend): Likewise.
2537         (get_nsaddr): New function.
2538         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2539         statp directly.
2541 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2543         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2544         -D_POSIX_C_SOURCE=199506L.
2546         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2548         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2549         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2550         Do not mention otherwise.
2551         [POSIX] (_XOPEN_VERSION): Do not expect.
2552         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2553         [POSIX] (_POSIX2_C_BIND): Likewise.
2554         [POSIX] (_POSIX2_VERSION): Likewise.
2555         [POSIX] (_XOPEN_XPG2): Likewise.
2556         [POSIX] (_XOPEN_XPG3): Likewise.
2557         [POSIX] (_XOPEN_XPG4): Likewise.
2558         [POSIX] (_XOPEN_UNIX): Likewise.
2559         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2560         [POSIX] (_POSIX_BARRIERS): Likewise.
2561         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2562         [POSIX] (_POSIX_CPUTIME): Likewise.
2563         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2564         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2565         [POSIX] (_POSIX_SHELL): Likewise.
2566         [POSIX] (_POSIX_SPAWN): Likewise.
2567         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2568         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2569         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2570         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2571         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2572         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2573         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2574         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2575         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2576         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2577         [POSIX] (_POSIX2_PBS): Likewise.
2578         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2579         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2580         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2581         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2582         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2583         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2584         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2585         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2586         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2587         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2588         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2589         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2590         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2591         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2592         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2593         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2594         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2595         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2596         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2597         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2598         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2599         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2600         [POSIX] (_SC_2_C_BIND): Likewise.
2601         [POSIX] (_SC_2_C_VERSION): Likewise.
2602         [POSIX] (_SC_2_PBS): Likewise.
2603         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2604         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2605         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2606         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2607         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2608         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2609         [POSIX] (_SC_BARRIERS): Likewise.
2610         [POSIX] (_SC_BASE): Likewise.
2611         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2612         [POSIX] (_SC_DEVICE_IO): Likewise.
2613         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2614         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2615         [POSIX] (_SC_FD_MGMT): Likewise.
2616         [POSIX] (_SC_FIFO): Likewise.
2617         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2618         [POSIX] (_SC_FILE_LOCKING): Likewise.
2619         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2620         [POSIX] (_SC_IOV_MAX): Likewise.
2621         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2622         [POSIX] (_SC_NETWORKING): Likewise.
2623         [POSIX] (_SC_PAGE_SIZE): Likewise.
2624         [POSIX] (_SC_PASS_MAX): Likewise.
2625         [POSIX] (_SC_PIPE): Likewise.
2626         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2627         [POSIX] (_SC_REGEXP): Likewise.
2628         [POSIX] (_SC_SHELL): Likewise.
2629         [POSIX] (_SC_SIGNALS): Likewise.
2630         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2631         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2632         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2633         [POSIX] (_SC_USER_GROUPS): Likewise.
2634         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2635         [POSIX] (_SC_STREAMS): Likewise.
2636         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2637         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2638         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2639         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2640         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2641         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2642         [POSIX] (_PC_FILESIZEBITS): Likewise.
2643         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2644         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2645         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2646         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2647         [POSIX] (uid_t): Likewise.
2648         [POSIX] (gid_t): Likewise.
2649         [POSIX] (off_t): Likewise.
2650         [POSIX] (pid_t): Likewise.
2651         [POSIX] (cuserid): Allow.
2652         (_SC_2_CHAR_TERM): Require constant.
2653         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2654         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2655         variable.
2657 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2659         * sysdeps/nacl/pthread-pids.h: New file.
2660         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2661         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2663         * nptl/pthread-pids.h: New file.
2664         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2665         * nptl/nptl-init.c: Include <pthread-pids.h>.
2666         (__pthread_initialize_minimal_internal):
2667         Call __pthread_initialize_pids instead of set_tid_address syscall.
2669         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2670         * sysdeps/posix/usleep.c: ... here.
2672 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2674         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2675         call_pselect6 object.
2676         [$(subdir) = io]: Remove call_sync_file_range object.
2677         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2678         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2679         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2680         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2682 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2684         * math/s_cproj.c: Add include "math_private.h".
2685         * math/s_cprojf.c: Likewise.
2686         * math/s_cprojl.c: Likewise.
2688 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2690         [BZ #18244]
2691         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2692         high mantissa bit when testing whether P is a NaN.
2693         * math/libm-test.inc (remainder_test_data): Add more tests.
2694         (remquo_test_data): Likewise.
2696         [BZ #18049]
2697         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2698         below -32, return the argument, with underflow if subnormal.
2699         * math/auto-libm-test-in: Add more tests of atanh.
2700         * math/auto-libm-test-out: Regenerated.
2702 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2704         [BZ #18434]
2705         * nptl/tst-sem15.c: New file.
2706         * nptl/Makefile (tests): Add it.
2707         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2708         s/<</>>/ to fix typo in EOVERFLOW check.
2709         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2711 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2713         * manual/strings.texi (envz_remove): Fix typo in safety
2714         annotations.
2716 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2717             Steve Ellcey  <sellcey@imgtec.com>
2719         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2720         in order to avoid strict alias warnings.
2721         (iruserok_af): Ditto for ra.
2723 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2725         [BZ #17581]
2726         * malloc/hooks.c
2727         (magicbyte): Convert to a function and avoid returning 0x01.
2728         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2729         (mem2chunk_check): Fix unsigned comparisons to zero.
2730         Hoist defs of sz and magic.
2732 2015-05-19  Richard Henderson  <rth@redhat.com>
2734         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2738 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2740         [BZ #16159]
2741         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2742         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2743         (reused_arena): Find a non-corrupt arena.
2744         (heap_trim): Pass arena to unlink.
2745         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2746         malloc_printerr.
2747         (top_check): Likewise.
2748         (free_check): Likewise.
2749         (realloc_check): Likewise.
2750         * malloc/malloc.c (malloc_printerr): Add arena argument.
2751         (unlink): Likewise.
2752         (munmap_chunk): Adjust.
2753         (ARENA_CORRUPTION_BIT): New macro.
2754         (arena_is_corrupt): Likewise.
2755         (set_arena_corrupt): Likewise.
2756         (sysmalloc): Use mmap if there are no usable arenas.
2757         (_int_malloc): Likewise.
2758         (__libc_malloc): Don't fail if arena_get returns NULL.
2759         (_mid_memalign): Likewise.
2760         (__libc_calloc): Likewise.
2761         (__libc_realloc): Adjust for additional argument to
2762         malloc_printerr.
2763         (_int_free): Likewise.
2764         (malloc_consolidate): Likewise.
2765         (_int_realloc): Likewise.
2766         (_int_memalign): Don't touch corrupt arenas.
2767         * malloc/tst-malloc-backtrace.c: New test case.
2769         * Makefile (summarize-tests): Fix return value on success.
2771         * manual/string.texi (Envz Functions): Add envz_remove.
2773 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2775         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2776         (invalid_name): New function, broken out of ...
2777         (__opendirat): ... here.  Call it.
2778         (need_isdir_precheck): New function, broken out of ...
2779         (__opendirat): ... here.  Call it.
2780         Use __fxstatat64, not __xstatat64.
2781         (opendir_oflags): New function, broken out of ...
2782         (__opendirat): ... here.  Call it.
2783         (opendir_tail): New function, broken out of ...
2784         (__opendirat): ... here.  Call it.
2785         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2786         opendir_tail, rather than punting to __opendirat.
2787         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2789 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2791         * .gitignore: Ignore generated *.pyc.
2793 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2795         * include/stdio.h: Define __need_wint_t.
2796         * test-skeleton.c: Avoid `for' loop initial declaration.
2797         * nptl/tst-initializers1.c: Use test-skeleton.c.
2799 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2801         [BZ #18418]
2802         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2804 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2806         [BZ #16352]
2807         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2808         (__ieee754_atanh): Force underflow exception for results with
2809         small absolute value.
2810         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2811         (__ieee754_atanhf): Force underflow exception for results with
2812         small absolute value.
2813         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2814         (__ieee754_atanh): Force underflow exception for results with
2815         small absolute value.
2816         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2817         (__ieee754_atanhf): Force underflow exception for results with
2818         small absolute value.
2819         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2820         (__ieee754_atanhl): Force underflow exception for results with
2821         small absolute value.
2822         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2823         (__ieee754_atanhl): Force underflow exception for results with
2824         small absolute value.
2825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2826         (__ieee754_atanhl): Force underflow exception for results with
2827         small absolute value.
2828         * math/auto-libm-test-in: Do not allow missing underflow
2829         exceptions from atanh.
2830         * math/auto-libm-test-out: Regenerated.
2832         [BZ #18221]
2833         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2834         2**-28 as threshold for returning x or +/- 1/x.
2835         * math/auto-libm-test-in: Add more tests of tan.
2836         * math/auto-libm-test-out: Regenerated.
2838         [BZ #18220]
2839         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2840         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2841         * math/auto-libm-test-in: Add another test of lgamma.
2842         * math/auto-libm-test-out: Regenerated.
2844 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2846         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2847         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2848         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2849         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2850         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2851         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2852         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2853         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2855         (log1): Use fabs.  (my_log2): Use fabs.
2856         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2857         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2858         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2859         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2861         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2862         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2863         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2864         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2865         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2866         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2868 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2870         [BZ #18217]
2871         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2872         as threshold for returning 1 - x.
2873         * math/auto-libm-test-in: Add more tests of erfc.
2874         * math/auto-libm-test-out: Regenerated.
2876 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2878         [BZ #18196]
2879         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2880         threshold for large arguments.
2881         * math/auto-libm-test-in: Add another test of atan.
2882         * math/auto-libm-test-out: Regenerated.
2884         [BZ #16339]
2885         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2886         (__log1p): Force underflow exception for results with small
2887         absolute value.
2888         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2889         (__log1pf): Force underflow exception for results with small
2890         absolute value.
2891         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2892         (__log1p): Force underflow exception for results with small
2893         absolute value.
2894         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2895         (__log1pf): Force underflow exception for results with small
2896         absolute value.
2897         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2898         (__log1pl): Force underflow exception for results with small
2899         absolute value.
2900         * math/auto-libm-test-in: Do not allow missing underflow
2901         exceptions from log1p.
2902         * math/auto-libm-test-out: Regenerated.
2904 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2905             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2907         [BZ #16704]
2908         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2910 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2912         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2913         (libmvec): New variable.
2914         * configure.ac: Added option for mathvec build.
2915         * configure: Regenerated.
2916         * mathvec/Depend: New file.
2917         * mathvec/Makefile: New file.
2918         * shlib-versions: Added libmvec.
2919         * math/Makefile: Added rule for libm.so installation.
2921         * bits/math-vector.h: New file.
2922         * bits/libm-simd-decl-stubs.h: New header.
2923         * math/Makefile (headers): Added new header
2924         libm-simd-decl-stubs.h.
2925         * math/math.h (__MATHCALL_VEC): New macro.
2927         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2928         for conditions in testing functions.
2929         * math/Makefile: Added call of libm-have-vector-test.sh.
2930         * math/libm-test.inc (HAVE_VECTOR): New macros.
2932         * math/libm-test.inc: START refactored.
2933         * math/test-double.c (TEST_MATHVEC): Add define.
2934         * math/test-float.c: Likewise.
2935         * math/test-idouble.c: Likewise.
2936         * math/test-ifloat.c: Likewise.
2937         * math/test-ildoubl.c: Likewise.
2938         * math/test-ldouble.c: Likewise.
2939         * sysdeps/generic/math-tests-arch.h
2940         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2941         architecture check.
2943         * math/test-double.c (FUNC_TEST): New macro.
2944         * math/test-float.c: Likewise.
2945         * math/test-idouble.c: Likewise.
2946         * math/test-ifloat.c: Likewise.
2947         * math/test-ildoubl.c: Likewise.
2948         * math/test-ldouble.c: Likewise.
2949         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2951 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2953         * sysdeps/nacl/fdopendir.c: New file.
2955         * dirent/scandir-tail.c: New file.
2956         * dirent/scandir64-tail.c: New file.
2957         * dirent/Makefile (routines): Add them.
2958         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2959         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2960         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2961         [!SCANDIR] (SCANDIR_TAIL): New macro.
2962         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2963         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2964         (SCANDIRAT): Macro removed.
2965         (SCANDIR_TAIL): New macro.
2966         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2967         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2968         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2969         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2970         (READDIR): Macro removed.
2971         (SCANDIR_TAIL): New macro.
2972         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2973         (SCANDIR_TAIL): New macro.
2975         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2976         * dirent/scandir-cancel.c: ... to this new file.
2977         * dirent/Makefile (routines): Add it.
2978         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2979         * sysdeps/unix/sysv/linux/i386/scandir64.c
2980         (SKIP_SCANDIR_CANCEL): Macro removed.
2981         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2983         * dirent/tst-scandir.c: New file.
2984         * dirent/tst-scandir64.c: New file.
2985         * dirent/Makefile (tests): Add them.
2987 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2989         [BZ #18409]
2990         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2992 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2994         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2995         list.
2997 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2999         * benchtests/bench-strcoll.c: New benchmark.
3000         * benchtests/Makefile: Generate locales and run benchmark.
3001         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3002         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3003         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3004         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3005         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3006         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3007         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3008         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3009         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3010         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3011         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3012         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3013         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3014         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3015         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3016         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3017         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3018         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3019         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3020         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3021         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3022         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3023         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3024         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3026 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3028         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3029         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3031 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3033         * posix/uname-values.h: New file.
3034         * posix/uname.c: Include that instead of <config-name.h>.
3035         * sysdeps/nacl/uname-values.h: New file.
3036         * sysdeps/arm/nacl/uname-values.h: New file.
3038 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3040         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3041         splitting into fields.
3043 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3045         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3046         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3047         * locale/localeinfo.h: Add enum collation_encoding_type.
3048         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3049         * programs/ld-collate.c (collate_output): Add encoding type info.
3050         * string/strcoll_l.c (STRDIFF): New function.
3051         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3052         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3054 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3056         [BZ #18397]
3057         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3058         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3059         <fpu_control.h> instead of <math/fpu_control.c>.
3060         * sysdeps/mips/mips32/fpu/Makefile: New file.
3062 2015-05-11  Andreas Schwab  <schwab@suse.de>
3064         [BZ #18007]
3065         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3066         nss_endgrent.
3067         (_nss_compat_endgrent): Call nss_endgrent.
3068         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3069         nss_endpwent.
3070         (_nss_compat_endpwent): Call nss_endpwent.
3071         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3072         needent, call nss_setspent only if non-zero.
3073         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3074         (internal_endspent): Don't call nss_endspent.
3075         (_nss_compat_endspent): Call nss_endspent.
3076         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3077         Remove.  All uses removed.
3078         (internal_setent): Remove parameter stayopen, add parameter
3079         stream.  Use it instead of global variable.
3080         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3081         (internal_endent, internal_getent): Add parameter stream.  Use it
3082         instead of global variable.
3083         (CONCAT(_nss_files_end,ENTNAME))
3084         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3085         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3086         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3087         uses removed.
3088         (internal_setent, internal_endent): Add parameter stream.  Use it
3089         instead of global variable.
3090         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3091         stream.
3092         (get_next_alias): Add parameter stream.
3093         (_nss_files_getaliasent_r): Pass global stream.
3094         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3095         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3096         (_nss_files_gethostbyname4_r): Pass local stream to
3097         internal_setent, internal_getent and internal_endent.  Remove
3098         locking.
3100 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3102         * tst-strfmon1.c (tests): Update expected currency symbol.
3104 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3106         * sysdeps/nacl/gethostname.c: New file.
3108 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3110         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3111         and sinh.
3112         * math/auto-libm-test-out: Regenerated.
3113         * sysdeps/i386/fpu/libm-test-ulps: Update.
3114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3116 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3118         [BZ #18125]
3119         * stdlib/tst-setcontext3.c: New file.
3120         * stdlib/tst-setcontext3.sh: New file.
3121         * stdlib/Makefile (tests): Add tst-setcontext3.
3122         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3123         to verify test program created output file.
3124         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3125         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3126         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3127         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3129 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3131         [BZ #18383]
3132         * elf/tst-tlsalign.c: New file.
3133         * elf/tst-tlsalign-static.c: New file.
3134         * elf/tst-tlsalign-lib.c: New file.
3135         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3136         (tests-static): Add tst-tlsalign-static.
3137         (modules-names): Add tst-tlsalign-lib.
3138         (test-xfail-tst-tlsalign): New variable.
3139         (test-xfail-tst-tlsalign-static): New variable.
3141         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3142         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3144 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3146         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3147         csqrt, erfc, sin and sincos.
3148         * math/auto-libm-test-out: Regenerated.
3149         * sysdeps/i386/fpu/libm-test-ulps: Update.
3150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3152 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3154         * sysdeps/aarch64/libm-test-ulps: Update.
3156 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3158         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3159         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3160         * math/auto-libm-test-out: Regenerated.
3161         * sysdeps/i386/fpu/libm-test-ulps: Update.
3162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3164 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3166         [BZ #18265]
3167         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3168         (wcsncpy): Likewise.
3170 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3172         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3173         Assume __ASSUME_FALLOCATE is always true.
3174         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3175         (__posix_fallocate64_l64): Likweise.
3176         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3177         (posix_fallocate): Likewise.
3178         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3179         (__posix_fallocate64_l64): Likewise.
3180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3181         [!__ASSUME_FALLOCATE]: Add comment.
3183 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3185         * sysdeps/unix/sysv/linux/i386/Makefile
3186         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3187         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3188         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3189         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3190         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3191         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3192         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3194 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3196         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3197         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3198         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3205         * math/auto-libm-test-in: Add more tests of tgamma.
3206         * math/auto-libm-test-out: Regenerated.
3207         * sysdeps/i386/fpu/libm-test-ulps: Update.
3208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3210         * math/auto-libm-test-in: Add more tests of tanh.
3211         * math/auto-libm-test-out: Regenerated.
3212         * sysdeps/i386/fpu/libm-test-ulps: Update.
3213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3215         * math/auto-libm-test-in: Add more tests of tan.
3216         * math/auto-libm-test-out: Regenerated.
3217         * sysdeps/i386/fpu/libm-test-ulps: Update.
3218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3221         * math/auto-libm-test-out: Regenerated.
3222         * sysdeps/i386/fpu/libm-test-ulps: Update.
3223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3225         * math/auto-libm-test-in: Add another test of pow.
3226         * math/auto-libm-test-out: Regenerated.
3227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3229         * math/auto-libm-test-in: Add more tests of lgamma.
3230         * math/auto-libm-test-out: Regenerated.
3231         * sysdeps/i386/fpu/libm-test-ulps: Update.
3232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3234         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3235         log1p.
3236         * math/auto-libm-test-out: Regenerated.
3237         * sysdeps/i386/fpu/libm-test-ulps: Update.
3238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3240 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3242         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3243         Elf64_Chdr structs and ELFCOMPRESS constants.
3245 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3247         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3248         expm1.
3249         * math/auto-libm-test-out: Regenerated.
3250         * sysdeps/i386/fpu/libm-test-ulps: Update.
3251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3253         * math/auto-libm-test-in: Add more tests of erf and erfc.
3254         * math/auto-libm-test-out: Regenerated.
3255         * sysdeps/i386/fpu/libm-test-ulps: Update.
3256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3258 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3260         * config.h.in (HAVE_AARCH64_BE): Add.
3262 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3264         * math/auto-libm-test-in: Add more tests of csqrt.
3265         * math/auto-libm-test-out: Regenerated.
3266         * sysdeps/i386/fpu/libm-test-ulps: Update.
3267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3270         * math/auto-libm-test-out: Regenerated.
3271         * sysdeps/i386/fpu/libm-test-ulps: Update.
3272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3274         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3276 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3278         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3279         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3281         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3282         (euidaccess, eaccess): Define as weak aliases.
3284         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3285         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3286         but __suseconds_t is often 'long int' so some sources assume that
3287         type is being used (e.g. they use %ld to print tv_usec).
3289 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3291         [BZ #18007]
3292         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3293         (CVE-2014-8121)
3294         * nss/tst-nss-getpwent.c: New file.
3295         * nss/Makefile (tests): Add new test.
3297 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3299         [BZ #18346]
3300         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3301         exponents less than 48 as cases where high part of mantissa needs
3302         examining to determine whether argument is integral.
3303         * math/libm-test.inc (round_test_data): Add more tests.
3305 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3307         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3309 2015-04-27  David S. Miller  <davem@davemloft.net>
3311         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3312         __tls_get_addr.
3313         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3315 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3317         [BZ#18333]
3318         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3320 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3322         [BZ#18333]
3323         * time/tzset.c (parse_tzname): Return error on memory allocation
3324         failure.
3325         * test-skeleton.c (struct temp_name_list): Change type of name
3326         member to non-const.
3327         (add_temp_file): Create a copy of the file name.
3328         (delete_temp_files): Deallocate memory.
3329         (create_temp_file): Add comment.
3331 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3333         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3334         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3336 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3338         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3339         * sysdeps/arm/configure: Regenerated.
3341 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3343         [BZ #17715]
3344         * time/tzfile.c (__tzfile_read): Check for large values of
3345         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3346         * time/tzset.c (__tzstring_len): New function, based on the old
3347         __tzstring function.
3348         (__tzstring): Call __tzstring_len.
3349         (parse_tzname): New helper function extracted from
3350         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3351         the input string.
3352         (parse_offset): New helper function extracted from
3353         __tzset_parse_tz.  Replace switch with fallthrough with
3354         initialization before sscanf.
3355         (parse_rule): Likewise.
3356         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3357         new-style function definition.
3358         * timezone/Makefile (tests): Add tst-tzset.
3359         (tst-tzset.out): Dependencies on time zone files.
3360         (tst-tzset-ENV): Set TZDIR.
3361         (testdata/XT%): Copy crafted time zone files.
3362         * timezone/README: Mention crafted time zone files.
3363         * timezone/testdata/XT1, timezone/testdata/XT2,
3364         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3365         files.
3366         * timezone/tst-tzset.c: New test.
3368 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3370         * Makeconfig (+gccwarn): Remove -Winline.
3372 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3374         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3376 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3378         * NEWS: Mention sysconf() cache information support for s390.
3379         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3381 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3383         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3384         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3385         (__nearbyint): Likewise.
3386         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3387         (copysignl): Likewise.
3389 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3391         [BZ #18287]
3392         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3393         based on padding.  (CVE-2015-1781)
3395 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3397         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3398         libc-vdso.h.
3399         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3400         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3401         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3402         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3403         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3404         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3405         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3406         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3407         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3408         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3409         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3410         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3411         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3412         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3413         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3414         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3415         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3417         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3418         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3419         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3420         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3421         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3423 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3425         * stdlib/setenv.c (__add_to_environ):
3426         Dump core quickly if setenv (..., NULL, ...) is called.
3427         This time, do it the right way, and pacify GCC with a pragma.
3429 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3431         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3432         IMAP->l_prev cannot be null, and #if out the code for the contrary
3433         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3434         believe that NS (&_dl_ns[NSID]) could point outside the array.
3436         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3437         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3438         before using NSID as an index.
3440 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3442         [BZ #17825]
3443         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3444         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3445         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3447 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3449         Add preliminary port to Google Native Client on ARM.
3450         * abi-tags (.*-.*-nacl.*): New entry.
3451         * sysdeps/arm/nacl: New directory.
3452         * sysdeps/nacl: New directory.
3454 2015-04-16  David S. Miller  <davem@davemloft.net>
3456         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3457         lowlevellock-futex.h
3459 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3461         * sysdeps/tile/configure.ac: New file.
3462         * sysdeps/tile/configure: Regenerated.
3464 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3466         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3467         conditionals for weak_alias and libc_hidden_weak.
3468         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3469         libc_hidden_weak and weak_alias.
3470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3471         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3472         and weak_alias for static one.
3474 2015-04-15  David S. Miller  <davem@davemloft.net>
3476         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3478 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3480         [BZ #18206]
3481         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3482           Use signed comparision instead of substraction to avoid
3483           overflow bug.
3484         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3485           Take the sign of ret.
3486         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3487           Do not expect precise return values. Only the sign matters.
3488         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3489         * wcsmbs/test-wcsncmp.c: New File.
3490         * string/test-strncmp.c: Add wcsncmp support.
3492 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3494         [BZ #6792]
3495         * math/w_log1p.c: New file.
3496         * math/w_log1pf.c: Likewise.
3497         * math/w_log1pl.c: Likewise.
3498         * math/Makefile (libm-calls): Add w_log1p.
3499         * math/s_log1pl.c (log1pl): Remove weak_alias.
3500         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3501         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3502         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3503         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3504         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3505         [NO_LONG_DOUBLE] (log1pl): Likewise.
3506         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3507         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3508         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3509         (log1p): Remove long_double_symbol.
3510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3511         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3512         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3513         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3514         remove weak_alias for corresponding log1p function.
3515         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3516         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3517         * sysdeps/ia64/fpu/w_log1p.c: New file.
3518         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3519         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3520         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3522 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3524         [BZ #18247]
3525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3526         decimal exponent by 1.
3527         * stdlib/tst-strtod-round-data: Add more tests.
3528         * stdlib/tst-strtod-round.c (tests): Regenerated.
3530 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3532         * math/auto-libm-test-in: Add more tests of clog and clog10.
3533         * math/auto-libm-test-out: Regenerated.
3534         * sysdeps/i386/fpu/libm-test-ulps: Update.
3535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3537 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3539         * Makeconfig (module-cppflags): Exclude all .v.i files.
3540         (skip-module-cppflags): Variable removed.
3542         * configure.ac (libc_config_ok): Initialize before reading
3543         preconfigure scripts, not after.
3544         * configure: Regenerated.
3546         * test-skeleton.c (TIMEOUT): Move #define to top level.
3547         (main): Grok environment variable TEST_DIRECT.  If set, print
3548         test expectation details into that file and then behave as if
3549         given --direct.
3551 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3553         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3554         warning on 32-bit.
3556 2015-04-08  David S. Miller  <davem@davemloft.net>
3558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3560 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3562         * math/auto-libm-test-in: Add more tests of atanh.
3563         * math/auto-libm-test-out: Regenerated.
3564         * sysdeps/i386/fpu/libm-test-ulps: Update.
3565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3567         * math/auto-libm-test-in: Add more tests of atan.
3568         * math/auto-libm-test-out: Regenerated.
3569         * sysdeps/i386/fpu/libm-test-ulps: Update.
3570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3572 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3574         * elf/pldd.c (main): Rewrite to use struct
3575         scratch_buffer instead of extend_alloca.
3576         * elf/pldd-xx.c (find_maps): Likewise.
3577         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3578         <alloca.h>.
3579         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3580         scratch_buffer instead of extend_alloca.
3581         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3582         grp/compat-initgroups.c.
3583         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3584         Rewrite to use struct scratch_buffer instead of extend_alloca.
3585         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3586         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3588 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3590         * math/auto-libm-test-in: Add more tests of cbrt.
3591         * math/auto-libm-test-out: Regenerated.
3592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3594         * math/auto-libm-test-in: Add more tests of cabs.
3595         * math/auto-libm-test-out: Regenerated.
3596         * sysdeps/i386/fpu/libm-test-ulps: Update.
3597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3599         [BZ #18210]
3600         [BZ #18211]
3601         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3602         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3603         computations.
3604         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3605         clog10.
3606         * math/auto-libm-test-out: Regenerated.
3607         * sysdeps/i386/fpu/libm-test-ulps: Update.
3608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3610         [BZ #18197]
3611         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3612         (atan): Set FE_TONEAREST mode for internal computations.
3613         * math/auto-libm-test-in: Add more tests of atan.
3614         * math/auto-libm-test-out: Regenerated.
3616 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3618         [BZ #17930]
3619         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3621 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3623         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3625 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3627         * include/scratch_buffer.h: New file.
3628         * malloc/scratch_buffer_grow.c: Likewise.
3629         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3630         * malloc/scratch_buffer_set_array_size.c: Likewise.
3631         * malloc/tst-scratch_buffer.c: Likewise.
3632         * malloc/Makefile (routines): Add scratch_buffer_grow.
3633         (tests): Add test case.
3634         * malloc/Versions (GLIBC_PRIVATE): Export
3635         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3636         __libc_scratch_buffer_set_array_size.
3638 2015-04-06  Richard Henderson  <rth@redhat.com>
3640         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3641         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3643         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3644         unsigned int before printing.
3646 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3648         [BZ #17596]
3649         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3650         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3652 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3654         * include/libc-internal.h (libc_max_align_t): Define.
3656 2015-04-02  Andreas Schwab  <schwab@suse.de>
3658         [BZ #16850]
3659         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3661 2015-04-02  Mel Gorman  <mgorman@suse.de>
3663         [BZ #17195]
3664         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3665         as well as the main arena.
3667 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3669         [BZ #18185]
3670         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3671         sharing L2 cache to 2 for Silvermont/Knights Landing.
3673 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3675         [BZ #17711]
3676         * config.make.in (have-protected-data): New.
3677         * configure.ac: Check linker support for protected data symbol.
3678         * configure: Regenerated.
3679         * elf/Makefile (modules-names): Add tst-protected1moda and
3680         tst-protected1modb if $(have-protected-data) is yes.
3681         (tests): Add tst-protected1a and tst-protected1b if
3682         $(have-protected-data) is yes.
3683         ($(objpfx)tst-protected1a): New.
3684         ($(objpfx)tst-protected1b): Likewise.
3685         (tst-protected1modb.so-no-z-defs): Likewise.
3686         * elf/tst-protected1a.c: New file.
3687         * elf/tst-protected1b.c: Likewise.
3688         * elf/tst-protected1mod.h: Likewise.
3689         * elf/tst-protected1moda.c: Likewise.
3690         * elf/tst-protected1modb.c: Likewise.
3692 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3694         [BZ #17711]
3695         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3696         indicates it is called from do_lookup_x on relocation against
3697         protected data, skip the data definion in the executable from
3698         copy reloc.
3699         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3700         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3701         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3702         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3703         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3704         otherwise to 0.
3705         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3706         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3707         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3708         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3709         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3710         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3712 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3714         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3715         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3717 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3719         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3720         THREAD_SETMEM_NC.
3721         * sysdeps/x86_64/nptl/tls.h: Ditto.
3723 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3725         * dlfcn/tststatic.c (main): Converted to ...
3726         (do_test): ... this.
3727         (TEST_FUNCTION): New macro.
3728         Include test-skeleton.c.
3730 2015-03-26  Alan Modra  <amodra@gmail.com>
3732         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3733         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3734         zero for undefined weak.
3735         (elf_machine_plt_conflict): Similarly.
3737 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3739         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3740         atanh.
3741         * math/auto-libm-test-out: Regenerated.
3742         * sysdeps/i386/fpu/libm-test-ulps: Update.
3743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3745         * math/auto-libm-test-in: Add another test of asin.
3746         * math/auto-libm-test-out: Regenerated.
3747         * sysdeps/i386/fpu/libm-test-ulps: Update.
3748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3751         Remove macro.
3752         (LLL_EBX_REG): Likewise.
3753         (LLL_ENTER_KERNEL): Likewise.
3755         * math/auto-libm-test-in: Add more tests of asin.
3756         * math/auto-libm-test-out: Regenerated.
3757         * sysdeps/i386/fpu/libm-test-ulps: Update.
3758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3760         [BZ #18138]
3761         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3762         libc_do_syscall_args): New structure.
3763         (INTERNAL_SYSCALL_MAIN_0): New macro.
3764         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3765         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3766         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3767         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3768         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3769         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3770         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3771         Replace conditional definitions by conditional definitions of ....
3772         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3773         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3774         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3775         (libpthread-sysdep_routines): Add libc-do-syscall.
3776         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3777         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3778         to __NR_futex not 240.
3780 2015-03-25  Alan Modra  <amodra@gmail.com>
3782         * NEWS: Advertise TLS optimization.
3783         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3784         (DT_PPC_NUM): Increment.
3785         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3786         (CHECK_STATIC_TLS): Use here.
3787         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3788         TLS descriptors.
3789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3790         * sysdeps/powerpc/dl-tls.c: New file.
3791         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3792         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3793         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3794         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3799 2015-03-25  Alan Modra  <amodra@gmail.com>
3801         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3802         for overlapping .opd entries" to "support...".
3803         * sysdeps/powerpc/powerpc64/configure: Regenerate
3805 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3807         * math/auto-libm-test-in: Add more tests of acos.
3808         * math/auto-libm-test-out: Regenerated.
3809         * sysdeps/i386/fpu/libm-test-ulps: Update.
3810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812         * math/auto-libm-test-in: Add more tests of expm1.
3813         * math/auto-libm-test-out: Regenerated.
3814         * sysdeps/i386/fpu/libm-test-ulps: Update.
3815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3817 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3819         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3820         * math/auto-libm-test-out: Regenerated.
3821         * sysdeps/i386/fpu/libm-test-ulps: Update.
3822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3824         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827         * math/auto-libm-test-in: Add more tests of log2.
3828         * math/auto-libm-test-out: Regenerated.
3829         * sysdeps/i386/fpu/libm-test-ulps: Update.
3830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3834         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3835         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3836         _IO_IS_APPENDING bit in READ_WRITE instead.
3838 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3840         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3841         (__determine_cpumask_size): Replace extend_alloca with a
3842         variable-length array.  Do not treat res == 0 as an error.
3844 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3846         [BZ #18100]
3847         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3848         and integer overflow.
3849         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3850         (main): Add integer overflow tests.
3851         * manual/pattern.texi (Calling Wordexp): Document additional use
3852         for WRDE_SYNTAX.
3854 2015-03-23  Alan Modra  <amodra@gmail.com>
3856         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3857         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3858         and false branch of conditional.
3859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3860         Likewise.
3862 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3864         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3865         libc-modules.h
3866         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3867         unused declaration of _hurd_intr_rpc_msg_in_trap.
3868         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3869         defined instead of whether it is non-zero.
3870         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3871         input constraint instead of both input and output constraint.  Use ecx
3872         clobber instead of %ecx.
3873         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3874         mutex_unlock): Use a statement expression instead of an expression list.
3875         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3876         type to vm_size_t instead of vm_address_t.
3877         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3878         defined instead of whether it is non-zero.
3879         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3880         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3881         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3882         comparisons with mapaddr.
3883         * nscd/nscd-client.h: Include <time.h>.
3884         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3885         9th parameter to __vm_region instead of int.
3886         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3887         * scripts/check-local-headers.sh (exclude): Add device/,
3888         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3889         cthreads.h.
3891 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3893         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3894         to account for alignment padding.
3895         * sysdeps/arm/memmove.S: Likewise.
3897 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3899         * sysdeps/unix/sysv/linux/generic/README: New file.
3901 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3903         [BZ #18138]
3904         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3905         (futex_abstimed_wait)
3906         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3907         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3908         of lll_futex_timed_wait.
3910 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3912         [BZ #17542]
3913         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3915 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3917         [BZ #17090]
3918         [BZ #17620]
3919         [BZ #17621]
3920         [BZ #17628]
3921         * NEWS: Update.
3922         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3923         entries with Static TLS too.  Skip entries past the end of the
3924         allocated DTV, from Alan Modra.
3925         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3926         Static TLS DTV entry set up from...
3927         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3928         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3929         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3930         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3931         for Static TLS.
3932         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3933         that the slot we find is associated with the given map before
3934         using its generation count.
3935         * nptl_db/db_info.c: Include ldsodefs.h.
3936         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3937         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3938         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3939         (link_map::l_tls_offset): New struct field.
3940         (dtv_t::counter): Likewise.
3941         (rtld_global): New struct.
3942         (_rtld_global): New rtld variable.
3943         (dl_tls_dtv_slotinfo_list): New rtld global field.
3944         (dtv_slotinfo_list): New struct.
3945         (dtv_slotinfo): Likewise.
3946         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3947         (td_lookup): Rename to...
3948         (td_mod_lookup): ... this.  Use new mod parameter instead of
3949         LIBPTHREAD_SO.
3950         * nptl_db/td_thr_tlsbase.c: Include link.h.
3951         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3952         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3953         addresses even if the DTV is out of date or missing them.
3954         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3955         index zero-length arrays.
3956         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3957         (td_lookup): Make it a macro implemented in terms of...
3958         (td_mod_lookup): ... this declaration.
3959         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3960         (DB_MAIN_VARIABLE): Likewise.
3962 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3964         [BZ #18134]
3965         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3967 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3969         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3971 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3973         [BZ #18128]
3974         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3975         (atomic_add, atomic_increment_and_test)
3976         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3978 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3980         * stdlib/setenv.c (__add_to_environ):
3981         Dump core quickly if setenv (..., NULL, ...) is called.
3983 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3985         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3986         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3987         all the necessary asm magic in one place.
3988         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3989         using those.
3991 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3993         [BZ #14906]
3994         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3995         traced file mtime. Use consistent log message.
3996         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3997         (register_traced_file): Call install_watches. Always set mtime.
3998         (invalidate_cache): Iterate over all trace files. Call install_watches.
3999         (inotify_check_files): Don't inline. Handle watching parent
4000         directories and configuration file movement in and out.
4001         (handle_inotify_events): New function.
4002         (main_loop_poll): Call handle_inotify_events.
4003         (main_loop_epoll): Likewise.
4004         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4005         (struct traced_file): Use array of inotify fds. Add parent directory,
4006         and basename.
4007         (struct database_dyn): Remove unused file_mtime.
4008         (init_traced_file): New inline function.
4009         (define_traced_file): New macro.
4010         * nss/nss_db/db-init.c: Use define_traced_file.
4011         (_nss_db_init): Use init_traced_file.
4012         * nss/nss_files/files-init.c: Use define_traced_file.
4013         (_nss_files_init): Use init_traced_file.
4015 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4017         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4018         [_LIBC]: Do not include <stdlib.h>.
4019         [!_LIBC] (abort): Remove declaration.
4020         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4021         _FP_STATIC_ASSERT instead of conditionally calling abort.
4022         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4023         (_FP_EXTEND_CNAN): Likewise.
4024         (FP_TRUNC): Likewise.
4025         (__FP_CLZ): Likewise.
4026         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4028 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4030         * manual/string.texi (XPG basename): Fix prototype.
4032 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4034         [BZ #18080]
4035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4036         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4037         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4038         (__setcontext): Likewise.
4039         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4040         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4041         Call rt_sigprocmask syscall one time to set new signal mask
4042         and retrieve the current signal mask instead of two calls.
4043         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4044         (__swapcontext): Likewise.
4045         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4046         * stdlib/tst-setcontext2.c: New file.
4048 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4050         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4052 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4054         [BZ #18093]
4055         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4056         the wrong size.
4058 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4060         [BZ #18043]
4061         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4063 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4065         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4066         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4067         Remove define.
4068         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4069         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4070         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4071         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4072         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4073         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4074         define.
4075         * nptl_db/td_symbol_list.c (td_lookup): Remove
4076         HAVE_ASM_GLOBAL_DOT_NAME code.
4077         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4078         HAVE_ASM_GLOBAL_DOT_NAME check.
4079         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4080         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4081         (DOT_LABEL): Remove define.
4082         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4083         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4084         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4085         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4086         (__TLS_GET_ADDR): Likewise.
4087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4088         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4090 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4092         [BZ #18111]
4093         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4094         (_FPU_SETCW): Initialize cw from fpsr before storing.
4095         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4096         (fesetexceptflag): Rewrite using fpu_control.h.
4097         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4099 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4101         [BZ #18110]
4102         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4103         asms.
4104         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4106 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4108         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4109         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4110         abort.
4111         (_FP_FMA): Likewise.
4112         (_FP_DIV): Likewise.
4114 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4116         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4117         with 0 in that case.
4118         * Makefile (summarize-tests): New canned sequence, factored out of
4119         commands for targets tests and xtests.  Display summary lines that
4120         don't start with PASS: or XFAIL: rather than ones that do start with
4121         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4122         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4123         do start with ERROR: or FAIL:.
4124         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4125         (except for [$(build-shared) = yes]).
4126         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4127         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4128         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4129         * nptl/Makefile: Revert 2015-03-04 changes.
4130         [$(CXX) empty] (tests-unsupported): New variable.
4131         * debug/Makefile: Likewise.
4133         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4134         gnulib file.  Replace __attribute with __attribute__ throughout.
4136 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4138         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4140 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4142         [BZ #18104]
4143         * math/auto-libm-test-in: Add another test of pow.
4144         * math/auto-libm-test-out: Regenerated.
4146 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4148         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4149         $(config-cflags-nofma).
4151 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4153         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4154         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4155         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4156         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4157         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4158         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4159         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4160         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4161         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4162         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4163         Add comment on closing #endif.
4165 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4167         * posix/wordexp.c (CHAR_IN_SET): New macro.
4168         (parse_param): Use it.
4170 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4172         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4174 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4176         [BZ #18043]
4177         * posix/wordexp.c (parse_param): Fix buffer overflow.
4178         * posix/wordexp-test.c (test_case): Add test case.
4180 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4182         [BZ #18042]
4183         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4184         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4186 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4188         [BZ #18043]
4189         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4190         (do_bz18043): Delete.
4191         (at_page_end): New.
4192         (testit): Refactor to have words at the edge of unreadable page.
4194 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4196         [BZ #16734]
4197         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4198         Cleanup read-only streams as well.
4199         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4201 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4203         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4204         <bits/libc-lockP.h>
4206 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4208         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4209         on [__KERNEL__].
4210         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4211         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4212         * soft-fp/op-common.h (_FP_DECL): Likewise.
4214 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4216         * elf/ifuncdep2.c (global): Replace
4217         __attribute__((visibility("protected"))) with
4218         asm (".protected global").
4219         * elf/ifuncmod1.c (global): Likewise.
4220         * elf/ifuncmod5.c (global): Likewise.
4222 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4224         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4225         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4227 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4229         * manual/install.texi (Configuring and compiling):
4230         Document test-wrapper-env-only.
4231         * INSTALL: Regenerated.
4233 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4235         [BZ #18043]
4236         * posix/wordexp.c (parse_param): Fix buffer overflow.
4237         * posix/wordexp-test.c (do_bz18043): Add test case.
4239 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4241         * time/tst-strptime2.c (do_test): Ensure failing tests are
4242         reported correctly.
4243         * time/tst-strptime3.c (do_test): Likewise.
4245 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4247         Fix aio_error thread-safety.
4248         * sysdeps/pthread/aio_error.c: New file
4249         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4250         synchronization.
4252 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4254         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4255         (group_number, vfprintf): Use it.
4256         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4257         (JUMP, REF): Use it.
4258         (WORK_BUFFER_SIZE): New enum constant.
4259         (process_arg, vfprintf): Use it.
4261 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4263         * manual/errno.texi (Error Messages): Complete example function
4264         by adding missing #define.
4265         (program_invocation_name): Add statement indicating GNU
4266         extension and reference which header file declares the variable.
4267         (program_invocation_short_name): Likewise.
4269 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4271         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4272         compatibility note.
4274 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4276         * Makeconfig (test-wrapper-env-only): New variable.
4277         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4278         then use that with $(test-wrapper-env-only) rather than using
4279         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4281 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4283         [BZ #18082]
4284         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4285         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4286         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4287         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4288         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4289         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4290         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4291         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4292         Likewise.
4293         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4294         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4295         Likewise.
4296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4297         Likewise.
4298         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4299         Likewise.
4300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4301         Likewise.
4302         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4303         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4304         Likewise.
4305         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4306         Likewise.
4307         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4308         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4310 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4312         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4313         (ETH_ALEN): New macro.
4314         (struct ether_addr): Use it for length of ether_addr_octet.
4316         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4317         (setdb): Don't call __nss_configure_lookup for "rpc".
4318         (do_test): Don't call test_rpc.
4319         (output_rpcent, test_rpc): Functions moved ...
4320         * sunrpc/test-rpcent.c: ... to this new file.
4321         * sunrpc/Makefile (tests): Add it.
4323         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4324         __xpg_sigpause.
4325         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4326         * nptl/tst-signal6.c: Likewise.
4327         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4328         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4330         * configure.ac (libc_cv_cxx_link_ok): New check.
4331         Reset CXX to empty if it fails to link.
4332         * configure: Regenerated.
4333         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4334         bug-atexit3-lib only if $(CXX) is nonempty.
4335         * nptl/Makefile (tests): Likewise for tst-cancel24.
4336         (tests, tests-static): Likewise for tst-cancel24-static.
4337         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4338         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4339         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4340         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4342 2015-03-04  Andreas Schwab  <schwab@suse.de>
4344         [BZ #17631]
4345         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4346         for non-GCC compilers.
4347         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4348         Likewise.
4350 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4352         [BZ #17776]
4353         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4354         integer before bitwise and assembly operations.
4355         (feclearexcept): Likewise.
4356         * math/test-fenvinline.c: New file.
4357         * math/Makefile: Add test-fenvinline test.
4359 2015-03-03  Alan Modra  <amodra@gmail.com>
4361         [BZ #16512]
4362         * scripts/localplt.awk: Strip off symbol version.
4363         * NEWS: Mention bug fix.
4365 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4367         * sysdeps/pthread/timer_routines.c
4368         (timer_free_list, thread_free_list, thread_active_list): Make static.
4370 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4372         [BZ #17779]
4373         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4374         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4375         Undefine.
4376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4377         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4378         Likewise.
4379         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4380         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4381         Likewise.
4383 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4385         [BZ #18036]
4386         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4387         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4389 2015-03-02  Andreas Schwab  <schwab@suse.de>
4391         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4392         variable name.
4394 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4396         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4397         Return error status.
4399 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4401         [BZ #15969]
4402         * locale/findlocale.c (_nl_find_locale): Introduce const
4403         version of loc_name and drop unsafe type casts.
4405 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4407         * dlfcn/tststatic2.c (main): Converted to ...
4408         (do_test): ... this.
4409         (TEST_FUNCTION): New macro.
4410         Include test-skeleton.c.
4412 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4414         [BZ #17711]
4415         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4416         (tests-pie): Add vismain.
4417         (CFLAGS-vismain.c): New.
4418         * elf/vismain.c: Add comments for PIE requirement.
4420 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4422         [BZ #18046]
4423         [BZ #18047]
4424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4425         0x1p-56L as threshold for just returning the argument.
4426         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4427         0x1p-32L as threshold for just returning the argument.
4428         * math/auto-libm-test-in: Add more tests of atanh.
4429         * math/auto-libm-test-out: Regenerated.
4430         * sysdeps/i386/fpu/libm-test-ulps: Update.
4431         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4433 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4435         * string/bcopy.c (bcopy): Call memmove for performance.
4437 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4439         * string/bzero.c (__bzero): Call memset for performance.
4441 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4443         [BZ #18068]
4444         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4445         to 00100000.
4447 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4449         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4451 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4453         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4454         (__kernel_standard): Use CSTR macro when setting exc.name.
4455         * sysdeps/ieee754/Makefile [$(subdir) = math]
4456         (CFLAGS-k_standard.c): Remove variable.
4458         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4459         setting p and q from "else if" to "else".
4460         (qzero): Likewise.
4461         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4462         (qone): Likewise.
4463         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4464         (qzerof): Likewise.
4465         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4466         (qonef): Likewise.
4467         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4468         (qzero): Likewise.
4469         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4470         (qone): Likewise.
4472         [BZ #18038]
4473         [BZ #18039]
4474         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4475         return pi/2 for arguments below 0x1p-113L.
4476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4477         return pi/2 for arguments below 0x1p-106L.
4478         * math/auto-libm-test-in: Add more tests of acos.
4479         * math/auto-libm-test-out: Regenerated.
4481         [BZ #16351]
4482         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4483         (MO): New macro.
4484         (__ieee754_asin): Force underflow exception for results with small
4485         absolute value.
4486         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4487         (MO): New macro.
4488         (__ieee754_asinf): Force underflow exception for results with
4489         small absolute value.
4490         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4491         (__ieee754_asin): Force underflow exception for results with small
4492         absolute value.
4493         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4494         (__ieee754_asinf): Force underflow exception for results with
4495         small absolute value.
4496         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4497         (__ieee754_asinl): Force underflow exception for results with
4498         small absolute value.
4499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4500         (__ieee754_asinl): Force underflow exception for results with
4501         small absolute value.
4502         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4503         (__ieee754_asinl): Force underflow exception for results with
4504         small absolute value.
4505         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4506         Include <math.h>.
4507         * math/auto-libm-test-in: Do not mark underflow exceptions as
4508         possibly missing for bug 16351.
4509         * math/auto-libm-test-out: Regenerated.
4511         [BZ #18030]
4512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4513         of power of 2 down when low part has opposite sign.
4514         * math/libm-test.inc (logb_test_data): Add more tests.
4516 2015-02-26  Andreas Schwab  <schwab@suse.de>
4518         [BZ #18032]
4519         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4520         over collating symbol inside a bracket expression.  Minor cleanup.
4521         * posix/tst-fnmatch3.c (do_test): Add test case.
4523 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4525         [BZ #18029]
4526         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4527         Adjust exponent of power of 2 down when low part has opposite
4528         sign.
4529         * math/libm-test.inc (ilogb_test_data): Add more tests.
4531 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4533         [BZ #15969]
4534         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4535         the previous change.
4537         [BZ #15969]
4538         * locale/findlocale.c (_nl_find_locale): Retry archive search
4539         after alias expansion.
4541 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4543         * iconv/tst-iconv3.c (main): Converted to ...
4544         (do_test): ... this.
4545         (TEST_FUNCTION): New macro.
4546         Include test-skeleton.c.
4548         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4549         (convert): Make function static.
4550         (test_unalign): Likewise.  Add const to argument pointee types.
4551         (main): Replace with static function do_test.
4552         Print "Succeeded." only if RET is zero.
4553         (TEST_FUNCTION): New macro.
4554         Include test-skeleton.c.
4556         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4557         returns a null pointer.
4559 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4562         to __memcpy_ppc only for static builds.
4564 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4566         [BZ #18020]
4567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4568         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4569         * math/auto-libm-test-in: Add more tests of asinh.
4570         * math/auto-libm-test-out: Regenerated.
4571         * sysdeps/i386/fpu/libm-test-ulps: Update.
4572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4574 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4576         [BZ #15850]
4577         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4578         and ip6_mtuinfo definitions here.
4579         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4580         in this define too.  Update comment.
4582 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4584         * elf/sprof.c (load_shobj): Tweak error message to match others.
4586 2015-02-24  Kevin Easton  <kevin@guarana.org>
4588         [BZ #16145] (partial fix)
4589         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4590         to reduce lock contention.
4592 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4594         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4595         (struct timex): Update time comment.
4596         (ADJ_SETOFFSET): Define.
4598 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4600         [BZ #18019]
4601         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4602         2**56 not 2**28 as threshold for log (2x) formula.
4603         * math/auto-libm-test-in: Add more tests of acosh.
4604         * math/auto-libm-test-out: Regenerated.
4605         * sysdeps/i386/fpu/libm-test-ulps: Update.
4606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4608 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4610         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4611         parenthesis around the buf assignment.
4612         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4614 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4616         [BZ #16783]
4617         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4618         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4619         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4620         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4621         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4622         * math/libm-test.inc (scalb_test_data): Add more tests.
4624 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4626         [BZ #17916]
4627         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4628         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4630 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4632         [BZ #17523]
4633         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4634         * io/bits/fcntl2.h (open): Use it.
4635         (openat): Likewise.
4636         * io/open.c (__libc_open): Likewise.
4637         * io/open64.c (__libc_open64): Likewise.
4638         * io/open64_2.c (__open64_2): Likewise.
4639         * io/open_2.c (__open_2): Likewise.
4640         * io/openat.c (__openat): Likewise.
4641         * io/openat64.c (__openat64): Likewise.
4642         * io/openat64_2.c (__openat64_2): Likewise.
4643         * io/openat_2.c (__openat_2): Likewise.
4644         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4645         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4646         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4647         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4648         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4649         (__open_nocancel): Likewise.
4650         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4651         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4652         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4654 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4656         [BZ #14841]
4657         * resolv/gethnamaddr.c (getanswer): Skip logging if
4658         RES_USE_DNSSEC is set.
4659         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4661 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4663         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4665 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4667         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4668         201304L, for Unicode 7.
4670 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4672         [BZ #17836]
4673         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4674         shared library.  Add gmon-start.os otherwise.
4675         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4676         $(objpfx)gmon-start.os if builing shared library.
4677         ($(objpfx)g$(static-start-installed-name)): Likewise.
4679 2015-02-23  Andreas Schwab  <schwab@suse.de>
4681         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4683 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4685         [BZ #17269]
4686         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4687         (enlarge_userbuf): Likewise.
4689 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4691         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4692         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4693         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4694         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4696 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4698         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4699         expression inside statement expression.
4701 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4703         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4704         <sysdeps/nptl/lowlevellock.h> and remove macros and
4705         functions that are now defined there.
4706         (SYS_futex): Remove.
4707         (lll_compare_and_swap): Remove.
4708         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4710 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #17999]
4713         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4714         instead of scandirat.
4715         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4716         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4717         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4718         __scandirat.
4719         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4720         (__scandirat): Declare.  Use libc_hidden_proto.
4721         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4722         Remove variable.
4723         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4725 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4727         [BZ #15319]
4728         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4729         (MO): New macro.
4730         (__ieee754_atan2): For results with small absolute value, force
4731         underflow exception and remove excess range and precision from
4732         return value.
4733         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4734         (MO): New macro.
4735         (__ieee754_atan2f): For results with small absolute value, force
4736         underflow exception and remove excess range and precision from
4737         return value.
4738         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4739         (MO): New macro.
4740         (__atan): For results with small absolute value, force underflow
4741         exception and remove excess range and precision from return value.
4742         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4743         (MO): New macro.
4744         (__atanf): For results with small absolute value, force underflow
4745         exception and remove excess range and precision from return value.
4746         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4747         <math.h>.
4748         (__ieee754_atan2): Force underflow exception for results with
4749         small absolute value.
4750         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4751         <math_private.h>.
4752         (atan): Force underflow exception for results with small absolute
4753         value.
4754         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4755         (__atanf): Force underflow exception for results with small
4756         absolute value.
4757         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4758         <math.h>.
4759         (__atanl): Force underflow exception for results with small
4760         absolute value.
4761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4762         (__atanl): Force underflow exception for results with small
4763         absolute value.
4764         * sysdeps/x86/fpu/bits/mathinline.h
4765         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4766         (__ieee754_atan2): Only define inline for long double.
4767         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4768         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4769         * math/auto-libm-test-in: Do not mark underflow exceptions as
4770         possibly missing for bug 15319.  Add more tests of atan2.
4771         * math/auto-libm-test-out: Regenerated.
4772         * math/libm-test.inc (casin_test_data): Do not mark underflow
4773         exceptions as possibly missing for bug 15319.
4774         (casinh_test_data): Likewise.
4775         * sysdeps/i386/fpu/libm-test-ulps: Update.
4777 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4779         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4780         * sysdeps/mips/bits/endian.h: Fix comments.
4782 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4784         [BZ #17996]
4785         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4786         (hdestroy_r): Likewise.
4787         (hsearch_r): Likewise.
4788         (__hcreate_r): Declare and use libc_hidden_proto.
4789         (__hdestroy_r): Likewise.
4790         (__hsearch_r): Likewise.
4791         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4792         (hcreate): Call __hcreate_r instead of hcreate_r.
4793         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4794         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4795         as weak alias of __hcreate_r.
4796         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4797         __hdestroy_r.
4798         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4799         __hsearch_r.
4800         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4801         Remove variable.
4802         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4803         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4804         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4805         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4807 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4809         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4810         arena_lock into a single arena_get.
4812 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4814         * dl-reloc.c: Inlucde libc-internal.h.
4815         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4816         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4817         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4818         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4819         (grow_heap): Likewise.
4820         * malloc/malloc.c: Include libc-internal.h.
4821         (do_check_malloc): Call powerof2.
4822         (sysmalloc): Use pagesize. Call ALIGN_UP.
4823         (systrim): Use pagesize.
4824         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4825         (__libc_valloc): Use pagesize.
4826         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4828 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4830         [BZ #17991]
4831         * include/sys/resource.h (__getrlimit64): Declare.  Use
4832         libc_hidden_proto.
4833         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4834         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4835         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4836         getrlimit64.
4837         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4838         __getrlimit64.
4839         [!getrlimit64] (getrlimit64): Define as weak alias of
4840         __getrlimit64.  Use libc_hidden_weak.
4841         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4842         using __getrlimit64 not __new_getrlimit64.
4843         (__GI_getrlimit64): Likewise.
4844         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4845         Likewise.
4846         (__GI_getrlimit64): Likewise.
4847         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4849         (getrlimit): Add __getrlimit64 alias.
4850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4851         Likewise.
4852         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4853         Remove variable.
4854         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4855         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4857 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4859         * libio/fileops.c: Add missing sys/mman.h
4860         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4862 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4864         * manual/math.texi (Errors in Math Functions): Clarify goals
4865         regarding inexact and underflow exceptions.
4867 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4869         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4870         * sysdeps/mips/memset.S: Ditto.
4872 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4874         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4876 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4878         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4879         (__v1longjmp): Remove versioned symbol.
4880         (__v1siglongjmp): Remove alias and versioned symbol.
4881         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4882         (__v2siglongjmp): Likewise.
4884 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4886         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4888 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4890         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4892 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4894         [BZ #17987]
4895         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4896         zero result does not depend on the sign resulting from
4897         subtraction.
4898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4899         Likewise.
4900         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4901         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4902         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4903         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4904         * math/libm-test.inc (remquo_test_data): Add more tests.
4906 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4908         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4909         Problem reported by J William Piggott.
4911 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4913         [BZ #17978]
4914         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4915         products 4 * y and 2 * y where those would overflow.
4916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4917         Likewise.
4918         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4919         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4920         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4921         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4922         * math/libm-test.inc (remquo_test_data): Add more tests.
4924         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4926         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4927         [defined _COMPILING_NEWLIB].
4928         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4929         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4931         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4932         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4934 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4936         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4937         acquired.
4939 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4941         [BZ #17792]
4942         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4943         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4944         HOST_STACK_END_ADDR): Likewise.
4946 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4948         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4949         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4950         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4952 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4954         * sysdeps/generic/c++-types.data: New file.
4955         * sysdeps/generic/ld.abilist: New file.
4956         * sysdeps/generic/libBrokenLocale.abilist: New file.
4957         * sysdeps/generic/libanl.abilist: New file.
4958         * sysdeps/generic/libc.abilist: New file.
4959         * sysdeps/generic/libcrypt.abilist: New file.
4960         * sysdeps/generic/libdl.abilist: New file.
4961         * sysdeps/generic/libm.abilist: New file.
4962         * sysdeps/generic/libpthread.abilist: New file.
4963         * sysdeps/generic/libresolv.abilist: New file.
4964         * sysdeps/generic/librt.abilist: New file.
4966 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4968         [BZ #17569]
4969         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4970         Compute absolute value of x as modified by fmod, not original
4971         value of x.
4972         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4973         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4974         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4975         RUN_TEST_ffI_f1_mod8.
4976         (remquo_test_data): Add more tests.
4978 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4980         * sysdeps/init_array/pt-crti.S: New file.
4982 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4984         [BZ #17967]
4985         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4986         __builtin_fmaf instead of relying on contraction of a * b + c.
4988 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4990         [BZ #17969]
4991         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4992         node.
4994 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4996         [BZ #17964]
4997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4998         __builtin_fma instead of relying on contraction of a * b + c.
5000 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5002         * Makeconfig (ASFLAGS): Add -Werror=undef.
5003         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5004         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5005         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5007         * Makeconfig (after-link): New variable.
5008         (+link-pie, +link-pie-tests): Use it.
5009         (+link-static, +link-static-tests): Likewise.
5010         (+link, +link-tests): Likewise.
5011         * Makerules (build-module, build-module-asneeded): Likewise.
5012         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5013         Likewise.
5014         * elf/Makefile ($(objpfx)ld.so): Likewise.
5016 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5018         [BZ #17965]
5019         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5020         both struct timeval and struct timespec.
5022 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5024         [BZ #16560]
5025         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5026         and redefine.
5027         (__ieee754_exp2l): Do not multiply small fractional parts by
5028         M_LN2l.
5029         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5030         small argument.
5031         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5032         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5033         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5034         * math/auto-libm-test-in: Add more tests of exp2.
5035         * math/auto-libm-test-out: Regenerated.
5037 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5039         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5040         unaligned path.
5042 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5044         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5045         little endian.
5047 2015-02-12  Andreas Schwab  <schwab@suse.de>
5049         [BZ #15790]
5050         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5051         Filter out elision flags from value returned in kind.
5052         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5053         * nptl/tst-pthread-mutexattr.c: New file.
5055 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5057         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5058         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5059         into gnu-gnu, and update comment to refer to abi-tags.
5061 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5063         [BZ #15467]
5064         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5065         (__sincos): Set errno to EDOM for infinite argument.
5066         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5067         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5068         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5069         (__sincosl): Set errno to EDOM for infinite argument.
5070         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5071         (__sincosl): Set errno to EDOM for infinite argument.
5072         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5073         (__sincosl): Set errno to EDOM for infinite argument.
5074         * math/libm-test.inc (sincos_test_data): Test errno setting.
5076 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5078         * string/strxfrm_l.c: Remove #define STRCMP.
5079         * string/strcoll_l.c: Remove #define STRLEN.
5080         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5081         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5083 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5085         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5086         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5087         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5088         * sysdeps/mips/mips64/Makefile: ... here.
5089         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5090         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5091         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5092         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5093         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5094         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5095         * sysdeps/mips/mips64/n64/Implies: Likewise.
5097 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5099         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5100         <sys/time.h>, <string.h>, and <errno.h>.
5101         (dest_offset, dest_address, value, zero): Remove unused variables.
5102         (ldouble): Remove typedef.
5103         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5104         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5105         1).  Fix code style.
5106         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5107         (check): Function removed.
5108         (CHECK): New macro.
5109         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5110         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5111         Don't call set_sigaction_FP and remove_sigaction_FP here.
5112         (ldouble_test): Just use 'long double' as macro argument, no need for
5113         the 'ldouble' typedef.
5114         (do_test): Set up SIGFPE handler at start, using plain signal rather
5115         than sigaction.  Fix code style.
5117 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5119         [BZ #17949]
5120         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5121         jump label.
5123 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5125         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5126         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5128         * sysdeps/powerpc/configure.ac: Remove file.
5129         * sysdeps/powerpc/configure: Likewise.
5131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5132         [sysdep_routines]: Remove wordcopy-power6 object.
5133         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5134         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5136         (__memmove_ppc32): Likewise.
5137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5138         file.
5139         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5141         Remove preprocessor.
5143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5144         [sysdep_routines]: Remove wide chars objects.
5145         [wcsmbs]: New rule for wide char objects.
5147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5148         Remove wordcopy-power6 obejct.
5149         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5150         Use local call for wordcopy and memcpy symbols.
5151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5153         implementation for loader.
5154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5157         Remove wordcopy-power7 object.
5158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5160         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5161         (_wordcopy_fwd_dest_aligned): Likewise.
5162         (_wordcopy_bwd_aligned): Likewise.
5163         (_wordcopy_bwd_dest_aligned): Likewise.
5165         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5166         Rewrite to call __memmove_ppc instead of include default
5167         implementation.
5169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5170         Remove wide chars objects.
5171         [wcsmbs]: New rule for wide char objects.
5173 2015-02-09  Andreas Schwab  <schwab@suse.de>
5175         [BZ #17912]
5176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5177         in terms of __O_DIRECTORY.
5179 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5181         * time/getdate.c: Include <stdbool.h>.
5182         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5183         call PTR_MANGLE.
5184         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5185         PTR_DEMANGLE.
5187 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5189         Add ersatz _Static_assert on older C hosts
5190         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5191         pre-C11 C platform that is not known to support _Static_assert.
5193 2015-02-07  Richard Braun  <rbraun@sceen.net>
5195         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5196         sigstate.
5197         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5199 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5201         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5202         priority against unexistent AIO_PRIO_DELTA_MAX.
5203         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5204         instead of int.
5205         * misc/fchflags.c (fchflags): Likewise.
5206         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5207         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5208         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5209         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5210         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5211         Declare macros.
5212         [__USE_MISC] (chflags, fchflags): Declare functions.
5213         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5214         EINVAL when nfds is greater than FD_SETSIZE.
5215         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5216         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5217         45.
5218         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5219         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5220         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5221         MACH_RCV_TIMED_OUT.
5222         * hurd/hurd/signal.h (_hurd_self_sigstate,
5223         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5224         Explicit casts from void *.
5225         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5226         * abi-tags: Rename gnu-gnu os into gnu.
5228         [BZ #4719]
5229         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5230         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5231         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5232         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5233         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5234         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5236         [BZ #17944]
5237         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5238         duplicates ADDR->sun_path with sockaddr LEN limitation.
5239         * sysdeps/mach/hurd/connect.c: Include <string.h>
5240         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5241         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5242         * sysdeps/mach/hurd/sendto.c: Likewise.
5243         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5244         implementing it by hand.
5246 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5248         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5249         Use sfi_breg on ldr.
5250         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5251         Likewise.
5253         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5254         it's defined.
5255         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5256         Test SIGSETXID only if it's defined.
5258         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5260         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5261         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5263         * nptl/tst-align2.c: Moved ...
5264         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5265         * nptl/Makefile (tests): Remove tst-align2.
5266         * sysdeps/unix/sysv/linux/Makefile
5267         [$(subdir) = nptl] (tests): Add tst-align-clone.
5268         * nptl/tst-getpid1.c: Moved ...
5269         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5270         * nptl/tst-getpid2.c: Moved ...
5271         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5272         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5273         * sysdeps/unix/sysv/linux/Makefile
5274         [$(subdir) = nptl] (tests): ... here.
5275         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5276         * sysdeps/unix/sysv/linux/Makefile
5277         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5279         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5280         Drop trailing \n from perror argument.  Use return rather than exit.
5282         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5283         on [SA_SIGINFO].
5284         * nptl/tst-cancel21.c (do_test): Likewise.
5285         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5286         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5287         [!SA_SIGINFO]: Make it a stub test.
5289         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5290         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5292         * posix/tst-getlogin.c: Move to ...
5293         * login/tst-getlogin.c: ... here.
5294         * posix/Makefile (tests): Move tst-getlogin to ...
5295         * login/Makefile (tests): ... here.
5297         * libio/tst-atime.c (do_test): Move local variables SV and E
5298         inside [ST_NOATIME] conditional.
5300         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5302         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5304         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5305         (wait_code): New function replaces macro.
5306         Call nanosleep rather than syscall.
5308         * nptl/pt-system.c: Rewritten.  Put everything under
5309         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5310         Use IFUNC to redirect when possible.
5312         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5313         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5314         Use IFUNC to redirect when possible.
5316         * nptl/pt-fork.c: Rewritten.  Put everything under
5317         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5318         Use IFUNC to redirect when possible.
5319         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5322         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5323         unconditionally nowadays.  This included the only reference to
5324         __vdso_clock_gettime that appears outside libc proper.
5325         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5326         Remove version set (containing only __vdso_clock_gettime).
5327         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5328         Add attribute_hidden.
5329         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5330         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5331         libc_hidden_data_def.
5332         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5333         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5335         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5336         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5337         setrpcent, and getrpcport to ...
5338         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5339         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5340         getrpcbynumber_r, and getrpcent_r to ...
5341         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5342         * inet/getrpcbyname.c: Moved ...
5343         * sunrpc/getrpcbyname.c: ... here.
5344         * inet/getrpcbyname_r.c: Moved ...
5345         * sunrpc/getrpcbyname_r.c: ... here.
5346         * inet/getrpcbynumber.c: Moved ...
5347         * sunrpc/getrpcbynumber.c: ... here.
5348         * inet/getrpcbynumber_r.c: Moved ...
5349         * sunrpc/getrpcbynumber_r.c: ... here.
5350         * inet/getrpcent.c: Moved ...
5351         * sunrpc/getrpcent.c: ... here.
5352         * inet/getrpcent_r.c: Moved ...
5353         * sunrpc/getrpcent_r.c: ... here.
5354         * inet/Makefile (routines): Move those to ...
5355         * sunrpc/Makefile (routines): ... here.
5356         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5357         the $(subdirs) list.
5358         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5359         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5360         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5361         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5363         * elf/Makefile (routines): Include $(all-dl-routines), not just
5364         $(dl-routines).
5365         (rtld-routines): Likewise.  Use = rather than :=.
5366         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5367         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5368         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5369         * sysdeps/arm/Makefile: Likewise.
5370         * sysdeps/i386/Makefile: Likewise.
5371         * sysdeps/x86_64/Makefile: Likewise.
5372         * sysdeps/hppa/Makefile [$(subdir) = elf]
5373         (sysdep_routines, sysdep-rtld-routines): Don't add
5374         $(sysdep-dl-routines) to these.
5375         * sysdeps/ia64/Makefile: Likewise.
5376         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5377         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5378         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5379         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5380         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5381         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5382         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5383         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5384         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5385         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5386         these; sysdep-dl-routines alone is enough.
5388 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5390         [BZ #17932]
5391         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5392         where multiplication results in zero and third argument is finite
5393         and nonzero.
5394         * math/auto-libm-test-in: Add more tests of fma.
5395         * math/auto-libm-test-out: Regenerated.
5397         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5398         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5399         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5400         (_FP_CMP_EQ): Likewise.
5401         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5403         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5404         extra argument CHECK_NAN.  Redefine as wrapper around
5405         _FP_EXTEND_CNAN.
5407 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5409         * version.h (RELEASE): Set to "stable".
5410         (VERSION): Set to "2.21"
5411         * include/features.h (__GLIBC_MINOR__): Set to 21.
5413         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5415 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5416             Paul Eggert  <eggert@cs.ucla.edu>
5418         [BZ #16618]
5419         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5420         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5421         size in bytes. Store needed elements in wpmax. Use needed size
5422         in bytes for extend_alloca.
5424 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5426         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5427         binutls 2.25, and texinfo 5.2.
5428         * INSTALL: Regenerate.
5429         * sysdeps/nios2/configure: Regenerate.
5430         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5431         * manual/contrib.texi: Update.
5432         * po/be.po: Update.
5433         * po/bg.po: Update.
5434         * po/ca.po: Update.
5435         * po/cs.po: Update.
5436         * po/da.po: Update.
5437         * po/de.po: Update.
5438         * po/el.po: Update.
5439         * po/eo.po: Update.
5440         * po/es.po: Update.
5441         * po/fi.po: Update.
5442         * po/fr.po: Update.
5443         * po/gl.po: Update.
5444         * po/hr.po: Update.
5445         * po/hu.po: Update.
5446         * po/ia.po: Update.
5447         * po/id.po: Update.
5448         * po/it.po: Update.
5449         * po/ja.po: Update.
5450         * po/ko.po: Update.
5451         * po/lt.po: Update.
5452         * po/nb.po: Update.
5453         * po/nl.po: Update.
5454         * po/pl.po: Update.
5455         * po/pt_BR.po: Update.
5456         * po/ru.po: Update.
5457         * po/rw.po: Update.
5458         * po/sk.po: Update.
5459         * po/sl.po: Update.
5460         * po/sv.po: Update.
5461         * po/tr.po: Update.
5462         * po/uk.po: Update.
5463         * po/vi.po: Update.
5464         * po/zh_CN.po: Update.
5465         * po/zh_TW.po: Update.
5467         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5468         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5469         * sysdeps/hppa/dl-irel.h: Remove #warning.
5470         * sysdeps/hppa/entry.h: Provide prototype for
5471         __canonicalize_funcptr_for_compare and cast argument.
5472         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5473         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5474         * sysdeps/hppa/sotruss-lib.c: New file.
5475         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5476         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5477         (atomic_compare_and_exchange_bool_acq): Likewise.
5478         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5479         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5481         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5482         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5483         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5485 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5487         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5488         called function in non-PIC case.
5490 2015-01-31  David S. Miller  <davem@davemloft.net>
5492         * sysdeps/sparc/sparc32/bits/atomic.h
5493         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5494         unlock not after it.
5495         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5496         volatile register usage warnings from the compiler.
5498         * sysdeps/sparc/nptl/sem_init.c: Delete.
5499         * sysdeps/sparc/nptl/sem_post.c: Delete.
5500         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5501         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5502         * sysdeps/sparc/sparc32/sem_init.c: New file.
5503         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5504         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5505         padding explicitly initialized.
5506         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5507         padding for in-semaphore spinlock.
5508         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5509         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5510         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5511         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5512         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5513         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5514         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5515         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5516         version.
5517         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5518         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5520 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5522         [BZ #17801]
5523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5524         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5525         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5526         New.
5527         (index_AVX_Fast_Unaligned_Load): Likewise.
5528         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5529         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5530         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5531         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5532         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5533         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5534         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5535         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5536         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5538 2015-01-29  Andreas Schwab  <schwab@suse.de>
5540         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5542 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5544         [BZ #17892]
5545         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5547 2015-01-28  Martin Sebor  <msebor@redhat.com>
5549         * math/README.libm-test: Clarify. Add "How to read the test output."
5551 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5553         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5554         Define to 0.
5556 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5558         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5559         (__HAVE_64B_ATOMICS): Define to 0.
5561 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5563         [BZ #17885]
5564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5565         value to set as new flag.
5567         [BZ #16576]
5568         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5569         and use _ARCH_PPCSQ instead.
5570         (__ieee754_sqrt): Likewise.
5571         (__ieee754_sqrtf): Likewise.
5572         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5573         _ARCH_PPCSQ is defined.
5574         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5575         fsqrt instruction.
5576         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5577         _ARCH_PPCSQ is defined.
5578         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5579         fsqrts instruction.
5580         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5582 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5584         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5585         bug (GCC BZ #64739).
5587 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5589         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5590         Mark _retval as used.
5591         (lll_futex_wake_unlock): Likewise.
5592         (lll_futex_timed_wait_requeue_pi): Likewise.
5594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5595         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5596         register variables.
5598         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5599         libm_hidden_def.
5601         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5602         (__bswap_64): Mark as __always_inline.
5604 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5606         [BZ #15378]
5607         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5608         when none of the search directories exist.
5610 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5612         [BZ #17869]
5613         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5614         power8 in .machine directive.
5616         [BZ #17868]
5617         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5618         set dependency from opd value.
5620 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5623         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5624         architecture.
5626 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5628         [BZ #17870]
5629         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5630         with uint64_t.
5631         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5632         (uint64_t) 1.
5633         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5634         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5635         Replace 1UL with (uint64_t) 1.
5636         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5637         int with uint64_t.
5639 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5641         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5642         (if_freenameindex): Likewise.
5644         * resource/getrlimit64.c: Add missing libc_hidden_def.
5646 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5648         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5649         __label__.
5650         (_FP_FMA): Likewise.
5651         (_FP_TO_INT_ROUND): Likewise.
5652         (_FP_FROM_INT): Likewise.
5654 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5656         [BZ #16418]
5657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5658         Make code racy and cancel safe.
5660 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5662         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5663         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5664         attribution.
5666         * pwd/tst-getpw.c: Rewrite.
5668         [BZ #17702]
5669         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5670         (modules-names): Add moddummy1 and moddummy2.
5671         ($(objpfx)tst-rec-dlopen): Define.
5672         * dlfcn/moddummy1.c: New file.
5673         * dlfcn/moddummy2.c: New file.
5674         * dlfcn/tst-rec-dlopen.c: New file.
5675         * elf/dl-cache.c (_dl_load_cache_lookup):
5676         Return char*. Copy result with alloca/strcpy/strdup.
5677         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5678         returns char*. Free cached. If not saving realname
5679         free cached.
5680         * elf/dl-open.c (dl_open_worker): Do not assert that
5681         _r_debug->r_state is RT_CONSISTENT.
5682         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5683         returns char*.
5685 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5686             Carlos O'Donell  <carlos@redhat.com>
5688         [BZ #12674]
5689         * nptl/sem_waitcommon.c: New file.
5690         * nptl/sem_wait.c: Include sem_waitcommon.c.
5691         (__sem_wait_cleanup, do_futex_wait): Remove.
5692         (__new_sem_wait): Adapt.
5693         (__new_sem_trywait): New function.
5694         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5695         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5696         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5697         (sem_timedwait): Adapt.
5698         * nptl/sem_post.c (__new_sem_post): Adapt.
5699         (futex_wake): New function.
5700         (__old_sem_post): Add release MO fence.
5701         * nptl/sem_open.c (sem_open): Adapt.
5702         * nptl/sem_init.c (__new_sem_init): Adapt.
5703         (futex_private_if_supported): New function.
5704         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5705         (__old_sem_getvalue): Add using previous code.
5706         * sysdeps/nptl/internaltypes.h: Adapt.
5707         * nptl/tst-sem13.c (do_test): Adapt.
5708         * nptl/tst-sem11.c (main): Adapt.
5709         * nptl/sem_trywait.c: Remove.
5710         * nptl/DESIGN-sem.txt: Remove.
5711         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5712         (gen-as-const-headers): Remove structsem.sym.
5713         * nptl/structsem.sym: Remove.
5714         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5715         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5716         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5717         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5718         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5719         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5720         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5721         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5722         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5723         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5724         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5725         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5726         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5727         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5728         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5729         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5730         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5731         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5732         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5733         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5734         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5735         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5737 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5739         * INSTALL: Regenerated.
5741         * po/libc.pot: Regenerated.
5743 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5744             Sandra Loosemore  <sandra@codesourcery.com>
5745             Andrew Jenner  <andrew@codesourcery.com>
5746             Joseph Myers  <joseph@codesourcery.com>
5747             Nathan Sidwell  <nathan@codesourcery.com>
5749         * NEWS: Mention new Nios II port.
5750         * sysdeps/nios2/Implies: New file.
5751         * sysdeps/nios2/Makefile: New file.
5752         * sysdeps/nios2/Subdirs: New file.
5753         * sysdeps/nios2/Versions: New file.
5754         * sysdeps/nios2/__longjmp.S: New file.
5755         * sysdeps/nios2/abort-instr.h: New file.
5756         * sysdeps/nios2/backtrace.c: New file.
5757         * sysdeps/nios2/bits/endian.h: New file.
5758         * sysdeps/nios2/bits/fenv.h: New file.
5759         * sysdeps/nios2/bits/link.h: New file.
5760         * sysdeps/nios2/bits/setjmp.h: New file.
5761         * sysdeps/nios2/bsd-_setjmp.S: New file.
5762         * sysdeps/nios2/bsd-setjmp.S: New file.
5763         * sysdeps/nios2/configure: New generated file.
5764         * sysdeps/nios2/configure.ac: New file.
5765         * sysdeps/nios2/crti.S: New file.
5766         * sysdeps/nios2/crtn.S: New file.
5767         * sysdeps/nios2/dl-init.c: New file.
5768         * sysdeps/nios2/dl-machine.h: New file.
5769         * sysdeps/nios2/dl-sysdep.h: New file.
5770         * sysdeps/nios2/dl-tls.h: New file.
5771         * sysdeps/nios2/dl-trampoline.S: New file.
5772         * sysdeps/nios2/gccframe.h: New file.
5773         * sysdeps/nios2/gmp-mparam.h: New file.
5774         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5775         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5776         * sysdeps/nios2/ldsodefs.h: New file.
5777         * sysdeps/nios2/libc-tls.c: New file.
5778         * sysdeps/nios2/libm-test-ulps: New file.
5779         * sysdeps/nios2/machine-gmon.h: New file.
5780         * sysdeps/nios2/math-tests.h: New file.
5781         * sysdeps/nios2/math_private.h: New file.
5782         * sysdeps/nios2/memusage.h: New file.
5783         * sysdeps/nios2/nptl/Makefile: New file.
5784         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5785         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5786         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5787         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5788         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5789         * sysdeps/nios2/nptl/tls.h: New file.
5790         * sysdeps/nios2/preconfigure: New file.
5791         * sysdeps/nios2/s_fma.c: New file.
5792         * sysdeps/nios2/s_fmaf.c: New file.
5793         * sysdeps/nios2/setjmp.S: New file.
5794         * sysdeps/nios2/sfp-machine.h: New file.
5795         * sysdeps/nios2/sotruss-lib.c: New file.
5796         * sysdeps/nios2/stackguard-macros.h: New file.
5797         * sysdeps/nios2/stackinfo.h: New file.
5798         * sysdeps/nios2/start.S: New file.
5799         * sysdeps/nios2/sysdep.h: New file.
5800         * sysdeps/nios2/tls-macros.h: New file.
5801         * sysdeps/nios2/tst-audit.h: New file.
5802         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5803         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5804         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5805         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5806         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5807         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5808         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5809         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5810         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5811         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5812         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5813         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5814         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5815         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5816         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5817         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5818         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5819         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5820         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5821         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5822         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5823         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5824         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5825         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5826         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5827         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5828         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5829         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5830         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5831         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5832         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5833         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5834         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5835         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5836         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5837         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5838         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5839         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5840         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5841         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5842         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5843         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5844         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5845         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5847 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5849         [BZ #17844]
5850         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5851         (getutent): Use weak_alias in non SHARED case
5852         and default_symbol_version in SHARED case.
5853         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5854         (getutent_r, pututline): Likewise.
5855         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5856         (getutid): Likewise.
5857         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5858         (getutid_r): Likewise.
5859         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5860         (getutline): Likewise.
5861         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5862         (getutline_r): Likewise.
5863         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5864         (updwtmp): Likewise.
5866 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5868         [BZ #17848]
5869         * sysdeps/s390/s390-32/memcmp.S
5870         (memcmp_g5): Rename to __memcmp_g5.
5871         * sysdeps/s390/s390-32/memcpy.S
5872         (memcpy_g5): Rename to __memcpy_g5.
5873         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5874         (memcpy_mvcle) Rename to __memcpy_mvcle.
5875         * sysdeps/s390/s390-32/memset.S
5876         (memset_g5): Rename to __memset_g5.
5877         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5878         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5879         and use prefixed functions.
5880         * sysdeps/s390/s390-32/multiarch/memcmp.S
5881         (memcmp_z196): Rename to __memcmp_z196.
5882         (memcmp_z10): Rename to __memcmp_z10.
5883         (memcmp): Set alias to __memcmp_g5.
5884         (bcmp): Set alias to __memcmp_g5.
5885         * sysdeps/s390/s390-32/multiarch/memcpy.S
5886         (memcpy_z196): Rename to __memcpy_z196.
5887         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5888         (memcpy_z10): Rename to __memcpy_z10.
5889         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5890         (memcpy): Set alias to __memcpy_g5.
5891         * sysdeps/s390/s390-32/multiarch/memset.S
5892         (memset_z196): Rename to __memset_z196.
5893         Jump to __memset_mvcle instead of memset_mvcle.
5894         (memset_z10): Rename to __memset_z10.
5895         Jump to __memset_mvcle instead of memset_mvcle.
5896         (memset_mvcle) Rename to __memset_mvcle.
5897         (memset): Set alias to __memset_g5.
5898         * sysdeps/s390/s390-64/memcmp.S
5899         (memcmp_z900): Rename to __memcmp_z900.
5900         * sysdeps/s390/s390-64/memcpy.S
5901         (memcpy_z900): Rename to __memcpy_z900.
5902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5903         (memcpy_mvcle) Rename to __memcpy_mvcle.
5904         * sysdeps/s390/s390-64/memset.S
5905         (memset_z900): Rename to __memset_z900.
5906         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5907         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5908         and use prefixed functions.
5909         * sysdeps/s390/s390-64/multiarch/memcmp.S
5910         (memcmp_z196): Rename to __memcmp_z196.
5911         (memcmp_z10): Rename to __memcmp_z10.
5912         (memcmp): Set alias to __memcmp_z900.
5913         (bcmp): Set alias to __memcmp_z900.
5914         * sysdeps/s390/s390-64/multiarch/memcpy.S
5915         (memcpy_z196): Rename to __memcpy_z196.
5916         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5917         (memcpy_z10): Rename to __memcpy_z10.
5918         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5919         (memcpy): Set alias to __memcpy_z900.
5920         * sysdeps/s390/s390-64/multiarch/memset.S
5921         (memset_z196): Rename to __memset_z196.
5922         Jump to __memset_mvcle instead of memset_mvcle.
5923         (memset_z10): Rename to __memset_z10.
5924         Jump to __memset_mvcle instead of memset_mvcle.
5925         (memset_mvcle) Rename to __memset_mvcle.
5926         (memset): Set alias to __memset_z900.
5928 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5930         [BZ #17748]
5931         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5932         __fesetenv instead of fesetenv.
5934 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5936         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5937         macro.
5939 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5941         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5942         regression on LE.
5944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5945         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5947         strncmp-power8 object.
5948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5949         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5950         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5951         * NEWS: Update.
5953 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5956         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5957         trailing byte check.
5959 2015-01-13  David S. Miller  <davem@davemloft.net>
5961         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5963 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5965         * login/logout.c (logout): Use memset rather than bzero.
5966         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5967         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5968         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5969         (_gethtbyaddr): Likewise.
5970         * locale/programs/simple-hash.c (bcopy): Macro removed.
5972 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5975         Add strcmp-power8 object.
5976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5977         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5978         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5979         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5980         __strcmp_power8 implementation.
5981         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5982         * NEWS: Update.
5984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5985         Add strncpy-power8 and stpncpy-power8 objects.
5986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5987         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5988         implementations.
5989         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5991         __stpncpy_power8 implementation.
5992         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5993         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5994         __strncpy_power8 implementation.
5995         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5996         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5997         * NEWS: Update.
5999         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6000         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6001         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6004         strncat-power8 object.
6005         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6006         __strcat_power8 implementation.
6007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6008         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6009         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6010         optimized strcat for power8.
6012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6013         strcpy-power8 and stpcpy-power8 objects.
6014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6015         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6016         implementations.
6017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6018         multiarch stpcpy implementation for POWER8.
6019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6020         multiarch strcpy implementation for POWER8.
6021         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6022         __strcpy_power8 function.
6023         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6024         stpcpy for POWER8.
6025         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6026         strcpy for POWER8.
6027         * NEWS: Update.
6029 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6031         [BZ #16009]
6032         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6033         weights and rules. Use do_xfrm_cached if data fits in cache,
6034         do_xfrm otherwise.  Moved former main loop to...
6035         * (do_xfrm_cached): New function.
6036         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6037         find_idx, find_position and stack_push.
6038         * (find_idx): New function.
6039         * (find_position): Likewise.
6040         * localedata/sort-test.sh: Added test run for do_xfrm.
6041         * localedata/xfrm-test.c (main): Added command line option
6042         -nocache to run the test with strings that are too large for
6043         the STRXFRM cache.
6045 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6047         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6048         variable to lll_futex_wake call, not the value itself.
6050 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6052         [BZ #17803]
6053         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6054         twom64.  Adjust value to 0x1p-64L.
6055         (__scalblnl): Only return standard underflowing result for K <=
6056         -64 not K <= -63; adjust exponent for underflowing result by 64
6057         not 63.
6058         * math/libm-test.inc (scalbn_test_data): Add more tests.
6059         (scalbln_test_data): Likewise.
6061         [BZ #17834]
6062         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6063         0x1p63L.
6064         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6065         not HX.
6066         * math/libm-test.inc (scalbn_test_data): Add more tests.
6067         (scalbln_test_data): Likewise.
6069 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6070             Stefani Seibold  <stefani@seibold.net>
6072         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6073         (sysdep_routines): Add dl-vdso here, ...
6074         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6075         (sysdep_routines): ... not here.
6076         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6077         fallback when vDSO is not presented.
6078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6079         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6080         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6081         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6082         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6083         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6084         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6085         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6086         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6088         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6089         fallback configurable symbol when vDSO is not available.
6090         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6091         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6092         be able to redefine fallback symbol when vDSO is not available.
6093         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6094         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6096 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6098         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6099         (TLS_INIT_TP): Add tm_capable initialization.
6100         (TLS_DEFINE_INIT_TP): Likewise.
6101         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6102         TCB.
6103         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6104         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6105         calculation.
6106         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6107         transactoion is lock elision is built and TCB tm_capable is set.
6108         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6110         (INTERNAL_SYSCALL_NCS): Likewise.
6111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6112         (INTERNAL_SYSCALL_NCS): Likewise.
6113         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6115         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6116         for powerpc.
6117         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6118         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6119         and remove it for 32 bits case.
6120         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6122         initialization.
6123         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6124         Disable lock elision with rdlocks if elision is not available.
6126         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6127         (sysdep_routines): Add lock elision objects.
6128         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6129         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6130         [pthread_mutex_t] (__elision): Add field.
6131         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6132         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6133         elision definitions for powerpc.
6134         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6135         implementation of lock elision for powerpc.
6136         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6137         implementation of timed lock elision for powerpc.
6138         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6139         implementation of trylock with lock elision for powerpc.
6140         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6141         implementaion of unlock for lock elision for powerpc.
6142         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6143         automatic enable lock elision for mutexes.
6144         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6145         transaction execution definitions for powerpc.
6146         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6147         definitions.
6148         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6149         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6150         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6152         * NEWS: Update.
6154 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6156         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6157         for #include of <shm-directory.h>.
6159 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6162         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6164 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6166         [BZ #17791]
6167         * NEWS: Mention bug fix.
6168         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6169         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6170         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6172 2015-01-09  Torvald Riegel <triegel@redhat.com>
6174         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6176 2015-01-09  Torvald Riegel <triegel@redhat.com>
6178         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6180 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6182         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6183         pointer and cast to uintptr_t.
6185 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6187         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6188         removed.
6189         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6191 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6193         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6194         of 0.
6196 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6198         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6199         <nptl/pthreadP.h> instead.
6200         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6202         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6203         already defined.
6204         [__SIGRTMIN] (init): Function removed.
6205         [__SIGRTMIN] (initialized): Variable removed.
6206         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6207         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6208         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6209         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6210         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6211         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6212         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6213         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6214         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6215         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6216         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6217         * sysdeps/nptl/allocrtsig.c: New file.
6218         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6219         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6220         * sysdeps/generic/testrtsig.h: File removed.
6222         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6223         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6225         * nptl/nptl-init.c (pthread_functions): Conditionalize
6226         .ptr__nptl_setxid initialization on [SIGSETXID].
6228         * sysdeps/nptl/sys/procfs.h: New file.
6229         * nptl_db/Makefile (headers): Add it.
6230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6232         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6233         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6234         * nptl/pthread_attr_setaffinity.c: Include it.
6235         * nptl/pthread_setattr_default_np.c: Likewise.
6236         * nptl/check-cpuset.h: New file.
6238 2015-01-08  Richard Henderson  <rth@redhat.com>
6240         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6241         (CFLAGS-tst-execstack-prog.c): Likewise.
6242         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6244 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6245             Sandra Loosemore  <sandra@codesourcery.com>
6246             Andrew Jenner  <andrew@codesourcery.com>
6247             Joseph Myers  <joseph@codesourcery.com>
6248             Nathan Sidwell  <nathan@codesourcery.com>
6250         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6251         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6252         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6253         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6254         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6255         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6256         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6257         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6258         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6259         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6260         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6261         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6262         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6263         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6264         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6265         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6266         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6268 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6270         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6271         timespec struct member in syscall macro.
6272         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6273         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6274         first timeval struct member in syscall macro.
6275         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6277 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6279         [BZ #17748]
6280         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6281         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6282         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6283         __feupdateenv and define as weak alias of __feupdateenv.  Use
6284         libm_hidden_weak.
6285         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6286         libm_hidden_def.
6287         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6288         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6289         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6290         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6291         libm_hidden_def.
6292         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6293         __feupdateenv and define as weak alias of __feupdateenv.  Use
6294         libm_hidden_weak.
6295         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6296         libm_hidden_def.
6297         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6298         __feupdateenv and define as weak alias of __feupdateenv.  Use
6299         libm_hidden_weak.
6300         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6301         libm_hidden_def.
6302         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6303         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6304         (__feupdateenv): Likewise.
6305         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6306         __feupdateenv and define as weak alias of __feupdateenv.  Use
6307         libm_hidden_weak.
6308         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6309         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6310         libm_hidden_def.
6311         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6312         function.
6313         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6314         libm_hidden_def.
6315         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6316         __feupdateenv instead of feupdateenv.
6317         (default_libc_feupdateenv_test): Likewise.
6318         (libc_feresetround_ctx): Likewise.
6320 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6322         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6323         prototype.
6325 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6327         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6328         COLL_SYM in a couple of places to avoid uninitialized variable
6329         wanings on tilegx gcc 4.8.2.
6331 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6333         * sysdeps/aarch64/strcpy.S: New file.
6334         * sysdeps/aarch64/stpcpy.S: New file.
6335         * NEWS: Updated.
6337 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6339         * sysdeps/aarch64/strrchr.S: New file.
6340         * NEWS: Updated.
6342 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6344         [BZ #17658]
6345         * stdlib/setenv.c: Fix memory leak when setting large,
6346         duplicate string.
6348 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6350         [BZ #17273]
6351         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6352         and tabs from buffer before parsing fstab entry.
6353         * misc/tst-mntent.c (main): Add test for mount entry with
6354         trailing spaces and tabs.
6356 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6358         [BZ #17748]
6359         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6360         * math/fesetround.c (fesetround): Rename to __fesetround and
6361         define as weak alias of __fesetround.  Use libm_hidden_weak.
6362         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6363         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6364         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6365         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6366         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6367         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6368         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6369         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6370         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6371         __fesetround_inline.
6372         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6373         __fesetround_inline instead of __fesetround.
6374         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6375         __fesetround and define as weak alias of __fesetround.  Use
6376         libm_hidden_weak.  Call __fesetround_inline instead of
6377         __fesetround.
6378         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6379         __fesetround and define as weak alias of __fesetround.  Use
6380         libm_hidden_weak.
6381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6382         Likewise.
6383         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6384         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6385         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6386         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6387         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6388         __fesetround and define as weak alias of __fesetround.  Use
6389         libm_hidden_weak.
6390         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6391         __fesetround instead of fesetround.
6392         (default_libc_feholdexcept_setround): Likewise.
6393         (libc_feholdsetround_ctx): Likewise.
6394         (libc_feholdsetround_noex_ctx): Likewise.
6396         [BZ #17748]
6397         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6398         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6399         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6400         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6401         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6402         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6403         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6404         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6405         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6406         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6407         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6408         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6409         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6410         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6411         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6412         libm_hidden_def.
6413         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6414         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6415         Likewise.
6416         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6417         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6418         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6419         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6420         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6421         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6422         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6423         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6424         __fesetenv instead of fesetenv.
6425         (libc_feresetround_noex_ctx): Likewise.
6426         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6427         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6428         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6429         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6430         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6431         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6432         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6433         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6434         (__feupdateenv): Likewise.
6435         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6436         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6437         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6438         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6440 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6442         [BZ #17806]
6443         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6444         addresses have been freed.
6446 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6448         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6449         and nservall.
6451 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6453         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6454         Clean up check_pf allocation pattern. addresses
6456 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6458         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6459         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6460         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6461         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6462         * nptl/pthread_join.c (pthread_join): Likewise.
6463         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6464         * sysdeps/posix/waitid.c (__waitid): Likewise.
6465         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6466         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6467         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6468         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6470         Likewise.
6471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6472         (__libc_pread64): Likewise.
6473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6474         (__libc_pwrite): Likewise.
6475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6476         (__libc_pwrite64): Likewsie.
6477         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6478         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6479         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6480         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6481         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6482         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6483         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6485         Likewise.
6486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6487         (__libc_pread64): Likewise.
6488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6489         Likewise.
6490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6491         (__libc_pwrite64): Likewise.
6492         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6493         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6494         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6495         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6496         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6497         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6498         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6499         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6500         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6501         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6502         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6503         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6504         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6505         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6506         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6508         Likewise.
6510 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6512         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6513         (CFLAGS-test-double.c): Likewise.
6514         (CFLAGS-test-ldouble.c): Likewise.
6515         (CPPFLAGS-test-ifloat.c): Likewise.
6516         (CPPFLAGS-test-idouble.c): Likewise.
6517         (CPPFLAGS-test-ildoubl.c): Likewise.
6518         (CFLAGS-test-test-fenv.c): Remove variable.
6519         (CFLAGS-test-misc.c): Likewise.
6521 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6523         [BZ #17797]
6524         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6525         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6526         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6527         CLOCKS_PER_SEC == 1000000.
6528         * time/clocktest.c (main): Replace %ld with %jd and cast to
6529         intmax_t.
6531 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6533         * sysdeps/generic/unwind-resume.h: New file.
6534         * sysdeps/gnu/unwind-resume.c: Include it.
6535         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6536         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6537         argument list.
6538         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6539         global rather than static.
6540         (_Unwind_Resume): Update user.
6541         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6542         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6543         rather than static.  Add __attribute__ ((cold)).
6544         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6545         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6546         * sysdeps/arm/arm-unwind-resume.S: New file.
6547         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6548         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6549         * sysdeps/arm/Makefile [$(subdir) = csu]
6550         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6551         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6552         Add rt-arm-unwind-resume.
6553         [$(subdir) = nptl]
6554         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6555         Add pt-arm-unwind-resume.
6556         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6557         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6559 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #17748]
6562         * include/fenv.h (__feholdexcept): Declare.  Use
6563         libm_hidden_proto.
6564         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6565         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6566         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6567         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6568         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6569         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6570         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6571         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6572         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6573         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6574         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6575         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6576         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6577         (feholdexcept): Likewise.
6578         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6579         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6580         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6581         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6582         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6583         __feholdexcept instead of feholdexcept.
6584         (default_libc_feholdexcept_setround): Likewise.
6586 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6588         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6589         to avoid using stl/str to align destination.
6591 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6593         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6595 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6597         [BZ #17796]
6598         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6599         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6600         Define as weak alias not strong alias.
6602 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6604         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6605         bltzal with addiupc.
6606         (RTLD_START): Ditto.
6608 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6610         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6611         for __vdso_* functions in declarations.
6612         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6613         definitions.
6614         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6615         INTERNAL_VSYSCALL): Use struct return types to check for error.
6617         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6618         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6619         function with cast from llround().
6620         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6621         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6622         Define.
6624 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6626         [BZ #17793]
6627         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6628         Define as weak alias not strong alias.
6630         [BZ #17635]
6631         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6632         ...
6633         * ctype/ctype-extn.c: ... here.
6634         (__isblank_l): Move to ...
6635         * ctype/ctype-c99_l.c: ... here.  New file.
6636         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6637         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6638         Remove variable.
6639         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6640         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6641         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6642         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6643         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6645         [BZ #17777]
6646         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6647         (posix_fadvise64): Define as weak alias not strong alias.
6648         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6649         (posix_fallocate64): Likewise.
6650         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6651         Remove variable.
6652         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6653         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6654         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6655         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6656         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6658 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6660         [BZ #16191]
6661         * NEWS: Mention bug fix.
6662         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6663         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6664         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6665         (HOST_STACK_END_ADDR): Likewise.
6667 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6669         [BZ #17748]
6670         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6671         * math/fegetround.c (fegetround): Rename to __fegetround and
6672         define as weak alias of __fegetround.  Use libm_hidden_weak.
6673         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6674         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6675         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6676         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6677         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6678         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6679         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6680         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6681         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6682         Undefine after rather than before function definition; use
6683         parentheses around function name in definition.
6684         (__fegetround): Also undefine macro after function definition.
6685         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6686         __fegetround and define as weak alias of __fegetround.  Use
6687         libm_hidden_weak.  Do not undefine as macro.
6688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6689         Likewise.
6690         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6691         __fegetround and define as weak alias of __fegetround.  Use
6692         libm_hidden_weak.
6693         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6694         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6695         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6696         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6697         __fegetround and define as weak alias of __fegetround.  Use
6698         libm_hidden_weak.
6699         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6700         __fegetround instead of fegetround.
6702         [BZ #17782]
6703         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6704         Condition macro definition on [__USE_MISC].
6706         [BZ #17781]
6707         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6708         (struct sigaction): Change type of sa_flags field to int.
6710         [BZ #17780]
6711         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6712         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6713         __glibc_reserved0.
6715         * nptl/version.c (banner): Use single year in copyright notice.
6717         * NEWS: Update copyright dates.
6718         * catgets/gencat.c (print_version): Likewise.
6719         * csu/version.c (banner): Likewise.
6720         * debug/catchsegv.sh: Likewise.
6721         * debug/pcprofiledump.c (print_version): Likewise.
6722         * debug/xtrace.sh (do_version): Likewise.
6723         * elf/ldconfig.c (print_version): Likewise.
6724         * elf/ldd.bash.in: Likewise.
6725         * elf/pldd.c (print_version): Likewise.
6726         * elf/sotruss.sh: Likewise.
6727         * elf/sprof.c (print_version): Likewise.
6728         * iconv/iconv_prog.c (print_version): Likewise.
6729         * iconv/iconvconfig.c (print_version): Likewise.
6730         * locale/programs/locale.c (print_version): Likewise.
6731         * locale/programs/localedef.c (print_version): Likewise.
6732         * login/programs/pt_chown.c (print_version): Likewise.
6733         * malloc/memusage.sh (do_version): Likewise.
6734         * malloc/memusagestat.c (print_version): Likewise.
6735         * malloc/mtrace.pl: Likewise.
6736         * manual/libc.texinfo: Likewise.
6737         * nptl/version.c (banner): Likewise.
6738         * nscd/nscd.c (print_version): Likewise.
6739         * nss/getent.c (print_version): Likewise.
6740         * nss/makedb.c (print_version): Likewise.
6741         * posix/getconf.c (main): Likewise.
6742         * scripts/test-installation.pl: Likewise.
6743         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6745 2015-01-02  Will Newton  <will.newton@linaro.org>
6747         * sysdeps/arm/armv7/configure: Removed.
6748         * sysdeps/arm/armv7/configure.ac: Likewise.
6750 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6752         * All files with FSF copyright notices: Update copyright dates
6753         using scripts/update-copyrights.
6754         * intl/plural.c: Regenerated.
6755         * locale/programs/charmap-kw.h: Likewise.
6756         * locale/programs/locfile-kw.h: Likewise.
6758 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6760         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6762 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #17748]
6765         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6766         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6767         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6768         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6769         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6770         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6771         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6772         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6773         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6774         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6775         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6776         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6777         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6778         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6779         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6780         libm_hidden_def.
6781         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6783         Likewise.
6784         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6785         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6787         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6788         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6789         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6790         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6791         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6792         __fegetenv instead of fegetenv.
6793         (libc_feholdsetround_noex_ctx): Likewise.
6795 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6797         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6798         (Elf_MIPS_ABIFlags_v0): New structure.
6799         (EF_MIPS_FP64): Define.
6800         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6801         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6802         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6803         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6804         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6805         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6806         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6807         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6808         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6809         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6810         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6811         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6812         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6813         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6814         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6815         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6816         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6817         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6818         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6819         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6820         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6821         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6822         field.
6823         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6824         EF_MIPS_FP64.
6825         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6826         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6827         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6828         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6829         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6830         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6831         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6832         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6833         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6834         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6835         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6836         record the current FP ABI extension.
6837         (mips-mode-switch): Define to show if kernel headers support mode
6838         switching.
6839         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6840         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6841         supported SYSV ABI version to 3.
6842         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6843         feature.
6845 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6848         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6849         path.
6850         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6852 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6854         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6855         __fegetround and redefine to call __fegetround.  Remove condition
6856         on [!__NO_MATH_INLINES].
6857         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6858         function.
6859         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6861         Remove macro.
6862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6863         instead of <fenv_libc.h>.
6864         (__llrintl): Call fegetround instead of __fegetround.
6865         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6866         instead of <fenv_libc.h>.
6867         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6868         (__lrintl): Call fegetround instead of __fegetround.
6869         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6870         instead of <fenv_libc.h>.
6871         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6872         (__rintl): Call fegetround instead of __fegetround.
6874 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6876         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6877         arrays.
6879 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6881         [BZ #17775]
6882         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6883         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6884         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6886 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6888         * sysdeps/i386/tls-macros.h: Include <features.h>.
6889         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6890         (TLS_IE): Likewise.
6891         (TLS_LD): Likewise.
6892         (TLS_GD): Likewise.
6893         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6894         define for GCC >= 5.0.
6896 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6898         * math/test-fenv.c (test_single_exception, set_single_exc,
6899         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6900         feexcp_mask_test, feenable_test, fe_single_test): Add
6901         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6902         case where they are not used.
6903         * math/libm-test.inc: Likewise.
6904         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6905         unused in the absence of FP rounding/exception support.
6906         * stdio-common/tst-printf-round.c: Likewise.
6907         * stdlib/tst-strtod-round.c: Likewise.
6908         * stdlib/tst-strtod-underflow.c: Likewise.
6910 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6912         [BZ #17723]
6913         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6914         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6915         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6916         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6917         libm_hidden_weak.
6918         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6919         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6920         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6921         libm_hidden_def.
6922         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6923         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6924         libm_hidden_weak.
6925         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6926         Likewise.
6927         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6928         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6930         libm_hidden_weak.
6931         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6932         libm_hidden_def.
6933         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6934         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6935         (__feraiseexcept): Likewise.
6936         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6937         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6938         libm_hidden_weak.
6939         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6940         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6941         libm_hidden_def.
6942         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6943         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6944         Use libm_hidden_def.
6945         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6946         libm_hidden_def.
6947         (feraiseexcept): Define as weak not strong alias.  Use
6948         libm_hidden_weak.
6949         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6950         New inline function.  Factored out of ...
6951         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6952         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6953         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6954         feraiseexcept.
6955         * math/w_acos.c (__acos): Likewise.
6956         * math/w_asin.c (__asin): Likewise.
6957         * math/w_ilogb.c (__ilogb): Likewise.
6958         * math/w_j0.c (y0): Likewise.
6959         * math/w_j1.c (y1): Likewise.
6960         * math/w_jn.c (yn): Likewise.
6961         * math/w_log.c (__log): Likewise.
6962         * math/w_log10.c (__log10): Likewise.
6963         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6964         * sysdeps/aarch64/fpu/math_private.h
6965         (libc_feupdateenv_test_aarch64): Likewise.
6966         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6967         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6968         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6969         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6970         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6971         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6972         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6973         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6974         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6975         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6977 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6979         [BZ #17732]
6980         * io/test-utime.c (main): Replace %ld with %jd and cast to
6981         intmax_t.
6982         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6983         * nptl/tst-mutex5.c: Include <stdint.h>.
6984         (do_test): Replace %ld with %jd and cast to intmax_t.
6985         * posix/tst-regex.c (run_test): Likewise.
6986         (run_test_backwards): Likewise.
6987         * rt/tst-clock.c: Include <stdint.h>.
6988         (clock_test): Replace %ld with %jd and cast to intmax_t.
6989         * rt/tst-cpuclock1.c: Include <stdint.h>.
6990         (do_test): Replace %lu with %ju and cast to uintmax_t.
6991         * rt/tst-cpuclock2.c: Include <stdint.h>.
6992         (do_test): Replace %lu with %ju and cast to uintmax_t.
6993         * rt/tst-mqueue1.c: Include <stdint.h>.
6994         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6995         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6996         intmax_t.
6997         * rt/tst-mqueue4.c (do_test): Likewise.
6998         * rt/tst-timer4.c: Include <stdint.h>.
6999         (check_ts): Replace %ld with %jd and cast to intmax_t.
7000         (do_test): Likewise.
7001         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7002         and cast to intmax_t.
7003         * sysdeps/pthread/tst-timer.c (main): Likewise.
7004         * time/clocktest.c (main): Likewise.
7005         * time/tst-posixtz.c (do_test): Likewise.
7006         * timezone/tst-timezone.c (main): Likewise.
7008 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7009             H.J. Lu  <hongjiu.lu@intel.com>
7011         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7012         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7013         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7014         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7015         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7016         version if bit_Fast_Unaligned_Load is set.
7017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7024         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7025         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7026         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7027         to 4.
7028         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7029         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7030         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7031         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7033 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7035         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7036         instead of #if to avoid a Wundef warning.
7037         * stdlib/tst-limits.c (do_test): Likewise.
7039         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7040         parallel other exception macros.
7041         (fegetenv): Convert from macro to extern inline so that it applies
7042         retroactively to inline functions already seen by the compiler.
7043         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7045         * posix/Makefile (before-compile): Use $(objpfx) for
7046         posix-conf-vars-def.h.
7048 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7050         * posix/getconf.c (main): Use size_t for type of I.
7051         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7052         NSPEC.
7054         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7055         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7056         * posix/posix-envs.def: Likewise.
7057         * sysdeps/posix/sysconf.c: Likewise.
7058         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7059         (specs): Remove array.
7060         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7061         array.
7063         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7064         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7065         (__sysconf): Use CONF_IS_* macros.
7067         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7068         ($(objpfx)posix-conf-vars-def.h): New target.
7069         * posix/posix-conf-vars.list: New file.
7070         * posix/posix-conf-vars.h: New file.
7071         * posix/confstr.c: Include posix-conf-vars.h.
7072         (confstr): Use CONF_IS_* macros.
7073         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7074         CONF_IS_* macros.
7075         * scripts/gen-posix-conf-vars.awk: New file.
7077 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7079         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7080         fegetround): Add no-op macros to avoid linknamespace issues.
7082         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7083         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7085         * sysdeps/unix/sysv/linux/tile/sysdep.h
7086         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7087         assembly-specific section to avoid a redefinition warning.
7089         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7090         long before casting to pointer to avoid a cast warning.
7092 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7094         * sysdeps/tile/tilegx/Implies: New file.
7096 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7098         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7100 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7102         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7104 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7107         not define.
7108         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7109         <kernel-features.h>.
7110         (__utimes) [__NR_utimes]: Make code unconditional.
7111         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7112         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7113         (__ASSUME_UTIMES): Do not undefine.
7114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7115         (__ASSUME_UTIMES): Likewise.
7116         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7117         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7118         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7119         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7121 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7123         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7125 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7127         [BZ #17747]
7128         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7129         alias to weak alias for j0l, y0l.
7130         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7131         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7133         [BZ #17746]
7134         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7135         conversion.
7137 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7139         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7140         to zero if not already defined.
7142 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7144         [BZ #17724]
7145         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7146         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7147         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7148         (char *) casts added.
7149         * sysdeps/ieee754/k_standardf.c: New file.
7150         * sysdeps/ieee754/k_standardl.c: Likewise.
7151         * math/Makefile (libm-support): Remove k_standard.
7152         (libm-calls): Add k_standard.
7154 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7156         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7157         Optimize to avoid an unnecessary FPCR read.
7159 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7161         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7162         Optimize to reduce FPCR/FPSR accesses.
7164 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7166         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7167         Call libc_fetestexcept_aarch64.
7169 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7171         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7172         Call libc_fesetround_aarch64.
7174 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7176         [BZ #17733]
7177         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7178         (__bind): Do not define as weak alias.
7179         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7180         define.
7181         (__getsockname): Do not define as weak alias.
7183 2014-12-22  Will Newton  <will.newton@linaro.org>
7185         * manual/install.texi: Document that we require bison 2.7
7186         or above.
7187         * INSTALL: Regenerate.
7188         * configure.ac: Use AC_CHECK_PROG_VER instead of
7189         AC_PATH_PROG when checking for bison and check for
7190         version 2.7 or above.
7191         * configure: Regenerate.
7193 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7195         [BZ #17745]
7196         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7197         * sysdeps/tile/ffsll.c (ffsll): To here.
7199         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7201 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7203         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7204         if not defined.
7205         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7206         definition.
7207         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7208         hidden ___tls_get_addr.
7209         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7210         hidden __tls_get_addr.
7211         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7212         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7213         Likewise.
7215 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7217         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7218         _dl_init call.
7220 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7222         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7223         from "call _dl_init@PLT".
7224         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7226 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7228         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7229         guarantees.
7231 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7233         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7235 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7237         [BZ #17744]
7238         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7239         strnlen.
7241 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7243         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7244         of multu on MIPSr6.
7245         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7246         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7247         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7248         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7249         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7251 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7253         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7254         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7255         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7256         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7257         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7258         mips32r6/mips64r6.
7259         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7261 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7263         * string/strncat.c (STRNCAT): Simplify implementation.
7265 2014-12-19  David S. Miller  <davem@davemloft.net>
7267         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7268         access the quad as both a long double and as a series of 4 words.
7270         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7271         link_map->l_info array access.
7273 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7275         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7277         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7278         * math/atest-exp2.c (TIMEOUT): Likewise.
7279         * math/atest-sincos.c (TIMEOUT): Likewise.
7281 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7283         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7284         -Wno-error with -fno-builtin-lround.
7286 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7288         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7289         Contains futex constants and functions moved over from ...
7290         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7291         <lowlevellock-futex.h>.
7292         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7293         (lll_timedwait_tid): Add comments and parentheses around macro
7294         arguments.
7296 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7299         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7300         (__lll_private_flag): Remove.
7301         (lll_futex_wait): Likewise.
7302         (lll_futex_timed_wait): Likewise.
7303         (lll_futex_wake): Likewise.
7304         (lll_futex_requeue): Likewise.
7305         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7306         (__lll_timedwait_tid): Spell out argument names.
7307         (lll_timedwait_tid): Add comments and parentheses around macro
7308         arguments.
7309         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7310         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7312 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7314         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7315         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7316         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7317         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7318         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7319         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7320         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7321         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7324         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7328         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7329         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7330         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7331         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7332         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7334 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7336         * sysdeps/x86_64/x32/Makefile: New file.
7338 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7340         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7341         1L with (mp_limb_t) 1.
7343 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7345         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7346         * nptl/libc_pthread_init.c: ... here.
7347         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7348         * nptl/register-atfork.c: ... here.
7350         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7351         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7352         Use assert_perror to check its return value.
7353         (__gai_create_helper_thread): Likewise.
7355         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7357         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7359 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7361         [BZ #17725]
7362         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7363         __profil_counter.
7364         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7365         Likewise.
7366         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7367         Likewise.
7368         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7369         Likewise.
7370         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7371         (profil_counter): Likewise.
7372         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7373         (profil_counter): Likewise.
7374         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7375         Likewise.
7376         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7377         Likewise.
7378         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7379         (profil_counter): Likewise.
7380         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7381         Likewise.
7382         [!__profil_counter] (profil_counter): Define as weak alias of
7383         __profil_counter.
7384         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7385         (profil_counter): Rename to __profil_counter.
7386         [!__profil_counter] (profil_counter): Define as weak alias of
7387         __profil_counter.
7388         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7389         (profil_counter): Rename to __profil_counter.
7390         [!__profil_counter] (profil_counter): Define as weak alias of
7391         __profil_counter.
7392         * sysdeps/posix/profil.c: Update comment referring to
7393         profil_counter.
7394         (__profil): Use __profil_counter instead of profil_counter.
7395         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7396         __profil_counter.  Use __profil_counter_ushort and
7397         __profil_counter_uint in definitions.
7398         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7399         instead of profil_counter_uint and profil_counter_ushort.
7401         [BZ #17722]
7402         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7403         define as weak alias of __inet_makeaddr.
7404         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7405         as weak alias of __inet_addr.
7406         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7407         as weak alias of __inet_pton.  Use libc_hidden_weak.
7408         * include/arpa/inet.h (__inet_pton): Declare.  Use
7409         libc_hidden_proto.
7410         (inet_makeaddr): Don't use libc_hidden_proto.
7411         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7412         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7413         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7414         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7415         Remove variable.
7416         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7417         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7419 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7421         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7423 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7425         * stdio-common/bug-vfprintf-nargs.c (do_test):
7426         Cast value to intptr_t to avoid format warning
7427         for usage with PRIdPTR printing macro.
7429 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7431         * libio/tst-widetext.c (do_test):
7432         Use format type %td instead of %Zd for ptrdiff_t
7433         in order to avoid format warning.
7435 2014-12-17  Andreas Schwab  <schwab@suse.de>
7437         * nscd/mem.c (gc): Add size_t cast to match printf format.
7439 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7441         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7442         (init): Apply PTR_MANGLE to pointers before storing them.
7443         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7444         before using them.
7446 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7448         [BZ #17719]
7449         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7450         define as weak alias of __memrchr.
7451         (__memrchr): Do not define as strong alias of memrchr.
7452         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7453         Remove variable.
7454         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7455         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7456         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7458         [BZ #17717]
7459         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7460         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7461         (if_indextoname): Rename to __if_indextoname and define as weak
7462         alias of __if_indextoname.  Use libc_hidden_weak.
7463         (if_freenameindex): Rename to __if_freenameindex and define as
7464         weak alias of __if_freenameindex.
7465         (if_nameindex): Rename to __if_nameindex and define as weak alias
7466         of __if_nameindex.
7467         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7468         __if_nametoindex and define as weak alias of __if_nametoindex.
7469         Use libc_hidden_weak.
7470         (if_freenameindex): Rename to __if_freenameindex and define as
7471         weak alias of __if_freenameindex.
7472         (if_nameindex): Rename to __if_nameindex and define as weak alias
7473         of __if_nameindex.
7474         (if_indextoname): Rename to __if_indextoname and define as weak
7475         alias of __if_indextoname.  Use libc_hidden_weak.
7476         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7477         __if_nametoindex and define as weak alias of __if_nametoindex.
7478         Use libc_hidden_weak.
7479         (if_freenameindex): Rename to __if_freenameindex and define as
7480         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7481         (if_nameindex_netlink): Use __if_freenameindex instead of
7482         if_freenameindex.
7483         (if_nameindex): Rename to __if_nameindex and define as weak alias
7484         of __if_nameindex.  Use libc_hidden_weak.
7485         (if_indextoname): Rename to __if_indextoname and define as weak
7486         alias of __if_indextoname.  Use libc_hidden_weak.
7487         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7488         libc_hidden_proto.
7489         [!_ISOMAC] (__if_freenameindex): Likewise.
7490         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7491         if_nametoindex.
7492         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7493         variable.
7494         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7495         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7496         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7497         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7498         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7499         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7500         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7502         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7503         Remove variable.
7504         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7505         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7507 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7509         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7510         subscript above bounds'
7512         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7513         bounds.
7515 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7517         * libio/tst-fopenloc.c: Use test-skeleton.c.
7519         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7520         (entry): Rename to ITEM.
7521         (do_test, comp): Adjust.
7523         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7525 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7527         * string/tester.c: Include <libc-internal.h>.
7528         (test_memset): Ignore -Wmemset-transposed-args.
7530 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7532         * misc/tst-mntent2.c (do_test): Fix warning.
7534 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7536         * elf/tst-unique4lib.cc(a): Mark as used.
7538 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7540         [BZ #17630]
7541         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7542         names.
7544 2014-12-16  Allan McRae  <allan@archlinux.org>
7546         * stdio-common/Makefile (tests): Re-add bug26.
7548 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7550         [BZ #17657]
7551         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7552         static array.
7554 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7556         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7557         (__lll_lock_wait): Likewise.
7558         (__lll_timedlock_wait): Likewise.
7559         (__lll_timedwait_tid): Likewise.
7560         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7561         (__lll_robust_timedlock_wait): Likewise.
7562         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7563         (lll_cond_trylock): Likewise.
7564         (__lll_lock): Likewise.
7565         (__lll_robust_lock): Likewise.
7566         (__lll_cond_lock): Likewise.
7567         (lll_robust_cond_lock): Likewise.
7568         (__lll_timedlock): Likewise.
7569         (__lll_robust_timedlock): Likewise.
7570         (__lll_unlock): Likewise.
7571         (__lll_robust_unlock): Likewise.
7572         (lll_wait_tid): Likewise.
7573         (lll_timedwait_tid): Likewise.
7575 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7577         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7579 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7581         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7583 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7585         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7586         * stdio-common/tst-sprintf.c: Likewise.
7588 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7590         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7592 2014-12-15  Jeff Law  <law@redhat.com>
7594         [BZ #16617]
7595         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7596         on the heap.  (CVE-2012-3406)
7597         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7598         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7599         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7601 2014-12-15  Will Newton  <will.newton@linaro.org>
7603         * manual/install.texi: Bump required version of texinfo
7604         to 4.7 from 4.5.
7605         * INSTALL: Regenerated.
7606         * configure.ac: Check for makeinfo version 4.7 and above.
7607         * configure: Regenerated.
7609 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7611         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7612         PREFIX, string constant to insert between directory and name.
7613         * sysdeps/posix/shm_open.c: Update caller.
7614         * sysdeps/posix/shm_unlink.c: Likewise.
7615         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7616         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7617         (SEM_SHM_PREFIX): New macro.
7618         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7619         [$(have-thread-library) = no].
7620         * nptl/Makefile (libpthread-routines): Add shm-directory.
7621         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7622         * sysdeps/nptl/shm-directory.h: New file.
7623         * sysdeps/posix/shm-directory.c
7624         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7625         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7626         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7627         INTERNAL_SYSCALL.
7628         (__where_is_shmfs): Function removed.
7629         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7630         Variables removed.
7631         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7632         Use SHM_GET_NAME.
7633         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7635         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7636         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7637         unconditional for use inside libpthread.
7638         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7640 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7642         * nptl/pthread_getaffinity.c: New file.
7643         * nptl/pthread_setaffinity.c: New file.
7644         * nptl/pthread_getname.c: New file.
7645         * nptl/pthread_setname.c: New file.
7647         * nptl/pthread_create.c (START_THREAD_DEFN)
7648         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7650 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7651             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7653         * resolv/res_send.c (send_vc): Disable warning resplen may
7654         be used uninitialized.
7656 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7658         * nptl/tst-mutex6.c
7659         (ATTR_NULL): New define checks ATTR against NULL.
7660         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7661         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7663 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7665         [BZ #17581]
7666         * malloc/hooks.c
7667         (mem2mem_check): Revert my previous change.
7668         (malloc_check_get_size): Revert my previous change.
7669         (mem2chunk_check): Revert my previous change.
7671 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7673         * sysdeps/posix/shm-directory.c: New file.
7674         * sysdeps/posix/shm-directory.h: New file.
7675         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7676         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7677         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7678         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7679         Transmute EPERM to EACCES.
7680         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7681         from ...
7682         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7683         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7685 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7687         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7688         pointer and cast to uintptr_t.
7689         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7690         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7691         Add cast to avoid warning.
7692         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7694 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7696         * nptl/semaphore.h: Move to ...
7697         * sysdeps/pthread/semaphore.h: ... here.
7698         * Makefile (installed-headers): Change nptl/semaphore.h to
7699         sysdeps/pthread/semaphore.h.
7701 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7703         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7704         generated error format strings.
7706         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7707         -Wformat-extra-args warnings for scanf formats.
7708         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7709         test of zero-length format (duh).
7710         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7711         corner-case scanf format test.
7712         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7713         generated fprintf format string.
7714         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7715         corner-case sprintf format tests.
7716         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7717         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7718         -Wformat-extra-args warnings throughout.
7719         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7720         (CFLAGS-scanf4.c): Likewise.
7721         (CFLAGS-scanf7.c): Likewise.
7722         (CFLAGS-tst-sprintf.c): Likewise.
7723         (CFLAGS-tst-printf.c): Likewise.
7724         (CFLAGS-tst-printfsz.c): Likewise.
7726 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7728         * include/cpio.h: New file.
7729         * include/fmtmsg.h: Likewise.
7731         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7732         corresponding format argument to size_t.
7733         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7734         arguments.
7735         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7736         corresponding format argument to size_t.
7737         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7738         arguments.
7739         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7740         corresponding format argument to size_t.
7741         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7742         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7743         (CFLAGS-tst-mbswcs2.c): Likewise.
7744         (CFLAGS-tst-mbswcs3.c): Likewise.
7745         (CFLAGS-tst-mbswcs4.c): Likewise.
7746         (CFLAGS-tst-mbswcs5.c): Likewise.
7747         (CFLAGS-tst-trans.c): Likewise
7749 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7751         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7752         rather than assuming they won't contain any '%'s.
7754 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7756         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7757         inhibit_loop_to_libcall to avoid recursive calls.
7758         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7759         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7761 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7763         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7764         prototype.
7766 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7768         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7769         integer value instead of boolean.
7771 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7773         * malloc/malloc.c: Fix powerof2 check.
7775 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7777         * locale/programs/locfile.h (maybe_swap_uint32):
7778         Remove inline and add unused attribute.
7780 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7782         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7783         Truncating assembler expression to a .long expression.
7785 2014-12-11  Andreas Schwab  <schwab@suse.de>
7787         * elf/rtld.c (struct map_args): Constify str member.
7788         (do_preload): Constify fname argument.
7790 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7793         constants definition.
7795 2014-12-11  Andreas Schwab  <schwab@suse.de>
7797         [BZ #16657]
7798         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7799         FORCE_ELISION instead of DO_ELISION.
7800         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7801         Remove.
7802         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7803         Likewise.
7805         * iconvdata/gconv-modules: Remove duplicate entry.
7807 2014-12-11  Will Newton  <will.newton@linaro.org>
7809         Merge gettext 0.19.3 into intl/.
7811         This involves a number of cosmetic changes to comments
7812         and ANSI function definitions and prototypes throughout
7813         all the files. The gettext copyright header is used but
7814         with the date ranges taken from the glibc copy.
7816         * NEWS: Add gettext merge to 2.21.
7817         * intl/bindtextdom.c: Switch to gettext copyright.
7818         Use ANSI definitions and prototypes.
7819         Use gl_* locking primitives rather than __libc_* ones.
7820         Use __builtin_expect rather than __glibc_likely/unlikely.
7821         * intl/dcgettext.c: Switch to gettext copyright.
7822         Use ANSI definitions and prototypes.
7823         * intl/dcigettext.c: Switch to gettext copyright.
7824         Use ANSI definitions and prototypes.
7825         (INTDIV0_RAISES_SIGFPE): New define.
7826         Use gl_* locking primitives rather than __libc_* ones.
7827         Include eval-plural.h instead of plural-eval.c.
7828         Use __builtin_expect rather than __glibc_likely/unlikely.
7829         * intl/dcngettext.c: Switch to gettext copyright.
7830         Use ANSI definitions and prototypes.
7831         * intl/dgettext.c: Likewise.
7832         * intl/dngettext.c: Likewise.
7833         * intl/plural-eval.c: Renamed to...
7834         * intl/eval-plural.h: ...this.
7835         * intl/explodename.c: Switch to gettext copyright.
7836         Use ANSI definitions and prototypes.
7837         (_nl_explode_name): Use strchr instead of __rawmemchr.
7838         * intl/finddomain.c: Switch to gettext copyright.
7839         Use ANSI definitions and prototypes.
7840         Use gl_* locking primitives rather than __libc_* ones.
7841         (_nl_find_domain): Use malloc rather than alloca for
7842         allocation of temporary locale name.
7843         * intl/gettext.c: Switch to gettext copyright.
7844         Use ANSI definitions and prototypes.
7845         * intl/gettextP.h: Switch to gettext copyright.
7846         Use ANSI definitions and prototypes.
7847         Use gl_* locking primitives rather than __libc_* ones.
7848         * intl/gmo.h: Switch to gettext copyright.
7849         (struct sysdep_string): Move struct segment_pair outside of
7850         struct definition.
7851         * intl/hash-string.c: Use ANSI definitions and prototypes.
7852         * intl/hash-string.h: Switch to gettext copyright.
7853         Use ANSI definitions and prototypes.
7854         * intl/l10nflist.c: Switch to gettext copyright.
7855         Use ANSI definitions and prototypes.
7856         (_nl_normalize_codeset): Avoid integer overflow.
7857         * intl/loadinfo.h: Switch to gettext copyright.
7858         Use ANSI definitions and prototypes.
7859         (LIBINTL_DLL_EXPORTED): New define.
7860         (PATH_SEPARATOR): New define.
7861         * intl/loadmsgcat.c: Switch to gettext copyright.
7862         * intl/localealias.c: Switch to gettext copyright.
7863         Use ANSI definitions and prototypes.
7864         (_nl_expand_alias): Use PATH_SEPARATOR.
7865         * intl/ngettext.c: Switch to gettext copyright.
7866         Use ANSI definitions and prototypes.
7867         * intl/plural-exp.c: Likewise.
7868         * intl/plural-exp.h: Switch to gettext copyright.
7869         Use ANSI definitions and prototypes.
7870         (struct expression): Move definition of enum operator outside
7871         of struct definition.
7872         * intl/plural.c: Regenerate.
7873         * intl/plural.y: Switch to gettext copyright.
7874         Use ANSI definitions and prototypes.
7875         Port to bison 3.0.
7876         * intl/textdomain.c: Switch to gettext copyright.
7877         Use ANSI definitions and prototypes.
7878         Use gl_* locking primitives rather than __libc_* ones.
7880 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7882         * debug/warning-nop.c: Add used atrribute.
7884 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7886         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7888         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7889         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7890         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7892 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7893             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7895         [BZ #17634]
7896         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7897         Undefine after defining function.  Define as weak alias of
7898         __wcschr.  Use libc_hidden_weak.
7899         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7900         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7901         (libc_hidden_def): Also define __GI___wcschr alias.
7902         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7903         __wcschr and define as weak alias of __wcschr.
7904         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7905         __wcschr.
7906         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7907         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7908         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7909         libc_hidden_weak.  Do not use libc_hidden_def.
7910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7911         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7912         __GI___wcschr alias.
7913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7914         [IS_IN (libc)] (wcschr): Define as macro expanding to
7915         __redirect_wcschr.
7916         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7917         [IS_IN (libc)] (__wcschr_power6): Likewise.
7918         [IS_IN (libc)] (__wcschr_power7): Likewise.
7919         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7920         instead of wcschr.
7921         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7922         __libc_wcschr.
7923         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7924         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7925         __wcschr and define as weak alias of __wcschr.  Use
7926         libc_hidden_builtin_def.
7927         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7928         as weak alias of __wcschr.  Use libc_hidden_weak.
7929         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7930         wcschr.
7931         * time/era.c (_nl_init_era_entries): Likewise.
7932         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7933         variable.
7934         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7935         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7937 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7939         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7940         format for long int variable.
7942 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7944         [BZ #10672]
7945         * manual/search.texi: (Array Sort Function): Remove claim how to make
7946         qsort stable.
7948 2014-12-10  Andreas Schwab  <schwab@suse.de>
7950         [BZ #12847]
7951         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7952         user-controlled locks.
7954 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7956         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7957         register.
7959 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7961         * configure.ac (--disable-werror): New configure option.
7962         (enable_werror): New AC_SUBST.
7963         * configure: Regenerated.
7964         * config.make.in (enable-werror): New variable.
7965         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7966         -Wno-error=undef.
7967         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7968         * manual/install.texi (Configuring and compiling): Document
7969         --disable-werror.
7970         * INSTALL: Regenerated.
7971         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7972         (CFLAGS-tst-chk2.c): Likewise.
7973         (CFLAGS-tst-chk3.c): Likewise.
7974         (CFLAGS-tst-chk4.cc): Likewise.
7975         (CFLAGS-tst-chk5.cc): Likewise.
7976         (CFLAGS-tst-chk6.cc): Likewise.
7977         (CFLAGS-tst-lfschk1.c): Likewise.
7978         (CFLAGS-tst-lfschk2.c): Likewise.
7979         (CFLAGS-tst-lfschk3.c): Likewise.
7980         (CFLAGS-tst-lfschk4.cc): Likewise.
7981         (CFLAGS-tst-lfschk5.cc): Likewise.
7982         (CFLAGS-tst-lfschk6.cc): Likewise.
7984         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7985         (main): Disable -Wdeprecated-declarations around calls to
7986         register_printf_function.
7988         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7989         (do_test): Disable -Wdiv-by-zero around some calls to
7990         fwrite_unlocked and fread_unlocked.
7992         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7993         (DIAG_POP_NEEDS_COMMENT): Likewise.
7994         (_DIAG_STR1): Likewise.
7995         (_DIAG_STR): Likewise.
7996         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7997         * stdio-common/bug21.c: Include <libc-internal.h>.
7998         (do_test): Disable -Wformat around call to sscanf.
7999         * stdio-common/scanf14.c: Include <libc-internal.h>.
8000         (main): Disable -Wformat around some calls to scanf functions.
8002 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8004         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8006 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8008         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8009         stack variable alignment.
8011 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8013         [BZ #17682]
8014         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8015         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8016         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8017         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8018         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8019         __getrlimit instead of getrlimit.
8020         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8021         __gettimeofday instead of gettimeofday.
8022         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8023         Likewise.
8024         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8025         Likewise.
8026         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8027         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8028         Remove variable.
8029         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8030         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8032 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8034         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8035         for wide-character tests.
8037 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8039         * io/openat64.c: #include <libc-internal.h>
8040         (__openat64): Prototypify.  Use ignore_value on MODE.
8041         * io/openat.c: Likewise.
8042         * misc/reboot.c: #include <libc-internal.h>
8043         (reboot): Prototypify.  Use ignore_value on HOWTO.
8044         * misc/ptrace.c: #include <libc-internal.h>
8045         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8047 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8049         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8050         XPG4, UNIX98 and XOPEN2K.
8051         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8052         Remove variable.
8053         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8055 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8057         * libio/fileops.c: Use ISO C style for function definitions.
8058         * libio/iofopen.c: Likewise.
8059         * libio/wfileops.c: Likewise.
8061         [BZ #17653]
8062         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8063         offset on EOF.
8064         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8065         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8066         (fgets_func): Function pointer to fgets and fgetws.
8067         (do_ftell_test): Add test to verify ftell value after read
8068         EOF.
8069         (do_test): Set fgets_func.
8071         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8072         O_TRUNC flag for w and w+ modes.
8073         (do_rewind_test): Likewise.
8074         (do_ftell_test): Likewise.
8075         (do_write_test): Likewise.
8077         [BZ #17647]
8078         * libio/fileops.c (do_ftell): Seek only when there are
8079         unflushed writes.
8080         * libio/wfileops.c (do_ftell_wide): Likewise.
8081         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8082         test case.
8083         (do_one_test): Call it.
8085 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8087         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8088         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8089         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8090         Remove variable.
8091         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8092         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8093         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8095 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8097         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8098         Remove variable.
8099         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8101         [BZ #17668]
8102         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8103         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8104         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8105         __freeifaddrs.  Use libc_hidden_weak.
8106         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8107         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8108         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8109         __freeifaddrs.  Use libc_hidden_weak.
8110         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8111         __getifaddrs and define as weak alias of __getifaddrs.  Use
8112         libc_hidden_weak.
8113         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8114         __freeifaddrs.  Use libc_hidden_weak.
8115         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8116         Remove variable.
8117         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8118         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8120 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8122         [BZ #17601]
8123         * sysdeps/mips/start.S (__start): Use indirect jump to call
8124         __libc_start_main.
8126 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8128         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8130         * nptl/tst-mutex1.c: Include <stdbool.h>.
8131         [!ATTR] (ATTR_NULL): New macro.
8132         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8133         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8134         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8136         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8137         to char *.
8139         [BZ #17665]
8140         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8141         Change conditional to [__USE_MISC].
8143         [BZ #17664]
8144         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8145         fgets_unlocked.
8146         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8147         __fgets_unlocked.
8148         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8149         fgets_unlocked.
8150         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8151         Remove variable.
8152         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8153         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8154         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8155         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8156         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8157         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8158         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8159         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8160         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8162         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8164 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8167         Remove strpbrk objects.
8168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8169         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8170         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8172         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8173         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8176         Remove strcspn objects.
8177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8178         (__libc_ifunc_impl_list): Remove strcspn implementation.
8179         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8180         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8181         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8182         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8185         Remove strspn objetcs.
8186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8187         (__libc_ifunc_impl_list): Remove strspn implementation.
8188         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8189         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8190         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8191         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8193 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8195         [BZ #17581]
8196         * malloc/hooks.c
8197         (mem2mem_check): Add a terminator to the chain of checking blocks.
8198         (malloc_check_get_size): Use it here.
8199         (mem2chunk_check): Ditto.
8201 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8203         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8204         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8206 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8208         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8210         * nptl/nptl-init.c: Include libc-internal.h.
8211         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8213         * elf/ldconfig.c (search_dir): Expand comment.
8215 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8217         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8218         variable.
8219         (linknamespace-symlist-stdlibs-tests): Likewise.
8220         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8221         instead of $(objpfx)symlist-stdlibs.
8222         (linknamespace-libs-isoc): New variable.
8223         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8224         (linknamespace-libs-ISO): New variable.
8225         (linknamespace-libs-ISO99): Likewise.
8226         (linknamespace-libs-ISO11): Likewise.
8227         (linknamespace-libs-XPG3): Likewise.
8228         (linknamespace-libs-XPG4): Likewise.
8229         (linknamespace-libs-POSIX): Likewise.
8230         (linknamespace-libs-UNIX98): Likewise.
8231         (linknamespace-libs-XOPEN2K): Likewise.
8232         (linknamespace-libs-POSIX2008): Likewise.
8233         (linknamespace-libs-XOPEN2K8): Likewise.
8234         ($(objpfx)symlist-stdlibs): Replace by
8235         $(linknamespace-symlist-stdlibs-tests).  Use
8236         $(linknamespace-libs-$*) as set of libraries.
8237         ($(linknamespace-header-tests)): Update dependencies.  Use
8238         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8239         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8240         * conform/linknamespace.pl: Remove comment about considering
8241         definitions of symbols from irrelevant libraries.
8243 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8245         [BZ #13862]
8246         * elf/dl-tls.c: Include <atomic.h>.
8247         (oom): Remove #ifdef SHARED/#endif.
8248         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8249         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8250         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8251         big enough.
8252         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8253         * nptl/Makefile (tests): Add tst-stack4.
8254         (modules-names): Add tst-stack4mod.
8255         ($(objpfx)tst-stack4): New.
8256         (tst-stack4mod.sos): Likewise.
8257         ($(objpfx)tst-stack4.out): Likewise.
8258         ($(tst-stack4mod.sos)): Likewise.
8259         (clean): Likewise.
8260         * nptl/tst-stack4.c: New file.
8261         * nptl/tst-stack4mod.c: Likewise.
8263 2014-11-27  J. Brown  <jb999@gmx.de>
8265         * sysdeps/x86/bits/string.h: Add recent CPUs.
8267 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8269         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8270         sigblock.
8272         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8273         feof.
8275         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8276         variable.
8278 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8280         * nscd/connections.c: Include libc-internal.h because of macro
8281         usage ignore_value.
8283 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285         * string/bits/string3.h (__warn_memset_zero_len): Don't
8286         declare for gcc newer than 5.0.
8287         (memset): Don't test for zero-length __LEN for gcc newer than
8288         5.0.
8290 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8292         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8293         size_t for %zu format.
8295         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8296         difference, not %ju.
8298 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8300         * include/libc-internal.h (ignore_value): New macro.
8301         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8302         with ignore_value.
8304         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8305         definition.
8307         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8308         pthread_cleanup_push to void *.
8310         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8311         Undefine.
8313         [BZ #16619]
8314         [BZ #16740]
8315         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8316         instead of 1L << 52.
8318         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8319         * libio/bug-rewind2.c (do_test): Likewise.
8321         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8322         * debug/test-strcpy_chk-ifunc.c: Likewise.
8323         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8324         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8325         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8326         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8327         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8328         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8329         * Rules [$(multi-arch) = no] (tests): Do not filter out
8330         $(tests-ifunc).
8331         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8332         * debug/Makefile (tests-ifunc): Remove variable.
8333         (tests): Do not add $(tests-ifunc).
8334         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8335         (tests): Do not add $(tests-ifunc).
8336         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8337         [TEST_IFUNC]: Remove conditionals.
8338         * string/test-string.h (TEST_IFUNC): Remove macro.
8339         [TEST_IFUNC]: Remove conditionals.
8341         * string/test-strchr.c [!WIDE] (L): New macro.
8342         [WIDE] (L): Likewise.
8343         (check1): Use CHAR instead of char.  Use L on string and character
8344         constants.
8346 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8348         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8349         tests.
8350         * sysdeps/powerpc/bits/atomic.h
8351         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8352         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8353         (atomic_exchange_and_add_acq): Likewise.
8354         (atomic_exchange_and_add_rel): Likewise.
8355         * sysdeps/powerpc/powerpc32/bits/atomic.h
8356         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8357         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8358         * sysdeps/powerpc/powerpc64/bits/atomic.h
8359         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8360         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8362 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8364         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8365         Change synchronization of __sched_fifo_min_prio and
8366         __sched_fifo_max_prio.
8367         * nptl/pthread_mutexattr_getprioceiling.c
8368         (pthread_mutexattr_getprioceiling): Likewise.
8369         * nptl/pthread_mutexattr_setprioceiling.c
8370         (pthread_mutexattr_setprioceiling): Likewise.
8371         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8372         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8373         Likewise.
8375 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8377         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8378         void.
8380 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8382         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8383         third argument const.
8385 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8387         fnmatch: work around GCC compiler warning bug with uninit var
8388         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8389         This works around a bug with x86-64 GCC 4.9.2 and earlier
8390         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8391         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8392         used uninitialized in this function [-Wmaybe-uninitialized]".
8394 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8396         * posix/bug-regex31.c (main): Return RES not 0.
8398 2014-11-25  Anton Blanchard <anton@samba.org>
8400         * sysdeps/powerpc/bits/atomic.h
8401         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8403 2014-11-24  Sterling Augustine  <saugustine@google.com>
8405         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8407 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8409         [BZ #17608]
8410         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8412 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8414         [BZ #17633]
8415         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8416         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8417         variable.
8418         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8419         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8421 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8423         * string/strncpy.c (strncpy): Improve performance by using memset.
8425 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8427         * string/strcpy.c (strcpy):
8428         Improve performance by using strlen and memcpy.
8430 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8432         * string/strcoll_l.c (get_next_seq): __always_inline.
8433         * string/strcoll_l.c (do_compare): __always_inline.
8435 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8437         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8438         defined.
8439         * include/mqueue.h: Likewise.
8440         * include/stdlib.h: Likewise.
8442         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8443         (get_null_defines): Adjust.
8444         * sunrpc/Makefile: Adjust comment.
8445         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8446         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8447         (CFLAGS-interp.c): Likewise.
8448         (CFLAGS-ldconfig.c): Likewise.
8449         (CPPFLAGS-.os): Likewise.
8450         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8451         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8452         * extra-modules.mk (extra-modules.mk): Likewise.
8453         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8454         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8455         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8456         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8457         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8458         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8459         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8460         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8461         * iconvdata/Makefile (CPPFLAGS): Likewise.
8462         (cpp-srcs-left): Add libof for all iconvdata routines.
8463         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8464         * include/assert.h: Likewise.
8465         * include/ctype.h: Likewise.
8466         * include/errno.h: Likewise.
8467         * include/libc-symbols.h: Likewise.
8468         * include/math.h: Likewise.
8469         * include/netdb.h: Likewise.
8470         * include/resolv.h: Likewise.
8471         * include/stdio.h: Likewise.
8472         * include/stdlib.h: Likewise.
8473         * include/string.h: Likewise.
8474         * include/sys/stat.h: Likewise.
8475         * include/wctype.h: Likewise.
8476         * intl/l10nflist.c: Likewise.
8477         * libidn/idn-stub.c: Likewise.
8478         * libio/libioP.h: Likewise.
8479         * nptl/libc_multiple_threads.c: Likewise.
8480         * nptl/pthreadP.h: Likewise.
8481         * posix/regex_internal.h: Likewise.
8482         * resolv/res_hconf.c: Likewise.
8483         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8484         * sysdeps/arm/memmove.S: Likewise.
8485         * sysdeps/arm/sysdep.h: Likewise.
8486         * sysdeps/generic/_itoa.h: Likewise.
8487         * sysdeps/generic/symbol-hacks.h: Likewise.
8488         * sysdeps/gnu/errlist.awk: Likewise.
8489         * sysdeps/gnu/errlist.c: Likewise.
8490         * sysdeps/i386/i586/memcpy.S: Likewise.
8491         * sysdeps/i386/i586/memset.S: Likewise.
8492         * sysdeps/i386/i686/memcpy.S: Likewise.
8493         * sysdeps/i386/i686/memmove.S: Likewise.
8494         * sysdeps/i386/i686/mempcpy.S: Likewise.
8495         * sysdeps/i386/i686/memset.S: Likewise.
8496         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8497         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8498         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8499         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8500         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8502         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8512         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8513         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8514         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8515         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8516         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8517         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8518         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8519         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8520         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8522         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8523         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8524         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8525         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8526         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8527         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8529         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8530         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8532         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8533         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8538         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8539         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8540         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8541         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8542         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8543         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8544         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8545         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8546         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8547         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8548         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8550         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8551         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8553         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8554         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8555         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8556         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8557         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8558         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8559         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8560         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8561         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8562         * sysdeps/posix/closedir.c: Likewise.
8563         * sysdeps/posix/opendir.c: Likewise.
8564         * sysdeps/posix/readdir.c: Likewise.
8565         * sysdeps/posix/rewinddir.c: Likewise.
8566         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8567         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8568         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8569         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8570         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8571         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8572         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8581         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8583         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8584         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8585         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8586         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8588         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8589         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8590         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8594         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8601         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8603         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8604         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8605         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8606         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8607         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8608         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8610         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8612         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8614         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8615         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8616         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8617         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8620         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8621         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8623         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8624         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8625         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8627         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8628         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8629         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8630         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8631         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8632         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8633         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8634         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8635         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8636         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8637         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8638         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8640         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8641         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8642         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8643         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8644         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8645         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8646         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8647         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8648         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8649         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8650         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8651         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8652         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8653         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8654         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8655         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8656         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8657         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8658         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8659         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8662         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8664         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8665         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8667         * sysdeps/unix/alpha/sysdep.S: Likewise.
8668         * sysdeps/unix/alpha/sysdep.h: Likewise.
8669         * sysdeps/unix/make-syscalls.sh: Likewise.
8670         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8672         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8673         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8674         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8675         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8676         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8677         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8678         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8679         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8681         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8683         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8684         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8685         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8686         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8687         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8688         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8689         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8690         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8691         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8692         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8693         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8694         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8695         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8699         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8700         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8704         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8708         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8709         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8710         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8711         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8712         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8713         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8717         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8720         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8721         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8722         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8723         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8724         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8726         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8728         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8729         * sysdeps/x86_64/memcpy.S: Likewise.
8730         * sysdeps/x86_64/memmove.c: Likewise.
8731         * sysdeps/x86_64/memset.S: Likewise.
8732         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8733         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8734         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8735         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8736         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8737         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8739         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8740         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8741         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8742         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8744         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8745         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8746         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8747         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8748         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8749         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8750         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8751         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8752         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8753         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8755         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8756         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8757         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8758         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8759         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8760         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8761         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8762         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8763         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8764         * sysdeps/x86_64/strcmp.S: Likewise.
8766         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8768         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8769         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8770         * elf/rtld-Rules: Likewise.
8771         * elf/setup-vdso.h: Likewise.
8772         * include/assert.h: Likewise.
8773         * include/bits/stdlib-float.h: Likewise.
8774         * include/errno.h: Likewise.
8775         * include/sys/stat.h: Likewise.
8776         * include/unistd.h: Likewise.
8777         * sysdeps/aarch64/setjmp.S: Likewise.
8778         * sysdeps/alpha/setjmp.S: Likewise.
8779         * sysdeps/arm/__longjmp.S: Likewise.
8780         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8781         * sysdeps/arm/setjmp.S: Likewise.
8782         * sysdeps/arm/sysdep.h: Likewise.
8783         * sysdeps/generic/_itoa.h: Likewise.
8784         * sysdeps/generic/dl-sysdep.h: Likewise.
8785         * sysdeps/generic/ldsodefs.h: Likewise.
8786         * sysdeps/i386/dl-tls.h: Likewise.
8787         * sysdeps/i386/setjmp.S: Likewise.
8788         * sysdeps/m68k/setjmp.c: Likewise.
8789         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8790         * sysdeps/mach/hurd/opendir.c: Likewise.
8791         * sysdeps/posix/getcwd.c: Likewise.
8792         * sysdeps/posix/opendir.c: Likewise.
8793         * sysdeps/posix/profil.c: Likewise.
8794         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8795         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8798         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8799         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8800         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8801         * sysdeps/s390/dl-tls.h: Likewise.
8802         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8803         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8804         * sysdeps/sh/sh3/setjmp.S: Likewise.
8805         * sysdeps/sh/sh4/setjmp.S: Likewise.
8806         * sysdeps/unix/alpha/sysdep.h: Likewise.
8807         * sysdeps/unix/arm/sysdep.S: Likewise.
8808         * sysdeps/unix/i386/sysdep.S: Likewise.
8809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8810         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8811         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8812         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8813         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8815         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8816         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8817         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8818         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8819         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8820         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8824         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8827         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8828         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8829         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8832         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8833         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8837         * sysdeps/x86_64/setjmp.S: Likewise.
8839         * include/math.h: Use IS_IN instead of IS_IN_libm.
8840         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8841         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8842         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8844         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8845         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8846         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8847         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8848         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8849         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8850         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8851         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8852         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8853         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8854         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8855         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8856         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8857         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8858         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8859         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8860         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8861         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8862         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8863         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8864         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8865         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8866         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8867         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8868         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8869         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8870         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8871         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8872         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8874         Likewise.
8875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8876         Likewise.
8877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8878         Likewise.
8879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8880         Likewise.
8881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8882         Likewise.
8883         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8884         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8885         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8886         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8887         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8894         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8895         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8896         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8897         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8898         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8899         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8900         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8901         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8902         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8903         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8904         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8907         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8909         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8911         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8912         * nptl/pthreadP.h: Likewise.
8913         * nptl_db/structs.def: Likewise.
8914         * sysdeps/arm/sysdep.h: Likewise.
8915         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8916         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8917         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8918         * sysdeps/unix/alpha/sysdep.h: Likewise.
8919         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8921         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8922         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8923         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8924         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8926         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8927         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8928         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8929         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8930         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8931         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8932         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8937         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8940         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8941         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8942         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8943         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8944         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8946         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8947         * nptl/pthreadP.h: Likewise.
8948         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8949         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8950         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8951         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8952         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8953         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8954         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8955         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8956         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8957         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8958         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8959         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8961         Likewise.
8962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8963         Likewise.
8964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8966         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8969         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8970         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8971         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8973         * dlfcn/dladdr.c: Use IS_IN.
8974         * dlfcn/dladdr1.c: Likewise.
8975         * dlfcn/dlclose.c: Likewise.
8976         * dlfcn/dlerror.c: Likewise.
8977         * dlfcn/dlinfo.c: Likewise.
8978         * dlfcn/dlmopen.c: Likewise.
8979         * dlfcn/dlopen.c: Likewise.
8980         * dlfcn/dlsym.c: Likewise.
8981         * dlfcn/dlvsym.c: Likewise.
8983         * include/ifaddrs.h: Use IS_IN.
8984         * inet/check_pf.c: Likewise.
8985         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8986         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8988         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8989         IS_IN_ldconfig.
8990         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8993         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8994         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8995         IS_IN (libc).
8997         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8999         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9000         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9001         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9002         * include/libc-symbols.h (IS_IN_LIB): New macro.
9003         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9004         * include/netdb.h: Likewise.
9005         * include/stap-probe.h: Remove all uses of IN_LIB.
9007         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9008         instead of IN_MODULE.
9009         * include/libc-symbols.h (IN_MODULE): Define using
9010         MODULE_NAME.
9011         (PASTE_NAME, PASTE_NAME1): New macros.
9012         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9013         of IN_LIB.
9014         (STAP_PROBE_ASM): Likewise.
9016 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9018         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9019         __mach_init in dlopened libc.
9021 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9023         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9024         * sysdeps/arm/preconfigure: Regenerate.
9026 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9028         * nptl/pthread_create.c (__pthread_create_2_1): Set
9029         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9030         when copying values from IATTR into PD.
9032 2014-11-21  Will Newton  <will.newton@linaro.org>
9033             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9035         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9036         Refactor inline-asm.  Also add comment.
9038         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9039         ElfW macro instead of hardcoded Elf64 types.
9040         (la_aarch64_gnu_pltenter): Likewise.
9041         * sysdeps/aarch64/dl-machine.h
9042         (elf_machine_runtime_setup): Use ElfW(Addr).
9044         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9045         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9046         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9047         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9048         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9049         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9050         (R_AARCH64_TLS_DTPMOD): This.
9051         (R_AARCH64_TLS_DTPREL64): Rename to ...
9052         (R_AARCH64_TLS_DTPREL): This.
9053         (R_AARCH64_TLS_TPREL64): Rename to ...
9054         (R_AARCH64_TLS_TPREL): This.
9055         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9056         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9057         R_AARCH64_TLS_TPREL64.
9058         (elf_machine_rela): Likewise.
9060 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9062         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9063         by setting it to 0.  64b atomics are not supported currently.
9065 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9067         [BZ #16469]
9068         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9069         search domain names.
9071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9073         [BZ #16469]
9074         * NEWS: Update.
9075         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9076         trailing dot.
9077         * posix/tst-getaddrinfo5.c: New.
9078         * posix/Makefile (tests): Add it.
9080 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9082         [BZ #14498]
9083         * NEWS: Fixed.
9084         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9085         after parsing line but before break_if_match.
9086         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9087         if there is a protocol mismatch.
9089 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9091         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9092         because the potential race is on the user-supplied stream.
9094 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9096         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9097         string literal if not passed a buffer.
9098         * manual/job.texi (ctermid): Update reasoning, note deviation
9099         from posix, suggest mtasurace when not passed a buffer, for
9100         future non-preliminary safety notes.
9102 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9104         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9105         of not passing it a buffer.
9106         Reported by Peng Haitao.
9108 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9110         * manual/Makefile ($(objpfx)stamp-summary): Require
9111         check-safety.sh to pass.
9112         * manual/check-safety.sh: Wish for verification that every
9113         @deftypefn and @deftypefun is followed by a @safety remark.
9115 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9117         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9119         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9120         PTHREAD_CANCEL_ASYNCHRONOUS.
9121         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9122         send SIGCANCEL.
9124         * nptl/default-sched.h: New file.
9125         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9126         * nptl/pthread_create.c: Include it.
9127         (__pthread_create_2_1): Use collect_default_sched instead of making
9128         Linux syscalls here directly.
9130 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9132         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9133         __pthread_once): Use C11 atomics.
9135 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9137         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9139 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9141         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9142         atomic_thread_fence_acquire, atomic_thread_fence_release,
9143         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9144         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9145         atomic_compare_exchange_weak_relaxed,
9146         atomic_compare_exchange_weak_acquire,
9147         atomic_compare_exchange_weak_release,
9148         atomic_exchange_acquire, atomic_exchange_release,
9149         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9150         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9151         atomic_fetch_and_acquire,
9152         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9154 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9156         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9157         USE_ATOMIC_COMPILER_BUILTINS): Define.
9158         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9160         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9162         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9163         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9164         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9165         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9166         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9167         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9168         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9169         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9170         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9171         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9172         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9173         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9174         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9175         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9176         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9177         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9178         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9179         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9180         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9181         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9184         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9186         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9188         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9190         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9192         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9193         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9194         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9196         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9199 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9201         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9202         the sched_priority value here.  It was already checked when the user
9203         called pthread_attr_setschedparam.
9205         * nptl/tst-bad-schedattr.c: New file.
9206         * nptl/Makefile (tests): Add it.
9208 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9209             Florian Weimer  <fweimer@redhat.com>
9210             Joseph Myers  <joseph@codesourcery.com>
9211             Adam Conrad  <adconrad@0c3.net>
9212             Andreas Schwab  <schwab@suse.de>
9213             Brooks  <bmoses@google.com>
9215         [BZ #17625]
9216         * wordexp-test.c (__dso_handle): Add prototype.
9217         (__register_atfork): Likewise.
9218         (__app_register_atfork): New function.
9219         (registered_forks): New global.
9220         (register_fork): New function.
9221         (test_case): Add 3 new tests for WRDE_CMDSUB.
9222         (main): Call __app_register_atfork.
9223         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9224         fork count is non-zero fail the test.
9225         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9226         is set.
9227         (parse_dollars): Remove check for WRDE_NOCMD.
9228         (parse_dquote): Likewise.
9230 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9232         * Makeconfig (built-modules): List non-library modules to be
9233         built.
9234         (module-cppflags): Include libc-modules.h for
9235         everything except shlib-versions.v.i.
9236         (CPPFLAGS): Use it.
9237         (before-compile): Add libc-modules.h.
9238         ($(common-objpfx)libc-modules.h,
9239         $(common-objpfx)libc-modules.stmp): New targets.
9240         (common-generated): Add libc-modules.h and libc-modules.stmp.
9241         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9242         * include/libc-symbols.h: Don't include libc-modules.h.
9243         * include/libc-modules.h: Remove file.
9244         * scripts/gen-libc-modules.awk: New script to generate
9245         libc-modules.h.
9246         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9247         Depend on libc-modules.stmp.
9249         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9251         * Makeconfig (in-module): Get value of libof set for the
9252         translation unit.
9253         (CPPFLAGS): Use $(in-module).
9254         * Makerules: Don't suffix routine names for nonlib.
9255         * include/libc-modules.h: New file.
9256         * include/libc-symbols.h: Include libc-modules.h
9257         (IS_IN): New macro to replace IS_IN_* macros.
9258         * elf/Makefile: Set libof-* for each routine.
9259         * elf/rtld-Rules: Likewise.
9260         * extra-modules.mk: Likewise.
9261         * iconv/Makefile: Likewise.
9262         * iconvdata/Makefile: Likewise.
9263         * locale/Makefile: Likewise.
9264         * malloc/Makefile: Likewise.
9265         * nss/Makefile: Likewise.
9266         * sysdeps/gnu/Makefile: Likewise.
9267         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9268         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9269         * sysdeps/s390/s390-64/Makefile: Likewise.
9270         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9271         CPPFLAGS for nscd instead of nonlib.
9273 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9275         * nptl/createthread.c: New file.
9277         * nptl/createthread.c: Moved ...
9278         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9280         * nptl/createthread.c: Add proper top-line comment.
9281         (do_clone): Folded into ...
9282         (create_thread): ... here.  Take new arguments STOPPED_START and
9283         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9284         increment __nptl_threads, do event-reporting logic, do
9285         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9286         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9287         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9288         just send SIGCANCEL.
9289         * nptl/pthread_create.c: Forward-declare create_thread before
9290         including createthread.c.
9291         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9292         declaration, and new macro START_THREAD_SELF to replace argument.
9293         Remove return statement.
9294         (report_thread_creation): New function.
9295         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9296         synchronization logic, and __nptl_nthreads increment here, around
9297         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9298         PD->parent_cancelhandling here, before create_thread.  When
9299         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9300         __deallocate_stack, and ENOMEM translation here.
9302 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9304         [BZ #17616]
9305         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9306         (mptwo): Rename to __mptwo.
9307         (__inv): Use __mptwo instead of mptwo.
9308         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9309         (mptwo): Rename to __mptwo.
9310         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9311         of mpone and __mptwo instead of mptwo.
9312         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9313         instead of mpone.
9314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9315         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9316         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9317         of mpone and __mptwo instead of mptwo.
9318         (__mpranred): Use __mpone instead of mpone.
9319         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9320         variable.
9321         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9322         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9323         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9324         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9325         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9326         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9327         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9328         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9329         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9330         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9331         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9332         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9333         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9334         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9335         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9336         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9337         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9338         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9339         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9341 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9343         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9344         replace BSD Handler xref with BSD Signal Handling.
9346 2014-11-17  Richard Henderson  <rth@redhat.com>
9348         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9349         (_FP_PACK_RAW_2): Remove.
9350         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9351         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9352         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9353         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9354         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9355         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9356         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9357         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9358         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9359         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9360         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9361         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9362         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9363         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9364         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9365         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9367 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9369         * signal/signal.h [__USE_MISC]
9370         (struct sigvec): Remove type.
9371         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9372         (sigvec): Remove declaration.
9373         * sysdeps/posix/sigvec.c: Moved ...
9374         * signal/sigvec.c: ... here, replacing old file.
9375         (struct sigvec): New type, copied from old signal.h definition.
9376         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9377         (__sigvec): Convert definition to prototype.
9378         (sigvec): Replace weak_alias with compat_symbol.
9379         * signal/Versions (libc: GLIBC_2.21): New version set.
9380         * include/signal.h: Remove __sigvec declaration.
9381         * sysdeps/unix/bsd/sigvec.c: Remove file.
9382         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9383         * manual/signal.texi (BSD Handler): Remove subsection.
9384         Move siginterrupt up to ...
9385         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9386         (Blocking in BSD): Fold subsection into its parent.
9387         * NEWS: Mention sigvec removal.
9389 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9391         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9392         (DLA_FMS): Make definition conditional only on [__FMA4__].
9393         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9394         definition.
9396         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9397         Make definition conditional only on [PROF].
9398         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9399         definition.
9400         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9401         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9403         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9404         !__GNUC__].
9405         * include/signal.h (__sigpause): Move declaration above call to
9406         libc_hidden_proto.
9407         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9408         variable.
9409         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9410         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9412 2014-11-14  David S. Miller  <davem@davemloft.net>
9414         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9415         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9417 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9419         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9420         * configure: Regenerated.
9421         * manual/install.texi (Tools for Compilation): Document a
9422         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9423         compiler verified to work.
9424         * INSTALL: Regenerated.
9426         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9427         redeclare with asm name.
9428         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9429         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9430         including <string.h>.
9431         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9432         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9433         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9434         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9435         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9437         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9439 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9441         * stdlib/strtol.c (__strtol): Use prototype definition.
9443         [BZ #17594]
9444         * stdlib/strtol.c (SYM__): New macro.
9445         (SYM__1): Likewise.
9446         (__strtol): Likewise.
9447         (strtol): Rename to __strtol and define as weak alias of
9448         __strtol.  Use libc_hidden_weak.
9450 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9452         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9453         Use numbered labels in inline assembly.
9455 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9457         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9458         Add setjmp LIBC_PROBE.
9459         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9460         Likewise.
9461         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9462         Add longjmp, longjmp_target LIBC_PROBE.
9463         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9464         Likewise.
9466 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9468         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9469         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9470         to get rid of unused variable warning.
9472 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9474         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9475         Check for unwind_backtrace ==  NULL only in SHARED case.
9476         (__backchain_backtrace): Compile only in SHARED case.
9477         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9478         Likewise.
9479         (__backchain_backtrace): Declare as static.
9481 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9483         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9484         (__libc_multiple_threads_ptr): Variable moved ...
9485         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9487 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9489         * conform/GlibcConform.pm: New file.
9490         * conform/conformtest.pl: Use GlibcConform module.
9491         * conform/linknamespace.pl: New file.
9492         * conform/list-header-symbols.pl: Likewise.
9493         * conform/Makefile (linknamespace-symlists-base): New variable.
9494         (linknamespace-symlists-tests): Likewise.
9495         (linknamespace-header-base): Likewise.
9496         (linknamespace-header-tests): Likewise.
9497         (tests-special): Add new tests.
9498         ($(linknamespace-symlists-tests)): New rule.
9499         (linknamespace-libs): New variable.
9500         ($(objpfx)symlist-stdlibs): New rule.
9501         ($(linknamespace-header-tests)): Likewise.
9502         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9503         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9504         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9505         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9506         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9507         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9508         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9509         (test-xfail-ISO/math.h/linknamespace): Likewise.
9510         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9511         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9512         (test-xfail-ISO/time.h/linknamespace): Likewise.
9513         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9514         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9515         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9516         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9517         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9518         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9519         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9520         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9521         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9522         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9523         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9524         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9525         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9526         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9527         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9528         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9529         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9530         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9531         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9532         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9533         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9534         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9535         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9536         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9537         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9538         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9539         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9540         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9541         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9542         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9543         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9544         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9545         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9546         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9547         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9548         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9549         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9550         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9551         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9552         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9553         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9554         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9555         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9556         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9557         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9558         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9559         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9560         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9561         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9562         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9563         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9564         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9565         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9566         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9567         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9568         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9569         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9570         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9571         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9572         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9573         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9574         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9575         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9576         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9577         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9578         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9579         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9580         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9581         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9582         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9583         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9584         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9585         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9586         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9587         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9588         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9589         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9590         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9591         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9592         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9593         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9594         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9595         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9596         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9597         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9598         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9599         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9600         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9601         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9602         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9603         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9604         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9605         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9606         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9607         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9608         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9609         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9610         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9611         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9612         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9613         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9614         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9615         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9616         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9617         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9618         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9619         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9620         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9621         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9622         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9623         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9624         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9625         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9626         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9627         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9628         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9629         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9630         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9631         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9632         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9633         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9634         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9635         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9636         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9637         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9638         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9639         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9640         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9641         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9642         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9643         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9644         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9645         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9646         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9647         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9648         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9649         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9650         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9651         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9652         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9653         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9654         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9655         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9656         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9657         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9658         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9659         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9660         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9661         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9662         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9664         [BZ #17589]
9665         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9666         of fgets_unlocked.
9668         [BZ #17585]
9669         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9670         (memmem): Rename to __memmem and define as weak alias of
9671         __memmem.  Use libc_hidden_weak.
9672         (__memmem): Use libc_hidden_def.
9673         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9674         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9675         memmem.
9677         [BZ #17582]
9678         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9679         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9680         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9681         and define as weak alias of __fgets_unlocked.  Use
9682         libc_hidden_weak.
9683         (__fgets_unlocked): Use libc_hidden_def.
9684         * include/stdio.h (__fgets_unlocked): Declare.  Use
9685         libc_hidden_proto.
9686         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9687         __fgets_unlocked instead of fgets_unlocked.
9688         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9689         (GET_NPROCS_CONF_PARSER): Likewise.
9690         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9691         (GET_NPROCS_CONF_PARSER): Likewise.
9693         [BZ #17574]
9694         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9695         weak alias of __wmemset.  Use libc_hidden_weak.
9696         (__wmemset): Use libc_hidden_def.
9697         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9698         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9699         of wmemset.
9701         [BZ #17573]
9702         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9703         with asm name __mempcpy.
9704         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9706         [BZ #17572]
9707         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9708         and define as weak alias of __rawmemchr.
9709         (__rawmemchr): Do not define as strong alias of rawmemchr.
9711         [BZ #17571]
9712         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9713         alias of __qsort_r.
9714         (qsort): Call __qsort_r instead of qsort_r.
9715         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9716         (__qsort_r): Declare.  Call libc_hidden_proto.
9717         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9718         instead of qsort_r.
9719         * nscd/gai.c (__qsort_r): Define to qsort_r.
9720         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9721         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9722         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9724         [BZ #17570]
9725         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9726         define as weak alias of __malloc_info.
9728         [BZ #17584]
9729         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9730         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9731         (__rewinddir): Use libc_hidden_def.
9732         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9733         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9734         (__rewinddir): Use libc_hidden_def.
9735         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9736         weak alias of __rewinddir.  Don't use libc_hidden_def.
9737         (__rewinddir): Use libc_hidden_def.
9738         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9739         (__rewinddir): Use libc_hidden_proto.
9740         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9741         rewinddir.
9742         (__getcwd): Use __rewinddir instead of rewinddir.
9744         [BZ #17583]
9745         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9746         alias of __fileno.  Use libc_hidden_weak.
9747         (__fileno): Use libc_hidden_def.
9748         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9749         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9750         alias of __ftello.
9751         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9752         __ftello.
9753         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9754         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9755         libc_hidden_def.
9756         (fread_unlocked): Don't use libc_hidden_ver.
9757         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9758         and define as weak alias of __fread_unlocked.  Don't use
9759         libc_hidden_def.
9760         (__fread_unlocked): Use libc_hidden_def.
9761         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9762         (ftello): Don't use libc_hidden_proto.
9763         (__ftello): Declare.  Use libc_hidden_proto.
9764         (fread_unlocked): Don't use libc_hidden_proto.
9765         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9766         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9767         and __ftello instead of fileno, fread_unlocked and ftello.
9769 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9771         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9772         GOT12.
9773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9774         Likewise.
9775         (_dl_start_user): Likewise.
9776         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9778 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9779             Siddhesh Poyarekar  <siddhesh@redhat.com>
9781         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9782         Move argv and envp down instead of moving argc up.
9783         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9785 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9787         [BZ #17506]
9788         * test-skeleton.c (main): Return successful if one of
9789         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9790         * string/tst-strcoll-overflow.c: Define expected status.
9792 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9794         [BZ #17475]
9795         * locale/iso-639.def: Define Bhili and Tulu language codes.
9797 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9799         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9801 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9803         [BZ #17555]
9804         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9806 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9808         * configure.ac: Updated check of minimal required version to
9809         2.22.
9810         * manual/install.texi (Tools for Compilation): Updated version
9811         number.
9812         * configure: Regenerated.
9813         * INSTALL: Likewise.
9815 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9817         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9818         __tls_get_addr.
9820 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9822         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9823         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9824         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9825         libc_hidden_weak.
9826         (waitpid): Define as alias of __waitpid.
9827         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9828         __waitpid.
9829         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9830         libc_hidden_weak.
9831         (waitpid): Define as alias of __waitpid.
9832         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9833         __libc_waitpid alias.
9834         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9835         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9836         Likewise.
9837         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9838         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9839         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9840         alias.
9841         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9842         __waitpid.
9843         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9844         libc_hidden_weak.
9845         (waitpid): Define as alias of __waitpid.
9847 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9849         * manual/llio.texi: Add comment that write safety has been
9850         fixed in Linux.
9852         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9853         (localplt-build-dso): Add elf/ld.so.
9854         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9855         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9856         and free for ld.so.
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9858         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9860         Likewise.
9861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9862         Likewise.
9863         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9864         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9865         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9866         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9867         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9868         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9869         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9870         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9871         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9872         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9873         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9875 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9877         [BZ #14132]
9878         * include/libc-symbols.h (INTUSE): Remove macro.
9879         (INTDEF): Likewise.
9880         (INTVARDEF): Likewise.
9881         (_INTVARDEF): Likewise.
9882         (INTDEF2): Likewise.
9883         (INTVARDEF2): Likewise.
9884         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9885         rtld_hidden_def instead of INTVARDEF.
9886         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9887         (_dl_starting_up_internal): Remove declaration.
9888         (_dl_starting_up): Use rtld_hidden_proto.
9889         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9890         declaration.
9891         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9892         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9893         _dl_starting_up.
9894         * elf/dl-writev.h (_dl_writev): Likewise.
9895         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9896         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9897         _dl_starting_up_internal.
9899 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9901         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9902         test-skeleton.c.
9904 2014-11-05  Will Newton  <will.newton@linaro.org>
9906         * benchtests/Makefile: (bench-malloc): Add malloc thread
9907         scalability benchmark.
9908         * benchtests/bench-malloc-threads.c: New file.
9910 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9912         * sysdeps/aarch64/strchrnul.S: New file.
9914 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9916         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9917         definition.
9918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9919         Likwise.
9920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9921         Likewise.
9922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9923         Likewise.
9924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9925         Likewise.
9926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9927         Likewise.
9929 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9931         * catgets/test-gencat.c: Use test-skeleton.c.
9932         * catgets/tst-catgets.c: Likewise.
9933         * csu/tst-empty.c: Likewise.
9934         * elf/tst-audit2.c: Likewise.
9935         * elf/tst-global1.c: Likewise.
9936         * elf/tst-pathopt.c: Likewise.
9937         * elf/tst-piemod1.c: Likewise.
9938         * elf/tst-tls10.c: Likewise.
9939         * elf/tst-tls11.c: Likewise.
9940         * elf/tst-tls12.c: Likewise.
9941         * gnulib/tst-gcc.c: Likewise.
9942         * iconvdata/tst-e2big.c: Likewise.
9943         * iconvdata/tst-loading.c: Likewise.
9944         * iconv/tst-iconv1.c: Likewise.
9945         * iconv/tst-iconv2.c: Likewise.
9946         * inet/test-inet6_opt.c: Likewise.
9947         * inet/tst-gethnm.c: Likewise.
9948         * inet/tst-network.c: Likewise.
9949         * inet/tst-ntoa.c: Likewise.
9950         * intl/tst-codeset.c: Likewise.
9951         * intl/tst-gettext2.c: Likewise.
9952         * intl/tst-gettext3.c: Likewise.
9953         * intl/tst-ngettext.c: Likewise.
9954         * intl/tst-translit.c: Likewise.
9955         * io/test-stat.c: Likewise.
9956         * libio/test-fmemopen.c: Likewise.
9957         * libio/tst-freopen.c: Likewise.
9958         * libio/tst-sscanf.c: Likewise.
9959         * libio/tst-ungetwc1.c: Likewise.
9960         * libio/tst-ungetwc2.c: Likewise.
9961         * libio/tst-widetext.c: Likewise.
9962         * localedata/tst-ctype.c: Likewise.
9963         * localedata/tst-digits.c: Likewise.
9964         * localedata/tst-leaks.c: Likewise.
9965         * localedata/tst-mbswcs1.c: Likewise.
9966         * localedata/tst-mbswcs2.c: Likewise.
9967         * localedata/tst-mbswcs3.c: Likewise.
9968         * localedata/tst-mbswcs4.c: Likewise.
9969         * localedata/tst-mbswcs5.c: Likewise.
9970         * localedata/tst-setlocale.c: Likewise.
9971         * localedata/tst-trans.c: Likewise.
9972         * localedata/tst-wctype.c: Likewise.
9973         * localedata/tst-xlocale1.c: Likewise.
9974         * login/tst-grantpt.c: Likewise.
9975         * malloc/tst-calloc.c: Likewise.
9976         * malloc/tst-malloc.c: Likewise.
9977         * malloc/tst-mallocstate.c: Likewise.
9978         * malloc/tst-mcheck.c: Likewise.
9979         * malloc/tst-mtrace.c: Likewise.
9980         * malloc/tst-obstack.c: Likewise.
9981         * math/atest-exp2.c: Likewise.
9982         * math/atest-exp.c: Likewise.
9983         * math/atest-sincos.c: Likewise.
9984         * math/test-matherr.c: Likewise.
9985         * math/test-misc.c: Likewise.
9986         * math/test-powl.c: Likewise.
9987         * math/tst-definitions.c: Likewise.
9988         * misc/tst-dirname.c: Likewise.
9989         * misc/tst-efgcvt.c: Likewise.
9990         * misc/tst-fdset.c: Likewise.
9991         * misc/tst-hsearch.c: Likewise.
9992         * misc/tst-mntent2.c: Likewise.
9993         * nptl/tst-sem7.c: Likewise.
9994         * nptl/tst-sem8.c: Likewise.
9995         * nptl/tst-sem9.c: Likewise.
9996         * nss/test-netdb.c: Likewise.
9997         * posix/tst-fnmatch.c: Likewise.
9998         * posix/tst-getlogin.c: Likewise.
9999         * posix/tst-gnuglob.c: Likewise.
10000         * posix/tst-mmap.c: Likewise.
10001         * pwd/tst-getpw.c: Likewise.
10002         * resolv/tst-inet_ntop.c: Likewise.
10003         * rt/tst-timer.c: Likewise.
10004         * stdio-common/test-fseek.c: Likewise.
10005         * stdio-common/test-popen.c: Likewise.
10006         * stdio-common/test-vfprintf.c: Likewise.
10007         * stdio-common/tst-cookie.c: Likewise.
10008         * stdio-common/tst-fileno.c: Likewise.
10009         * stdio-common/tst-gets.c: Likewise.
10010         * stdio-common/tst-obprintf.c: Likewise.
10011         * stdio-common/tst-perror.c: Likewise.
10012         * stdio-common/tst-sprintf2.c: Likewise.
10013         * stdio-common/tst-sprintf3.c: Likewise.
10014         * stdio-common/tst-sprintf.c: Likewise.
10015         * stdio-common/tst-swprintf.c: Likewise.
10016         * stdio-common/tst-tmpnam.c: Likewise.
10017         * stdio-common/tst-unbputc.c: Likewise.
10018         * stdio-common/tst-wc-printf.c: Likewise.
10019         * stdlib/tst-environ.c: Likewise.
10020         * stdlib/tst-fmtmsg.c: Likewise.
10021         * stdlib/tst-limits.c: Likewise.
10022         * stdlib/tst-rand48-2.c: Likewise.
10023         * stdlib/tst-rand48.c: Likewise.
10024         * stdlib/tst-random2.c: Likewise.
10025         * stdlib/tst-random.c: Likewise.
10026         * stdlib/tst-strtol.c: Likewise.
10027         * stdlib/tst-strtoll.c: Likewise.
10028         * stdlib/tst-tls-atexit.c: Likewise.
10029         * stdlib/tst-xpg-basename.c: Likewise.
10030         * string/test-ffs.c: Likewise.
10031         * string/tst-bswap.c: Likewise.
10032         * string/tst-inlcall.c: Likewise.
10033         * string/tst-strtok.c: Likewise.
10034         * string/tst-strxfrm.c: Likewise.
10035         * sysdeps/x86_64/tst-audit10.c: Likewise.
10036         * sysdeps/x86_64/tst-audit3.c: Likewise.
10037         * sysdeps/x86_64/tst-audit4.c: Likewise.
10038         * sysdeps/x86_64/tst-audit5.c: Likewise.
10039         * time/tst-ftime_l.c: Likewise.
10040         * time/tst-getdate.c: Likewise.
10041         * time/tst-mktime3.c: Likewise.
10042         * time/tst-mktime.c: Likewise.
10043         * time/tst-posixtz.c: Likewise.
10044         * time/tst-strptime2.c: Likewise.
10045         * time/tst-strptime3.c: Likewise.
10046         * wcsmbs/tst-btowc.c: Likewise.
10047         * wcsmbs/tst-mbrtowc.c: Likewise.
10048         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10049         * wcsmbs/tst-wchar-h.c: Likewise.
10050         * wcsmbs/tst-wcpncpy.c: Likewise.
10051         * wcsmbs/tst-wcrtomb.c: Likewise.
10052         * wcsmbs/tst-wcsnlen.c: Likewise.
10053         * wcsmbs/tst-wcstof.c: Likewise.
10055 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10057         [BZ #14132]
10058         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10059         INTDEF.
10060         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10061         declaration.
10062         (_dl_mcount): Use rtld_hidden_proto.
10063         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10064         _dl_mcount.
10065         * elf/rtld.c (_rtld_global_ro): Likewise.
10067         [BZ #14132]
10068         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10069         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10070         of _dl_init_internal.
10071         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10072         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10073         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10074         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10075         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10076         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10077         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10078         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10079         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10080         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10081         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10082         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10083         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10084         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10085         * sysdeps/tile/dl-start.S (_start): Likewise.
10086         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10087         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10089         [BZ #14132]
10090         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10091         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10092         (rtld_progname): Make macro definition unconditional.
10093         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10094         INTDEF.
10095         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10096         (dl_main): Likewise.
10097         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10098         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10099         instead of _dl_argv_internal.
10100         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10101         __GI__dl_argv instead of INTUSE(_dl_argv).
10102         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10103         __GI__dl_argv instead of _dl_argv_internal.
10105         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10106         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10107         macro.
10108         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10109         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10110         New macro.
10111         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10112         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10113         macro.
10114         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10115         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10117 2014-11-04  Andreas Schwab  <schwab@suse.de>
10119         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10121 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10123         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10124         mtvsrd instruction in binary form.
10126 2014-11-03  Andreas Schwab  <schwab@suse.de>
10128         [BZ #17522]
10129         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10130         for less than MB_LEN_MAX use a local buffer of that size.
10131         * libio/tst-fputws.c: New file.
10132         * libio/Makefile (tests): Add tst-fputws.
10134 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10136         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10137         the size of the fpu_fr.fpu_dregs[] array.
10139 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10141         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10142         (__nanosleep): Do not define as alias.
10143         (nanosleep): Define as alias of __nanosleep.
10144         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10145         __libc_nanosleep name.
10147 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10149         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10150         install.texi in comment.
10152 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10154         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10155         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10156         ... add here and use lwsync or sync ...
10157         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10158         ... and add here using lwsync.
10160 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10162         * elf/dl-machine-reject-phdr.h: New file.
10163         * elf/dl-load.c: #include that.
10164         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10165         if that returned true.
10167 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10169         [BZ #17496]
10170         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10171         gen-as-const-headers chunk.  Add a big scare comment after the last
10172         safe place to touch before-compile.
10174 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10176         * manual/install.texi (Tools for Compilation): Update autoconf
10177         version requirements.
10178         * INSTALL: Regenerated.
10180         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10181         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10182         (__libc_pselect): Likewise.
10184         [BZ #14138]
10185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10190 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10192         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10193         correct barrier instruction.
10194         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10195         Likewise.
10196         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10197         Likewise.
10199 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10201         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10202         after defining inlines.  Instead, just use parens to defeat macro
10203         expansion of __isctype in its declaration.
10205 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10207         * include/sys/uio.h (__libc_readv): Remove declaration.
10208         (__libc_writev): Likewise.
10209         * misc/readv.c (__libc_readv): Rename to __readv.
10210         (__readv): Do not define as alias.
10211         (readv): Define as alias of __readv.
10212         * misc/writev.c (__libc_writev): Rename to __writev.
10213         (__writev): Do not define as alias.
10214         (writev): Define as alias of __writev.
10215         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10216         (__readv): Do not define as alias.
10217         (readv): Define unconditionally as alias of __readv.
10218         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10219         (__writev): Do not define as alias.
10220         (writev): Define unconditionally as alias of __writev.
10221         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10222         name.
10223         (writev): Do not define __libc_writev name.
10225 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10227         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10228         (convert_charseq): New function, broken out of ...
10229         (use_from_charmap): ... here.  Call it.
10230         (use_to_charmap): Use convert_charseq and free instead of duplicating
10231         its code with a variable-length stack struct.
10233 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10235         * include/fcntl.h (__libc_creat): Remove declaration.
10236         * io/creat.c (__libc_creat): Rename to creat.
10237         (creat): Do not define as alias.
10238         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10239         of creat instead of __libc_creat.
10240         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10241         to creat.
10242         (creat): Do not define as alias.
10243         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10244         __libc_creat.
10245         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10246         __libc_creat name.
10247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10248         Likewise.
10250 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10252         * manual/llio.texi: Add comments discussing why write() may be
10253         considered MT-unsafe on Linux.
10255 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10257         * dl-load.c (local_strdup): Remove.
10258         (expand_dynamic_string_token): Use __strdup.
10259         (decompose_rpath): Likewise.
10260         (_dl_map_object): Likewise.
10262 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10264         [BZ #14132]
10265         * sysdeps/generic/unwind-dw2-fde.c
10266         (__register_frame_info_bases_internal): Do not declare.
10267         (__register_frame_info_table_bases_internal): Likewise.
10268         (__deregister_frame_info_bases_internal): Likewise.
10269         (__register_frame_info_bases): Declare and use hidden_proto before
10270         definition.  Use hidden_def instead of INTDEF.
10271         (__register_frame_info_table_bases): Likewise.
10272         (__deregister_frame_info_bases): Likewise.
10273         (__register_frame_info): Do not use INTUSE.
10274         (__register_frame): Likewise.
10275         (__register_frame_info_table): Likewise.
10276         (__register_frame_table): Likewise.
10277         (__deregister_frame_info): Likewise.
10278         (__deregister_frame): Likewise.
10280 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10282         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10283         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10284         not undefine.
10285         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10286         Likewise.
10287         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10288         Likewise.
10290 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10292         [BZ #14138]
10293         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10294         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10295         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10296         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10297         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10298         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10299         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10301         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10302         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10304         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10305         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10306         syscall.
10307         (setfsuid): Likewise.
10308         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10309         (setfsuid): Likewise.
10310         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10311         (setfsuid): Likewise.
10312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10313         Likewise.
10314         (setfsuid): Likewise.
10315         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10316         (setfsuid): Likewise.
10317         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10318         Likewise.
10319         (setfsuid): Likewise.
10321 2014-10-27  Andreas Schwab  <schwab@suse.de>
10323         [BZ #17501]
10324         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10325         check for Slow_SSE4_2 feature bit.
10326         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10327         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10328         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10329         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10331 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10333         * configure.ac: Validate compiler version with a empirical test of
10334         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10335         $CC -v output.
10336         * configure: Regenerated.
10338         * inet/htons.c (htons): Prototypify.
10339         * inet/htonl.c (htonl): Likewise.
10341 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10343         * string/strncat.c (strncat): Improve performance by using strlen.
10345 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10347         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10349 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10351         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10352         Call libc_fetestexcept_aarch64.
10354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10356         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10357         Call libc_feholdexcept_aarch64.
10359 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10361         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10362         Call get_rounding_mode.
10364 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10366         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10367         Simplify logic.
10369 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10371         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10372         Simplify logic.
10374 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10376         [BZ #14138]
10377         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10378         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10379         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10380         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10381         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10382         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10383         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10384         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10385         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10386         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10387         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10388         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10389         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10390         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10391         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10392         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10393         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10394         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10395         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10396         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10397         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10398         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10399         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10400         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10401         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10402         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10403         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10404         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10405         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10406         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10407         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10408         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10409         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10410         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10411         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10412         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10413         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10414         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10415         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10416         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10417         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10418         syscall.
10419         (geteuid): Likewise.
10420         (getgid): Likewise.
10421         (getuid): Likewise.
10422         (getresgid): Likewise.
10423         (getresuid): Likewise.
10424         (getgroups): Likewise.
10425         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10426         (geteuid): Likewise.
10427         (getgid): Likewise.
10428         (getuid): Likewise.
10429         (getresgid): Likewise.
10430         (getresuid): Likewise.
10431         (getgroups): Likewise.
10432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10433         (geteuid): Likewise.
10434         (getgid): Likewise.
10435         (getuid): Likewise.
10436         (getresgid): Likewise.
10437         (getresuid): Likewise.
10438         (getgroups): Likewise.
10439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10440         Likewise.
10441         (geteuid): Likewise.
10442         (getgid): Likewise.
10443         (getuid): Likewise.
10444         (getresgid): Likewise.
10445         (getresuid): Likewise.
10446         (getgroups): Likewise.
10447         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10448         (geteuid): Likewise.
10449         (getgid): Likewise.
10450         (getuid): Likewise.
10451         (getresgid): Likewise.
10452         (getresuid): Likewise.
10453         (getgroups): Likewise.
10454         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10455         Likewise.
10456         (geteuid): Likewise.
10457         (getgid): Likewise.
10458         (getuid): Likewise.
10459         (getgroups): Likewise.
10461         [BZ #14138]
10462         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10463         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10464         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10465         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10466         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10467         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10468         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10469         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10470         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10471         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10472         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10473         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10474         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10475         __chown.
10476         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10477         (lchown): Likewise.
10478         (fchown): Likewise.
10479         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10480         Likewise.
10481         (lchown): Likewise.
10482         (fchown): Likewise.
10483         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10484         (lchown): Likewise.
10485         (fchown): Likewise.
10486         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10487         Likewise.
10488         (lchown): Likewise.
10489         (fchown): Likewise.
10491 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10493         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10494         Simplify logic.
10496 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10498         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10499         Cleanup logic.
10501 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10503         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10504         Remove unused include.
10506 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10508         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10509         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10510         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10511         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10513 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10514             Helge Deller <deller@gmx.de>
10516         [BZ #17508]
10517         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10518         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10519         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10521 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10523         [BZ #14132]
10524         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10525         Remove macro definition.
10526         (__ashrdi3_v_glibc20): Likewise.
10527         (__lshrdi3_v_glibc20): Likewise.
10528         (__cmpdi2_v_glibc20): Likewise.
10529         (__ucmpdi2_v_glibc20): Likewise.
10530         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10531         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10532         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10533         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10534         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10535         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10537 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10539         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10540         old GNU extension [0] syntax.
10541         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10542         alloca rather than an array member with variable length.
10543         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10544         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10545         (parse_opt): ... here.  Likewise use alloca there.
10546         Validate the -i argument before checking for rootness.
10547         (send_shutdown): New function, broken out of ...
10548         (parse_opt): ... here.
10550 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10552         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10553         macro to get at the _rt_local_ro field.
10554         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10555         ([PIC] case) or _dl_hwcap ([!PIC] case).
10556         * sysdeps/arm/setjmp.S: Likewise.
10558         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10559         * sysdeps/arm/configure.ac: New check to define it.
10560         * sysdeps/arm/configure: Regenerated.
10561         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10562         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10563         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10564         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10565         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10566         Use move/movt pair instead of a load.
10567         (LDST_GLOBAL): Macro removed.
10568         (LDR_GLOBAL): New macro replaces it.
10569         (LDR_HIDDEN): New macro.
10570         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10571         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10573         * setjmp/tst-setjmp-static.c: New file.
10574         * setjmp/Makefile (tests): Add it.
10575         (tests-static): New variable.
10577 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10579         [BZ #17485]
10580         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10582 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10584         [BZ #14132]
10585         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10587 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10589         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10591 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10593         * io/fts.c (dirent_not_directory): New function.
10594         (fts_build): Call it.
10596 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10598         * nptl/version.c (__nptl_main): Use normal __write rather than
10599         INTERNAL_SYSCALL.
10600         (banner): Update copyright years.
10602         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10603         gettimeofday.
10604         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10605         * nptl/pthread_cond_timedwait.c: Likewise.
10606         * nptl/pthread_mutex_timedlock.c: Likewise.
10607         * nptl/sem_timedwait.c: Likewise.
10609         * sysdeps/nptl/bits/libc-lock.h
10610         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10611         (__libc_lock_init_recursive): Return void, not 0.
10612         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10613         (__libc_rwlock_init): Likewise.
10614         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10616 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10618         [BZ #15215]
10619         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10620         (__pthread_once_slow): ... here.
10621         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10622         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10624 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10626         [BZ #15215]
10627         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10628         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10629         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10630         * nptl/pthread_once.c (__pthread_once): Likewise.
10631         Update comments.
10633 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10635         [BZ #14138]
10636         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10637         name.
10638         (writev): Use __libc_writev as strong name.
10639         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10640         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10642 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10644         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10646         * sysdeps/i386/nptl/tls.h
10647         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10648         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10649         New macros.
10650         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10651         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10652         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10653         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10654         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10655         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10657         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10658         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10659         on [__NR_futex].
10660         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10661         broken out of ...
10662         (__pthread_mutex_init): ... here.  Call it.
10663         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10664         Conditionalize PI cases on [__NR_futex].
10665         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10666         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10667         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10669         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10670         conditional on [SIGSETXID].
10671         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10672         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10673         is defined.  Likewise for SIGSETXID.
10674         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10675         Conditionalize definitions on [SIGSETXID].
10676         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10677         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10678         unblocking on [SIGCANCEL].
10680         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10681         [__NR_set_robust_list].
10683 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10685         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10686         (do_compare): Likewise.
10688 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10690         [BZ #15884]
10691         * string/strcoll_l.c: Don't include stdio.h.
10692         (coll_seq): Remove members idxarr and rulearr.
10693         (get_next_seq_cached): Remove function.
10694         (get_next_seq): Likewise.
10695         (get_next_seq_nocache): Rename to get_next_seq.
10696         (do_compare): Remove function.
10697         (do_compare_nocache): Rename to do_compare.
10698         (STRCOLL): Remove weight and rules cache.
10700 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10702         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10703         * sysdeps/arm/sfp-machine.h: ... to here.
10704         * sysdeps/arm/Implies: Remove arm/soft-fp.
10706 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10708         * conform/data/sys/utsname.h-data (*_t): Allow.
10709         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10710         [POSIX] (WEXITED): Do not expect constant.
10711         [POSIX] (WSTOPPED): Likewise.
10712         [POSIX] (WNOHANG): Likewise.
10713         [POSIX] (WNOWAIT): Likewise.
10714         [POSIX] (siginfo_t): Do not expect type or elements.
10715         [POSIX] (pid_t): Do not expect type.
10716         [POSIX] (signal.h): Do not allow header.
10717         [POSIX] (sys/resource.h): Likewise.
10718         [POSIX] (si_*): Do not allow pattern.
10719         [POSIX] (W*): Likewise.
10720         [POSIX] (P_*): Likewise.
10721         [POSIX] (BUS_*): Likewise.
10722         [POSIX] (CLD_*): Likewise.
10723         [POSIX] (FPE_*): Likewise.
10724         [POSIX] (ILL_*): Likewise.
10725         [POSIX] (POLL_*): Likewise.
10726         [POSIX] (SEGV_*): Likewise.
10727         [POSIX] (SI_*): Likewise.
10728         [POSIX] (TRAP_*): Likewise.
10729         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10730         variable.
10732 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10734         [BZ #12926]
10735         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10736         infinite loop when __recvmsg returns 0.
10738 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10740         * CANCEL-FCT-WAIVE: Remove file.
10741         * CANCEL-FILE-WAIVE: Likewise.
10743         [BZ #14132]
10744         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10745         instead of INTVARDEF.
10746         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10747         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10748         rtld_hidden_data_def instead of INTVARDEF.
10749         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10750         * elf/dl-deps.c (expand_dst): Likewise.
10751         * elf/dl-load.c (_dl_dst_count): Likewise.
10752         (_dl_dst_substitute): Likewise.
10753         (decompose_rpath): Likewise.
10754         (_dl_init_paths): Likewise.
10755         (open_path): Likewise.
10756         (_dl_map_object): Likewise.
10757         * elf/rtld.c (dl_main): Likewise.
10758         (process_dl_audit): Likewise.
10759         (process_envvars): Likewise.
10760         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10761         Remove declaration.
10762         (__libc_enable_secure): Use rtld_hidden_proto.
10764 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10766         * elf/dl-load.c
10767         (add_path): New function broken out of _dl_rtld_di_serinfo.
10768         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10770 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10772         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10773         parentheses around macro arguments.
10774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10785         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10786         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10787         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10789         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10790         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10795         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10799         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10803         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10804         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10807         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10808         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10809         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10810         Likewise.
10811         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10818         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10819         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10820         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10822         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10823         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10825         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10832         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10833         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10834         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10835         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10836         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10837         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10838         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10839         (_FP_FRAC_SRS_1): Likewise.
10840         (_FP_FRAC_CLZ_1): Likewise.
10841         (_FP_MUL_MEAT_1_imm): Likewise.
10842         (_FP_MUL_MEAT_1_wide): Likewise.
10843         (_FP_MUL_MEAT_1_hard): Likewise.
10844         (_FP_SQRT_MEAT_1): Likewise.
10845         (_FP_FRAC_ASSEMBLE_1): Likewise.
10846         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10847         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10848         (__FP_CLZ_2): Likewise.
10849         (_FP_MUL_MEAT_2_wide): Likewise.
10850         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10851         (_FP_MUL_MEAT_2_gmp): Likewise.
10852         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10853         (_FP_SQRT_MEAT_2): Likewise.
10854         (_FP_FRAC_ASSEMBLE_2): Likewise.
10855         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10856         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10857         (_FP_FRAC_CLZ_4): Likewise.
10858         (_FP_MUL_MEAT_4_wide): Likewise.
10859         (_FP_MUL_MEAT_4_gmp): Likewise.
10860         (_FP_SQRT_MEAT_4): Likewise.
10861         (_FP_FRAC_ASSEMBLE_4): Likewise.
10862         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10863         * soft-fp/op-common.h (_FP_CMP): Likewise.
10864         (_FP_CMP_EQ): Likewise.
10865         (_FP_CMP_UNORD): Likewise.
10866         (_FP_TO_INT): Likewise.
10867         (_FP_FROM_INT): Likewise.
10868         [!__FP_CLZ] (__FP_CLZ): Likewise.
10869         (_FP_DIV_HELP_imm): Likewise.
10870         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10871         Likewise.
10872         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10873         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10875         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10879         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10883         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10884         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10887         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10888         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10901         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10902         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10905         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10906         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10907         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10908         (FP_UNPACK_RAW_SP): Likewise.
10909         (FP_PACK_RAW_S): Likewise.
10910         (FP_PACK_RAW_SP): Likewise.
10911         (FP_UNPACK_S): Likewise.
10912         (FP_UNPACK_SP): Likewise.
10913         (FP_UNPACK_SEMIRAW_S): Likewise.
10914         (FP_UNPACK_SEMIRAW_SP): Likewise.
10915         (FP_PACK_S): Likewise.
10916         (FP_PACK_SP): Likewise.
10917         (FP_PACK_SEMIRAW_S): Likewise.
10918         (FP_PACK_SEMIRAW_SP): Likewise.
10919         (_FP_SQRT_MEAT_S): Likewise.
10920         (FP_CMP_S): Likewise.
10921         (FP_CMP_EQ_S): Likewise.
10922         (FP_CMP_UNORD_S): Likewise.
10923         (FP_TO_INT_S): Likewise.
10924         (FP_FROM_INT_S): Likewise.
10926         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10928         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10929         (FP_EX_INVALID_IMZ): Likewise.
10930         (FP_EX_INVALID_IMZ_FMA): Likewise.
10931         (FP_EX_INVALID_ISI): Likewise.
10932         (FP_EX_INVALID_ZDZ): Likewise.
10933         (FP_EX_INVALID_IDI): Likewise.
10934         (FP_EX_INVALID_SQRT): Likewise.
10935         (FP_EX_INVALID_CVI): Likewise.
10936         (FP_EX_INVALID_VC): Likewise.
10937         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10938         "invalid" exceptions.
10939         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10940         (_FP_ADD_INTERNAL): Likewise.
10941         (_FP_MUL): Likewise.
10942         (_FP_FMA): Likewise.
10943         (_FP_DIV): Likewise.
10944         (_FP_CMP_CHECK_NAN): Likewise.
10945         (_FP_SQRT): Likewise.
10946         (_FP_TO_INT): Likewise.
10947         (FP_EXTEND): Likewise.
10949 2014-10-09  Allan McRae  <allan@archlinux.org>
10951         * po/fr.po: Update French translation from translation project.
10953 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10955         [BZ #14132]
10956         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10957         of INTDEF.
10958         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10959         (__cxa_atexit): Use libc_hidden_proto.
10960         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10962         [BZ #14132]
10963         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10964         declaration.
10965         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10966         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10967         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10968         [!_ISOMAC] (__iswctype_internal): Likewise.
10969         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10970         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10971         alias.
10972         (fcntl): Remove __fcntl_internal alias.
10973         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10974         __connect_internal alias.
10975         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10976         Likewise.
10978         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10979         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10980         FP_DENORM_ZERO.
10981         (_FP_CHECK_FLUSH_ZERO): New macro.
10982         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10983         (_FP_CMP): Likewise.
10984         (_FP_CMP_EQ): Likewise.
10985         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10986         FP_DENORM_ZERO.
10987         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10988         (FP_TRUNC): Likewise.
10990         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10991         treated as invalid conversion, not as normal exponent.
10993         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10994         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10995         (_FP_CMP_EQ): Likewise.
10996         (_FP_CMP_UNORD): Likewise.
10997         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10998         (FP_CMP_EQ_D): Likewise.
10999         (FP_CMP_UNORD_D): Likewise.
11000         * soft-fp/extended.h (FP_CMP_E): Likewise.
11001         (FP_CMP_EQ_E): Likewise.
11002         (FP_CMP_UNORD_E): Likewise.
11003         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11004         (FP_CMP_EQ_Q): Likewise.
11005         (FP_CMP_UNORD_Q): Likewise.
11006         * soft-fp/single.h (FP_CMP_S): Likewise.
11007         (FP_CMP_EQ_S): Likewise.
11008         (FP_CMP_UNORD_S): Likewise.
11009         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11010         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11011         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11012         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11013         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11014         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11015         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11016         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11017         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11018         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11019         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11020         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11021         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11022         to FP_CMP_Q.
11023         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11024         FP_CMP_Q.
11025         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11026         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11027         FP_CMP_EQ_Q.
11028         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11029         FP_CMP_Q.
11030         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11031         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11032         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11033         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11034         FP_CMP_EQ_Q.
11035         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11036         FP_CMP_Q.
11037         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11038         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11039         FP_CMP_EQ_Q.
11040         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11041         FP_CMP_Q.
11042         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11043         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11044         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11045         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11046         FP_CMP_EQ_Q.
11048         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11049         a subnormal result, set the underflow exception if trapping on
11050         underflow is enabled.
11051         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11052         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11053         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11054         redefine to 0.
11055         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11056         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11057         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11058         * soft-fp/extendxftf2.c (__extendxftf2): Use
11059         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11061         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11062         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11063         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11064         FP_HANDLE_EXCEPTIONS.
11065         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11066         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11067         FP_HANDLE_EXCEPTIONS.
11068         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11069         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11070         FP_HANDLE_EXCEPTIONS.
11071         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11072         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11073         FP_HANDLE_EXCEPTIONS.
11075 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11077         [BZ #14132]
11078         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11079         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11080         use INTUSE.
11081         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11082         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11083         Remove alias.
11084         (__adjtimex): Define using libc_hidden_ver.
11085         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11086         Remove declaration.
11087         (ntp_gettime): Call __adjtimex directly.
11088         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11089         Remove declaration.
11090         (ntp_gettimex): Call __adjtimex directly.
11091         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11092         __adjtimex_internal alias.
11094 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11096         [BZ #17460]
11097         * nscd/nscd.c (more_help): Rewrite list of tables collection
11098         using xstrdup and asprintf.
11100         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11102 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11103             Roland McGrath  <roland@hack.frob.com>
11105         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11106         (do_lookup_unique): ... local function 'enter' here; update callers.
11108 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11110         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11111         compat_symbol calls on [SHARED].
11112         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11113         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11114         Remove.
11115         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11116         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11117         (oldsetrlimit): Remove.
11118         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11120         (lchown): New syscall entry.
11121         (oldsetrlimit): Remove.
11122         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11124         (oldsetrlimit): Remove.
11125         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11127         [BZ #14138]
11128         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11129         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11130         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11131         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11132         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11133         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11134         (fchown): Likewise.
11135         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11136         (fchown): Likewise.
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11138         Likewise.
11140 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11143         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11144         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11145         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11146         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11147         Likewise.
11148         (__old_sem_post): Likewise.
11150 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11152         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11153         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11154         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11155         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11156         Use INLINE_VSYSCALL macro.
11157         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11158         __vdso_clock_gettime.
11159         * sysdeps/unix/sysv/linux/tile/init-first.c
11160         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11161         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11162         __vdso_clock_gettime.
11164         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11165         to set up frame more cleanly.
11167         * sysdeps/tile/memcmp.c: New file.
11169         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11171         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11172         * sysdeps/tile/tilegx/strcasestr.c: New file.
11173         * sysdeps/tile/tilegx/strnlen.c: New file.
11174         * sysdeps/tile/tilegx/strstr.c: New file.
11176         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11178 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11180         * nptl/tst-setuid3.c: Write errors to stdout.
11182 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11184         * elf/dl-deps.c
11185         (preload): New functions broken out of _dl_map_object_deps.
11186         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11188 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11190         [BZ #14138]
11191         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11192         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11194 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11196         * sysdeps/mips/strcmp.S: New.
11198 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11200         [BZ #14138]
11201         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11202         (linkat): Likewise.
11203         (mkdirat): Likewise.
11204         (readlinkat): Likewise.
11205         (renameat): Likewise.
11206         (symlinkat): Likewise.
11207         (unlinkat): Likewise.
11208         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11209         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11210         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11211         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11212         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11213         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11214         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11216 2014-09-30  Will Newton  <will.newton@linaro.org>
11218         * math/math.h: Define long double math functions if
11219         _LIBC_TEST is defined.
11220         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11222         * localedata/Makefile: Move assignment to tests-special
11223         into an ifdef testing run-built-tests.
11224         * timezone/Makefile: Likewise.
11226 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11228         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11229         with $(BASH) not $(SHELL).
11231 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11232             Matthew LeGendre  <legendre1@llnl.gov>
11234         [BZ #17411]
11235         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11236         l_reloc_result.
11238 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11240         * stdio-common/printf_fp.c
11241         (hack_digit): New function, broken out of ...
11242         (__printf_fp): ... local function here.  Update call sites.
11243         hack_digit now takes an additional parameter that is a pointer
11244         to a struct of the referenced locals.  Those locals moved inside
11245         the struct and references updated.
11247 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11249         * aclocal.m4: Require autoconf 2.69.
11250         * configure: Regenerated.
11251         * sysdeps/aarch64/configure: Likewise.
11252         * sysdeps/alpha/configure: Likewise.
11253         * sysdeps/arm/armv7/configure: Likewise.
11254         * sysdeps/arm/configure: Likewise.
11255         * sysdeps/ia64/configure: Likewise.
11256         * sysdeps/mach/configure: Likewise.
11257         * sysdeps/mips/configure: Likewise.
11258         * sysdeps/s390/configure: Likewise.
11259         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11262         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11263         file.
11264         * sysdeps/ia64/configure.ac: Likewise.
11266 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11269         specify symbol version for ld.so.  Do not include entry for
11270         libpthread.
11271         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11272         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11273         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11275         [BZ #14171]
11276         * Makeconfig [$(build-shared) = yes]
11277         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11278         makefiles.
11279         [$(build-shared) = yes && $(soversions.mk-done) = t]
11280         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11281         [$(build-shared) = yes && $(soversions.mk-done) = t]
11282         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11283         to Makerules.
11284         [$(build-shared) = yes && $(soversions.mk-done) = t]
11285         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11286         here.
11287         [$(build-shared) = yes && $(soversions.mk-done) = t]
11288         (common-generated): Don't append gnu/lib-names.h and
11289         gnu/lib-names.stmp here.
11290         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11291         (lib-names-h-abi): New variable.
11292         [$(build-shared) = yes && $(soversions.mk-done) = t]
11293         (lib-names-stmp-abi): Likewise.
11294         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11295         abi-variants] (before-compile): Append
11296         $(common-objpfx)$(lib-names-h-abi).
11297         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11298         abi-variants] (common-generated): Append gnu/lib-names.h.
11299         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11300         abi-variants] (install-others-nosubdir): Depend on
11301         $(inst_includedir)/$(lib-names-h-abi).
11302         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11303         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11304         [$(build-shared) = yes && $(soversions.mk-done) = t]
11305         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11306         [$(build-shared) = yes && $(soversions.mk-done) = t]
11307         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11308         [$(build-shared) = yes && $(soversions.mk-done) = t]
11309         (common-generated): Append $(lib-names-h-abi) and
11310         $(lib-names-stmp-abi).
11311         * scripts/lib-names.awk: Do not handle multi being set.
11312         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11313         Remove variable.
11314         (abi-lp64_be-ld-soname): Likewise.
11315         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11316         Likewise.
11317         (abi-hard-ld-soname): Likewise.
11318         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11319         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11320         Remove variable.
11321         (abi-o32_hard-ld-soname): Likewise.
11322         (abi-o32_soft_2008-ld-soname): Likewise.
11323         (abi-o32_hard_2008-ld-soname): Likewise.
11324         (abi-n32_soft-ld-soname): Likewise.
11325         (abi-n32_hard-ld-soname): Likewise.
11326         (abi-n32_soft_2008-ld-soname): Likewise.
11327         (abi-n32_hard_2008-ld-soname): Likewise.
11328         (abi-n64_soft-ld-soname): Likewise.
11329         (abi-n64_hard-ld-soname): Likewise.
11330         (abi-n64_soft_2008-ld-soname): Likewise.
11331         (abi-n64_hard_2008-ld-soname): Likewise.
11332         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11333         Likewise.
11334         (abi-64-v2-ld-soname): Likewise.
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11336         ld.so entries.
11337         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11338         variable.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11340         entry.
11341         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11342         variable.
11343         (abi-64-ld-soname): Likewise.
11344         (abi-x32-ld-soname): Likewise.
11345         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11346         entry.
11347         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11349 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11351         [BZ #14138]
11352         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11353         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11354         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11355         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11356         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11357         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11358         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11359         syscall entry for GLIBC_2.2 symbol version.
11360         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11361         Likewise.
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11363         (setrlimit): Likewise.
11364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11365         Likewise.
11367 2014-09-23  Will Newton  <will.newton@linaro.org>
11369         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11370         _LINUX_ARM_SYSDEP_H include guard too.
11371         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11372         define.
11374 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11376         * sysdeps/unix/sysv/linux/eventfd.c:
11377         Make first argument unsigned.
11378         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11379         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11381 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11383         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11384         * socket/sys/socket.h: Likewise
11385         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11387 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11389         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11391 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11393         * time/tst-ftime.c: New test.
11394         * time/Makefile (tests): Add tst-ftime.
11396 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11398         * soft-fp/extended.h: Fix comment formatting.
11399         * soft-fp/op-1.h: Likewise.
11400         * soft-fp/op-2.h: Likewise.
11401         * soft-fp/op-4.h: Likewise.
11402         * soft-fp/op-8.h: Likewise.
11403         * soft-fp/op-common.h: Likewise.
11404         * soft-fp/soft-fp.h: Likewise.
11406         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11408 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11410         [BZ #6652]
11411         * Makeconfig (soversions-default-setname): Remove variable.
11412         ($(common-objpfx)soversions.i): Don't pass default_setname to
11413         soversions.awk.
11414         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11415         oldest_abi to abi-versions.awk.
11416         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11417         * config.make.in (oldest-abi): Remove variable.
11418         * configure.ac (--enable-oldest-abi): Remove configure option.
11419         * configure: Regenerated.
11420         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11421         text.
11422         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11423         * scripts/soversions.awk: Do not handle default_setname variable.
11424         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11425         variable.
11426         * sysdeps/mach/hurd/configure: Regenerated.
11427         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11428         variable.
11429         * sysdeps/unix/sysv/linux/configure: Regenerated.
11431 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11433         * elf/Makefile (CFLAGS-interp.c): Remove.
11434         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11435         path string.
11436         * elf/interp.c: Include generated runtime-linker.h
11438         * Makerules (lib%.so): Don't include $(+interp) in
11439         prerequisites.
11440         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11441         * dlfcn/eval.c: Remove file.
11443         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11444         macros.
11446         [BZ #17266]
11447         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11448         4.2 and newer.
11450         [BZ #17370]
11451         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11453 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11454             Jakub Jelinek  <jakub@redhat.com>
11456         [BZ #17266]
11457         * libio/stdio.h: Check definition of __fortify_function
11458         instead of __extern_always_inline to include bits/stdio2.h.
11459         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11460         check if __extern_always_inline is defined.
11461         [__USE_MISC || __USE_XOPEN]: Likewise.
11462         [__USE_ISOC99] Likewise.
11463         * misc/sys/cdefs.h (__fortify_function): Define only if
11464         __extern_always_inline is defined.
11465         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11466         __extern_always_inline and __extern_inline only for g++-4.3
11467         and newer or a compatible gcc.
11469 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11471         [BZ #17371]
11472         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11473         last change to handle zero prefix length.
11475 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11477         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11478         _SC_REGEX_VERSION.
11480         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11481         _POSIX_RAW_SOCKETS.
11483 2014-09-13  Allan McRae  <allan@archlinux.org>
11485         * po/ru.po: Update Russian translation from translation project.
11487 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11489         * locale/programs/locale.c (show_locale_vars): Inline local function
11490         into its sole call site.  Clean up some style nits.
11491         (print_item): New function, broken out of ...
11492         (show_info): ... local function here.  Clean up style nits.
11494         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11495         out of ...
11496         (set_class_defaults): ... local function set_default here.
11497         Define set_default as a macro locally to pass constant parameters.
11498         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11499         rather than a shared local.
11501         * stdlib/rpmatch.c (try): New function, broken out of ...
11502         (rpmatch): ... local function here.  Also, prototypify definition.
11504 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11506         * scripts/soversions.awk: Do not handle configuration names.
11507         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11508         vendor and os variables to soversions.awk.
11509         * configure.ac: Do not modify gnu-* host_os.
11510         * configure: Regenerated
11511         * shlib-versions: Remove first column with configuration names.
11512         * nptl/shlib-versions: Likewise.
11513         * nptl_db/shlib-versions: Likewise.
11514         * sysdeps/hppa/shlib-versions: Likewise.
11515         * sysdeps/m68k/shlib-versions: Likewise.
11516         * sysdeps/mach/hurd/shlib-versions: Likewise.
11517         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11518         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11519         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11520         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11521         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11522         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11523         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11524         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11526         Likewise.
11527         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11528         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11529         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11530         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11531         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11532         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11533         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11537         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11539         Regenerated.
11540         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11542         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11544         * shlib-versions: Remove OS-specific entries.  Moved to files in
11545         sysdeps.
11546         * sysdeps/mach/hurd/shlib-versions: New file.
11547         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11549         * nptl/shlib-versions: Remove architecture-specific entries.
11550         Moved to files in sysdeps.
11551         * shlib-versions: Likewise.
11552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11553         file.
11554         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11555         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11556         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11557         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11559         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11560         (UDP_NO_CHECK6_RX): Likewise.
11562 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11564         * sysdeps/posix/sysconf.c (__sysconf): Spell
11565         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11567 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11569         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11570         loading.
11571         * iconv/Versions (__gconv_transliterate): Export for use from
11572         gconv modules.
11573         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11574         (struct __gconv_trans_data, __gconv_trans_fct,
11575         __gconv_trans_context_fct, __gconv_trans_query_fct,
11576         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11577         definitions.
11578         (struct __gconv_step_data): Remove __trans member.
11579         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11580         longer hidden.  Remove unused trans_data argument.
11581         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11582         (__gconv_translit_find): Remove declaration.
11583         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11584         prototype.
11585         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11586         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11587         trans_data argument.  Add hidden definition.
11588         (__gconv_translit_find): Remove.
11589         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11590         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11591         * iconv/skeleton.c: Remove transliteration initialization.
11592         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11593         __gconv_step_data initialization.
11594         * libio/iofwide.c (__libio_translit_): Remove.
11595         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11596         * wcsmbs/btowc.c (__btowc): Likewise.
11597         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11598         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11599         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11600         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11601         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11602         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11603         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11604         * wcsmbs/wctob.c (wctob): Likewise.
11606 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11608         [BZ #16194]
11609         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11610         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11611         register usage.
11612         * sysdeps/x86/Makefile: Adjust.
11614 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11615             Roland McGrath  <roland@hack.frob.com>
11617         * locale/weight.h: Add include guard.
11618         (findidx): Make static rather than auto; take new parameters
11619         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11620         * locale/weightwc.h: Likewise.
11621         * posix/fnmatch_loop.c
11622         (FCT): Change type of EXTRA from int32_t to wint_t.
11623         Don't include either header inside the function.
11624         Call FINDIDX rather than findidx, and pass new arguments.
11625         #undef FINDIDX at the end of the file.
11626         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11627         FINDIDX before including fnmatch_loop.c for the non-wide version.
11628         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11629         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11630         for the wide version.
11631         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11632         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11633         Pass new arguments to findidx.
11634         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11635         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11636         Don't #include it inside the function.  Pass new arguments to findidx.
11637         * posix/regex_internal.h
11638         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11639         (re_string_elem_size_at): Don't #include it inside the function.
11640         Pass new arguments to findidx.
11641         * string/strcoll_l.c: #include WEIGHT_H at top level.
11642         (get_next_seq): Don't #include it inside the function.
11643         Pass new arguments to findidx.
11644         (get_next_seq_nocache): Likewise.
11645         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11646         (STRXFRM): Don't #include it inside the function.
11647         Pass new arguments to findidx.
11649 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11651         [BZ #17344]
11652         * malloc/malloc.c (unlink): Turn asserts into a call to
11653         malloc_printerr.
11655 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11657         [BZ #17370]
11658         * libio/wfileops (do_ftell_wide): Free OUT.
11660 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11664 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11666         [BZ #17363]
11667         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11668         group if the current group is empty.
11670 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11672         * benchtests/bench-memset.c (test_main): Add more test from size
11673         from 32 to 512 bytes.
11674         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11675         Add POWER8 memset object.
11676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11677         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11678         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11679         implementation.
11680         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11681         Likewise.
11682         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11683         multiarch POWER8 memset optimization.
11684         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11685         POWER8 memset optimization.
11687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11688         Remove bzero multiarch objects.
11689         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11690         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11691         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11692         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11693         Remove define.
11694         [__bzero]: Redefine to specific name.
11695         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11696         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11697         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11698         define.
11699         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11700         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11702 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11704         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11705         warnings into errors.
11707         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11708         __cxa_thread_atexit_impl prototype.
11710 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11712         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11713         Fix capitalization of error message.
11715 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11717         * sysdeps/mips/preconfigure: Modify ABI tests.
11719 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11721         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11723 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11724             Carlos O'Donell  <carlos@systemhalted.org>
11726         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11727         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11728         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11729         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11730         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11731         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11732         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11733         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11734         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11735         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11736         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11737         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11738         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11739         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11740         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11741         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11743         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11744         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11745         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11747         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11748         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11749         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11750         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11751         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11752         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11753         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11754         Deconditionalize the code that was previously under [RESET_PID].
11755         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11756         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11757         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11758         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11759         include sysdep.h.
11761 2014-09-08  Allan McRae  <allan@archlinux.org>
11763         * version.h (RELEASE): Set to "development".
11764         (VERSION): Set to "2.20.90"
11766 2014-09-07  Allan McRae  <allan@archlinux.org
11768         * version.h (RELEASE): Set to "stable".
11769         (VERSION): Set to "2.20"
11770         * include/features.h (__GLIBC_MINOR__): Set to 20.
11772         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11773         Liebler.
11775         * po/ko.po: Update Korean translation from translation project.
11777 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11779         [BZ #17354]
11780         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11781         macro for handling signed relocations.
11783 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11785         [BZ #17325]
11786         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11787         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11788         assert.
11789         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11790         * iconvdata/ibm935.c (BODY): Likewise.
11791         * iconvdata/ibm937.c (BODY): Likewise.
11792         * iconvdata/ibm939.c (BODY): Likewise.
11793         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11794         assert.
11795         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11796         script.
11797         * iconvdata/run-iconv-test.sh: New test loop for checking for
11798         decoder crashers.
11800 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11802         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11803         libm_hidden_ver.
11805 2014-09-01  Allan McRae  <allan@archlinux.org>
11807         * po/eo.po: Update Esperanto translation from translation project.
11809         * po/ca.po: Update Catalan translation from translation project.
11811 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11813         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11814         __proc_dostop call.
11816 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11818         [BZ #17319]
11819         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11820         to call set_thread_area instead of hand written asm.
11821         (__NR_set_thread_area): Removed define.
11822         (TLS_FLAG_WRITABLE): Likewise.
11823         (__ASSUME_SET_THREAD_AREA): Remove check.
11824         (TLS_EBX_ARG): Remove define.
11825         (TLS_LOAD_EBX): Likewise.
11827 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11829         Simplify atomicity of socket creation in bind.
11831         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11832         looking up the name after linking the file.
11834 2014-08-27  Allan McRae  <allan@archlinux.org>
11836         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11838 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11840         [BZ #17187]
11841         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11842         trans_compare, open_translit, __gconv_translit_find):
11843         Remove module loading code.
11845 2014-08-26  Allan McRae  <allan@archlinux.org>
11847         * po/vi.po: Update Vietnamese translation from translation project.
11849         * po/uk.po: Update Ukrainian translation from translation project.
11851         * po/fr.po: Update French translation from translation project.
11853         * po/ru.po: Update Russian translation from translation project.
11855         * po/pl.po: Update Polish translation from translation project.
11857         * po/cs.po: Update Czech translation from translation project.
11859         * po/de.po: Update German translation from translation project.
11861         * po/bg.po: Update Bulgarian translation from translation project.
11863         * po/sv.po: Update Sweedish translation from translation project.
11865         * po/nl.po: Update Dutch translation from translation project.
11867         * po/es.po: Update Spanish translation from translation project.
11869 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11871         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11873         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11874         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11875         (CPPFLAGS-iconvconfig): Likewise.
11876         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11878         * include/libc-symbols.h: Remove unnecessary check for
11879         NOT_IN_libc.
11880         * nptl/pthreadP.h: Likewise.
11881         * sysdeps/aarch64/setjmp.S: Likewise.
11882         * sysdeps/alpha/setjmp.S: Likewise.
11883         * sysdeps/arm/sysdep.h: Likewise.
11884         * sysdeps/i386/setjmp.S: Likewise.
11885         * sysdeps/m68k/setjmp.c: Likewise.
11886         * sysdeps/posix/getcwd.c: Likewise.
11887         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11888         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11889         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11890         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11891         * sysdeps/sh/sh3/setjmp.S: Likewise.
11892         * sysdeps/sh/sh4/setjmp.S: Likewise.
11893         * sysdeps/unix/alpha/sysdep.h: Likewise.
11894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11896         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11897         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11900         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11902         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11905         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11907         * sysdeps/x86_64/setjmp.S: Likewise.
11909 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11911         [BZ #17263]
11912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11913         <stdint.h>.
11914         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11915         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11917 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11919         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11921         [BZ #17262]
11922         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11923         and __x86_64__ when disabling x87 inline functions.
11925 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11927         [BZ #17259]
11928         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11929         asm statement with __cpuid_count.
11931 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11933         * configure.ac: Change __ehdr_start code to dereference the struct.
11934         Run readelf on the output to look for relocations.
11935         * configure: Regenerated.
11937 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11939         [BZ #17261]
11940         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11941         value to 0.
11942         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11944 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11946         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11948 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11950         [BZ #16892]
11951         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11952         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11954 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11956         * malloc/malloc.c: Fix typo in comment.
11958 2014-08-09  Allan McRae  <allan@archlinux.org>
11960         * Regenerate libc.po.
11962 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11964         * intl/tst-gettext2.sh: Check every lang file for creation.
11966 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11968         * sysdeps/aarch64/fpu/math_private.h
11969         (libc_feholdsetround_noex_aarch64_ctx): New function.
11971 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11973         * sysdeps/arm/armv6/strcpy.S (strcpy):
11974         Fix performance issue in misaligned cases.
11976 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11978         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11979         Move definition from termios.h.
11980         (struct termio): Likewise.
11981         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11982         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11983         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11984         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11985         Likewise.
11986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11987         Move definition to ioctl-types.h
11988         (struct termio): Likewise.
11989         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11990         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11991         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11992         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11993         Likewise.
11995 2014-08-05  Richard Henderson  <rth@redhat.com>
11997         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11998         exceptions.
11999         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12000         Add fraiseexcpt.
12001         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12002         Use __feraiseexcept.
12003         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12004         Protect libm symbols with IS_IN_libm.
12006         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12008 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12010         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12012 2014-08-04  Will Newton  <will.newton@linaro.org>
12014         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12015         file.
12017 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12019         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12020         variants for each function.
12022 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12024         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12025         appended ...
12026         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12027         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12028         appended ...
12029         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12030         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12031         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12032         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12033         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12034         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12035         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12036         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12037         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12038         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12039         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12040         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12041         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12042         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12043         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12044         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12045         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12046         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12047         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12048         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12049         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12050         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12051         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12052         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12053         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12054         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12055         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12056         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12057         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12058         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12059         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12060         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12061         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12062         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12063         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12064         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12065         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12066         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12068         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12069         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12070         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12071         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12073         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12075         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12076         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12077         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12078         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12079         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12080         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12081         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12082         Update #include.
12083         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12084         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12086 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12088         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12089         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12090         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12091         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12092         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12093         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12095 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12097         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12098         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12099         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12100         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12104         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12105         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12106         (__libc_vfork): Define function under this name.
12107         (__vfork): Define as an alias.
12108         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12109         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12111 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12113         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12114         that was previously under [RESET_PID].
12115         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12117 2014-08-04  Andreas Schwab  <schwab@suse.de>
12119         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12121 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12123         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12124         (main): Likewise.
12126 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12128         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12130 2014-08-01  Richard Henderon  <rth@redhat.com>
12132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12133         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12134         typo in exact zero test.
12135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12136         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12137         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12139 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12141         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12142         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12143         * sysdeps/arm/sysdep.h: ... here.
12144         [!__ASSEMBLER__]: Include <stdint.h>.
12146 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12148         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12149         (HAVE_WCTYPE_H): Likewise.
12150         (HAVE_ISWCTYPE): Likewise.
12151         (ENABLE_NLS): Likewise.
12152         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12153         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12155         * posix/regex_internal.c: Check if DEBUG is defined and is
12156         set.
12158         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12159         (HAVE_MBSRTOWCS): Likewise.
12160         * posix/fnmatch.c: Include string.h unconditionally.
12162 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12164         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12165         reversal.
12167 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12169         * sysdeps/generic/safe-fatal.h: New file.
12170         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12171         * nptl/forward.c: Include it.
12172         (__pthread_unwind): Use __safe_fatal as default action, rather
12173         than a bogus use of INTERNAL_SYSCALL that could never work.
12175         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12176         * configure.ac (libc_cv_builtin_trap): New test.
12177         * configure: Regenerated.
12178         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12179         (ABORT_INSTRUCTION): Define using __builtin_trap.
12181         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12182         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12183         * sysdeps/nptl/nptl-signals.h: New file.
12184         * nptl/pthreadP.h: Include <nptl-signals.h>.
12186 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12188         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12189         (ONE_DIRECTION): Define.
12190         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12191         (ONE_DIRECTION): Define.
12192         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12193         (ONE_DIRECTION): Define.
12195 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12197         * sysdeps/s390/Makefile: Delete file.
12198         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12199         * sysdeps/s390/__longjmp.c: Delete file.
12200         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12201         Remove fields __flags and __reserved.
12202         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12203         and add versioning.
12204         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12205         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12206         * sysdeps/s390/rtld-setjmp.S: Likewise.
12207         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12208         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12209         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12210         * sysdeps/s390/s390-32/setjmp.S: ... here.
12211         Add versioning.
12212         (__sigsetjmp): Remove setting __flags field.
12213         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12214         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12215         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12216         * sysdeps/s390/s390-64/setjmp.S: ... here.
12217         Add versioning.
12218         (__sigsetjmp): Remove setting __flags field.
12219         * sysdeps/s390/setjmp.S: Delete file.
12220         * sysdeps/s390/sigjmp.c: Likewise.
12221         * sysdeps/s390/v1-longjmp.c: Likewise.
12222         * sysdeps/s390/v1-setjmp.h: Likewise.
12223         * sysdeps/s390/v1-sigjmp.c: Likewise.
12224         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12225         Remove v1-longjmp_chk.
12226         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12227         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12228         Include debug/longjmp_chk.c and add versioning.
12229         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12230         Include nptl/pt-longjmp.c and add versioning.
12231         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12232         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12233         Include __longjmp.c.
12234         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12235         Move to ...
12236         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12237         (__getcontext): Remove setting __flags field.
12238         Add versioning.
12239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12240         Don't restore upper high grps.
12241         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12242         Likewise.
12243         (__swapcontext): Remove setting uc_flags field.
12244         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12245         Delete file.
12246         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12247         Include __longjmp.c.
12248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12249         Move to ...
12250         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12251         (__getcontext): Remove setting __flags field.
12252         Add versioning.
12253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12254         (__swapcontext): Remove setting uc_flags field.
12255         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12256         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12257         Remove fields uc_high_gprs and __reserved.
12258         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12259         New file with reverted content.
12260         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12262         Regenerated.
12263         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12264         Regenerated.
12266 2014-07-31  Andreas Schwab  <schwab@suse.de>
12268         * config.h.in (HAVE_IFUNC): Define to 0.
12269         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12270         definedness.
12272 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12275         memmove-avx-unaligned, memcpy-avx-unaligned and
12276         mempcpy-avx-unaligned.
12277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12278         Add tests for AVX memcpy functions.
12279         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12280         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12281         memcpy_chk.
12282         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12283         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12284         memmove_chk.
12285         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12287         mempcpy_chk.
12288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12289         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12290         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12292 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12294         [BZ #17213]
12295         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12296         powerpc64le.
12298 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12300         [BZ #16839]
12301         * manual/llio.texi: Add section about open file description locks.
12302         * manual/examples/ofdlocks.c: Example of open file description
12303         lock usage.
12304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12305         F_OFD_SETLK, and F_OFD_SETLKW.
12307 2014-07-23  Allan McRae  <allan@archlinux.org>
12309         * po/es.po: Update Spanish translation from translation project.
12311 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12313         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12315 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12317         [BZ #17078]
12318         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12319         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12320         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12322 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12324         [BZ #17088]
12325         * math/fesetenv.c (__fesetenv)
12326         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12327         * math/feupdateenv.c (__feupdateenv)
12328         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12330         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12331         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12332         (__ASSUME_SOCKETCALL): Do not define.
12334         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12335         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12336         (__ASSUME_SOCKETCALL): Do not define.
12337         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12338         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12339         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12340         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12342         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12344         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12346         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12347         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12348         (__ASSUME_SOCKETCALL): Do not define.
12349         (__ASSUME_IPC64): Define unconditionally.
12350         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12351         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12352         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12354         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12356         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12357         Likewise.
12359         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12360         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12361         (__ASSUME_SOCKETCALL): Do not define.
12362         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12363         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12364         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12365         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12366         (__ASSUME_REQUEUE_PI): Define unconditionally.
12367         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12368         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12369         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12370         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12371         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12372         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12374         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12375         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12376         (__ASSUME_SOCKETCALL): Do not define.
12377         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12378         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12379         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12380         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12382         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12384         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12385         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12386         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12387         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12388         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12389         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12390         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12391         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12392         (__ASSUME_GETCPU_SYSCALL): Likewise.
12394         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12395         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12396         cases for individual architectures.
12397         * sysdeps/gnu/configure: Regenerated.
12398         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12399         LIBC_SLIBDIR_RTLDDIR.
12400         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12401         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12402         LIBC_SLIBDIR_RTLDDIR.
12403         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12405         LIBC_SLIBDIR_RTLDDIR.
12406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12407         Regenerated.
12408         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12409         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12410         file.
12411         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12412         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12413         file.
12414         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12415         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12416         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12417         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12419         * sysdeps/aarch64/shlib-versions: Move to ...
12420         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12421         * sysdeps/alpha/shlib-versions: Move to ...
12422         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12423         * sysdeps/arm/shlib-versions: Move to ...
12424         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12425         * sysdeps/hppa/shlib-versions: Move all contents except for
12426         libgcc_s entry to ...
12427         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12428         entry from ...
12429         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12430         * sysdeps/ia64/shlib-versions: Move to ...
12431         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12432         entry from ...
12433         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12434         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12435         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12436         * sysdeps/microblaze/shlib-versions: Move to ...
12437         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12438         * sysdeps/mips/shlib-versions: Move to ...
12439         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12440         entry from ...
12441         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12442         * sysdeps/tile/shlib-versions: Move to ...
12443         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12444         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12445         from ...
12446         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12447         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12448         entry from ...
12449         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12451 2014-07-17  Will Newton  <will.newton@linaro.org>
12453         * sysdeps/arm/bits/atomic.h
12454         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12455         (__arch_compare_and_exchange_bool_16_int): Likewise.
12456         (__arch_compare_and_exchange_bool_64_int): Likewise.
12458         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12459         into an #else block.
12461 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12463         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12464         just Linux configurations.  Test empirically that the compiler sets
12465         __ARM_EABI__, rather than using the tuple to decide.
12466         * sysdeps/arm/preconfigure: Regenerated.
12467         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12468         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12469         contents appended ...
12470         * sysdeps/arm/configure.ac: ... here.
12471         * sysdeps/arm/configure: Regenerated.
12473 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12475         * nptl/pthread_kill.c: New file.
12476         * nptl/pthread_sigmask.c: New file.
12477         * nptl/pthread_sigqueue.c: New file.
12479         * sysdeps/nptl/lowlevellock.h: New file.
12480         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12481         * sysdeps/nptl/lowlevellock-futex.h: New file.
12483         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12484         Remove dead declarations.
12486 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12488         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12489         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12490         config-cflags-avx2.
12491         * sysdeps/x86_64/configure.ac: Likewise.
12492         * sysdeps/i386/configure: Regenerated.
12493         * sysdeps/x86_64/configure: Likewise.
12494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12495         memset-avx2 only if config-cflags-avx2 is yes.
12496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12497         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12498         defined.
12499         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12500         only if HAVE_AVX2_SUPPORT is defined.
12501         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12503 2014-07-14  Alan Modra  <amodra@gmail.com>
12505         [BZ #17153]
12506         * elf/elf.h (DT_PPC64_NUM): Correct value.
12507         * NEWS: Add to fixed bug list.
12509 2014-07-13  Jim Meyering  <meyering@fb.com>
12511         [BZ 17150]
12512         regex: don't deref NULL upon heap allocation failure
12513         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12514         failure in one more place.
12515         To trigger the segfault, configure grep -with-included-regex,
12516         build it, and run these commands:
12517         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12519 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12521         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12523 2014-07-11  Richard Henderson  <rth@redhat.com>
12525         * sysdeps/aarch64/libm-test-ulps: Update.
12527 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12529         [BZ #17135]
12530         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12531         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12532         (__nptl_setxid): Initialize error member.  Call
12533         __nptl_setxid_error.
12534         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12535         * nptl/descr.h (struct xid_command): Add error member.
12536         * nptl/tst-setuid3.c: New file.
12537         * nptl/Makefile (tests): Add it.
12539 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12542         New define.
12543         (__lll_trylock): Use __lll_base_trylock.
12544         (__lll_cond_trylock): Likewise.
12546 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12548         * nptl/pthread_create.c (start_thread): Use atomic_or and
12549         lll_futex_wake directly rather than lll_robust_dead.
12550         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12551         (lll_robust_dead): Macro removed.
12552         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12554         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12555         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12557         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12558         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12559         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12560         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12562         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12563         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12564         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12565         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12568         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12569         Use atomic_compare_and_exchange_val_acq directly rather than
12570         lll_robust_trylock.
12571         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12572         (__lll_robust_trylock, lll_robust_trylock): Removed.
12573         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12574         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12575         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12576         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12577         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12578         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12579         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12580         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12583         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12584         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12585         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12588 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12590         * manual/locale.texi (Locale Names): New section documenting
12591         locale name syntax.  Adjust menu and node chaining accordingly.
12592         (Choosing Locale): Reference Locale Names, Locale Categories.
12593         Mention setting LC_ALL=C.  Reflect that name syntax is now
12594         documented.
12595         (Locale Categories): New section title.  Reference Locale Names.
12596         LC_ALL is an environment variable, but not a category.
12597         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12598         description, now in Locale Name.  Reference that section.  Locale
12599         name syntax is now documented.
12601 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12603         [BZ #17137]
12604         * locale/findlocale.c (name_present, valid_locale_name): New
12605         functions.
12606         (_nl_find_locale): Use the loc_name variable to store name
12607         candidates.  Call name_present and valid_locale_name to check and
12608         validate locale names.  Return an error if the locale is invalid.
12610 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12612         * locale/setlocale.c (setlocale): Use strdup for allocating
12613         composite name copy.
12615 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12617         Sync up with gnulib.
12618         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12619         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12620         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12621         and _GL_ARG_NONNULL.
12622         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12623         [!_LIBC]: Include code for Windows and Cygwin.
12624         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12625         Include prototype for int strerror_r.
12626         [!_LIBC] (is_open): New function.
12627         (flush_stdout): New function.
12628         (print_errno_message): Use it.
12629         (error): Likewise.
12630         (error_at_line): Likewise.
12631         (error_tail) Add function attribute macros.  Use
12632         __builtin_expect.
12634         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12636         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12638         * io/ftw.c: Include sys/param.h unconditionally.
12640         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12642         [BZ #17125]
12643         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12644         libc_freeres_ptr.
12645         (freecache): New function to free CACHE on exit.
12647         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12648         initialization.
12650 2014-07-09  David S. Miller  <davem@davemloft.net>
12652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12654         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12655         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12656         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12657         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12658         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12659         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12660         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12661         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12662         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12663         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12664         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12665         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12666         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12668 2014-07-09  Andreas Schwab  <schwab@suse.de>
12670         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12671         output.
12672         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12673         (do_test): Likewise.
12675         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12677 2014-07-09  Will Newton  <will.newton@linaro.org>
12679         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12680         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12681         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12682         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12683         * sysdeps/hppa/start.S (_start): Likewise.
12685 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12687         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12689         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12690         defined.
12692 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12694         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12695         after checking that it is non-NULL.
12697         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12699 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12701         * sysdeps/powerpc/memmove.c: Remove file.
12702         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12703         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12704         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12705         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12707         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12708         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12709         string memmove instead of removed powerpc one.
12711         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12712         [weak_alias]: Fix compiler warning due trailing data.
12713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12714         [weak_alias]: Likewise.
12715         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12716         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12719         (__libc_ifunc_impl_list): Add memmove functions.
12721 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12723         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12724         Remove code.
12725         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12726         Likewise
12727         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12728         Likewise
12729         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12730         Likewise
12731         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12732         Likewise
12733         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12734         Likewise
12735         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12736         Likewise
12737         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12738         Likewise
12739         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12740         Likewise
12741         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12742         Likewise
12743         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12744         Likewise
12745         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12746         Likewise
12747         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12748         Likewise
12749         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12750         Likewise
12751         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12752         Likewise
12753         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12754         Likewise
12755         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12756         Likewise
12758 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12760         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12761         to avoid alignment traps in non-cacheable memory.
12762         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12765         multiarch objects.
12766         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12767         file: multiarch power7 memmove.
12768         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12769         multiarch default memmove.
12770         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12771         multiarch memove for powerpc32/power4.
12773         * string/bcopy.c: Use full path to include memmove.c.
12774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12775         multiarch objects.
12776         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12777         bcopy for powerpc64.
12778         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12779         bcopy for powerpc64.
12780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12781         and memmove implementations.
12782         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12783         optimized multiarch memmove for POWER7/powerpc64.
12784         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12785         default multiarch memmove for powerpc64.
12786         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12787         multiarch for powerpc64.
12788         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12789         for POWER7/powerpc64.
12790         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12791         memmove for POWER7/powerpc64.
12793         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12794         glibc default one.
12796         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12797         __ELF_NATIVE_CLASS equal to 64.
12799 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12801         * sysdeps/nptl/lowlevellock.h: File removed.
12803         * NEWS: NPTL is no longer an add-on!
12804         * nptl/internaltypes.h: Moved ...
12805         * sysdeps/nptl/internaltypes.h: ... here.
12806         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12807         * sysdeps/nptl/fork.c: Likewise.
12808         * sysdeps/nptl/gai_misc.h: Likewise.
12809         * sysdeps/nptl/librt-cancellation.c: Likewise.
12810         * sysdeps/nptl/jmp-unwind.c: Likewise.
12811         * sysdeps/nptl/setxid.h: Likewise.
12812         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12813         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12814         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12815         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12816         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12817         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12818         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12819         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12820         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12821         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12822         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12823         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12824         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12825         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12826         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12827         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12828         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12829         * nptl/Makeconfig: Moved ...
12830         * sysdeps/nptl/Makeconfig: ... here.
12831         * nptl/configure: File removed.
12832         * nptl/ANNOUNCE: File removed.
12833         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12834         * sysdeps/unix/sysv/linux/configure: Regenerated.
12836         * nptl/Makefile (routines): Add libc_pthread_init,
12837         libc_multiple_threads, register-atfork and unregister-atfork.
12838         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12839         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12840         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12841         pthread-pi-defines.sym, structsem.sym.
12842         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12843         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12844         [$(subdir) = nptl] (tests): Add tst-setgetname.
12845         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12846         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12847         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12848         [!LIBC_SIGACTION]: Remove aliases.
12849         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12850         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12851         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12852         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12853         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12854         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12855         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12857         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12858         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12859         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12860         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12861         __libc_allocate_rtsig_private.
12862         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12863         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12864         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12865         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12866         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12867         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12868         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12869         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12870         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12871         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12872         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12873         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12874         * nptl/internaltypes.h: ... here.
12875         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12876         * sysdeps/nptl/jmp-unwind.c: ... here.
12877         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12878         * nptl/libc-lowlevellock.c: ... here.
12879         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12880         * nptl/libc_multiple_threads.c: ... here.
12881         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12882         * nptl/libc_pthread_init.c: ... here.
12883         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12884         * nptl/lowlevelbarrier.sym: ... here.
12885         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12886         * nptl/lowlevelcond.sym: ... here.
12887         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12888         * nptl/lowlevellock.c: ... here.
12889         * nptl/lowlevellock.h: Moved ...
12890         * sysdeps/nptl/lowlevellock.h: ... here.
12891         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12892         * nptl/lowlevelrobustlock.c: ... here.
12893         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12894         * nptl/lowlevelrobustlock.sym: ... here.
12895         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12896         * nptl/lowlevelrwlock.sym: ... here.
12897         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12898         * nptl/pt-fork.c: ... here.
12899         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12900         * nptl/pthread-pi-defines.sym: ... here.
12901         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12902         * nptl/pthread_attr_getaffinity.c: ... here.
12903         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12904         * nptl/pthread_attr_setaffinity.c: ... here.
12905         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12906         * nptl/pthread_mutex_cond_lock.c: ... here.
12907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12908         Update #include.
12909         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12910         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12911         * nptl/pthread_once.c: ... here, replacing old file.
12912         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12913         * nptl/pthread_yield.c: ... here.
12914         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12915         * nptl/register-atfork.c: ... here.
12916         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12917         * nptl/sem_post.c: ... here.
12918         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12919         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12920         * nptl/sem_timedwait.c: ... here.
12921         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12922         * nptl/sem_trywait.c: ... here.
12923         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12924         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12925         * nptl/sem_wait.c: ... here.
12926         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12927         * nptl/structsem.sym: ... here.
12928         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12929         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12930         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12931         * nptl/unregister-atfork.c: ... here.
12932         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12933         * nptl/unwindbuf.sym: ... here.
12934         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12935         * sysdeps/nptl/fork.c: ... here.
12936         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12937         * sysdeps/nptl/fork.h: ... here.
12938         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12939         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12940         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12941         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12942         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12943         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12944         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12945         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12946         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12947         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12948         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12949         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12950         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12951         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12952         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12953         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12954         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12955         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12956         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12957         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12958         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12959         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12960         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12961         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12962         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12963         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12964         * sysdeps/unix/sysv/linux/raise.c: ... here.
12965         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12966         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12967         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12968         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12969         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12970         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12971         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12972         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12973         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12974         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12975         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12976         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12977         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12978         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12979         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12981 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12983         * sysdeps/generic/memcopy.h: Add comment for
12984         MEMCPY_OK_FOR_FWD_MEMMOVE.
12986 2014-07-04  Will Newton  <will.newton@linaro.org>
12988         * string/memchr.c: Merge from gnulib.
12989         [_LIBC]: Remove conditionals.
12990         (__ptr_t): Remove define.
12991         (LONG_MAX_32_BITS): Likewise.
12992         (LONG_MAX): Likewise.
12993         (MEMCHR): Use ANSI prototype and optimize algorithm.
12995         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12997 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12999         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13000         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13002         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13003         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13004         in a bare environment with no <stdlib.h> installed.
13005         * sysdeps/nptl/configure: Regenerated.
13007         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13009         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13010         AC_EGREP_CPP for kernel header checks, so they only succeed if
13011         including <linux/version.h> actually works right.
13012         * sysdeps/unix/sysv/linux/configure: Regenerated.
13014         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13015         value so it's not diagnosed as unused.
13017         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13018         thing) with "ifeq ($(subdir),rt)".
13020 2014-07-03  Richard Henderson  <rth@redhat.com>
13022         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13023         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13024         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13026         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13027         (math_force_eval): New.
13029         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13030         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13032         * sysdeps/alpha/fpu/s_round.c: Remove file.
13033         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13035         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13036         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13037         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13038         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13039         (_dl_start, print_statistics): Likewise.
13040         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13041         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13043         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13044         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13045         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13046         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13047         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13048         (HP_SMALL_TIMING_AVAIL): Define.
13049         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13051         (HP_SMALL_TIMING_AVAIL): Define.
13052         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13053         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13055         * sysdeps/aarch64/hp-timing.h: New file.
13057         * sysdeps/generic/hp-timing.h: Remove dead comment.
13058         * sysdeps/generic/hp-timing-common.h: New file.
13059         * sysdeps/alpha/hp-timing.h: Include it.
13060         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13061         * sysdeps/i386/i686/hp-timing.h: Likewise.
13062         * sysdeps/ia64/hp-timing.h: Likewise.
13063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13064         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13065         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13066         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13067         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13068         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13069         (hp_timing_t): New.
13071         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13072         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13073         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13074         * elf/rtld.c (_dl_start_final): Likewise.
13075         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13076         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13077         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13078         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13079         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13080         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13081         (HP_TIMING_DIFF_INIT): Remove.
13082         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13084         (HP_TIMING_DIFF_INIT): Remove.
13085         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13086         * sysdeps/i386/i686/hp-timing.c: Remove file.
13087         * sysdeps/x86_64/hp-timing.c: Remove file.
13088         * sysdeps/ia64/hp-timing.c: Remove file.
13089         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13090         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13091         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13092         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13094         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13095         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13096         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13097         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13099         (HP_TIMING_ACCUM): Remove.
13100         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13102         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13104         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13105         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13106         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13107         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13109         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13111         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13113         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13115 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13117         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13119 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13121         Sync up with gettext.
13122         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13123         [_MSC_VER]: Include malloc.h
13124         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13125         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13126         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13127         TEMP_FAILURE_RETRY.  Cast return of alloca.
13128         [!_LIBC] Call gl_rwlock_init.
13129         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13131 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13133         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13134         before checking its value.
13136 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13138         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13140         * debug/memcpy_chk.c: Don't include pagecopy.h.
13141         * debug/mempcpy_chk.c: Likewise.
13142         * string/memcpy.c: Likewise.
13143         * string/memmove.c: Likewise.
13144         * sysdeps/powerpc/memmove.c: Likewise.
13145         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13146         definition of PAGE_COPY_FWD_MAYBE here...
13147         * sysdeps/generic/pagecopy.h: ... from here.
13148         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13150 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13151             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13153         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13155         optimizations.
13156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13157         (__libc_ifunc_impl_list): Likewise.
13158         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13159         multiarch strcat for PPC64.
13160         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13161         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13163 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13165         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13169         * intl/loadmsgcat.c: Remove declaration of
13170         get_sysdep_segment_value.
13171         (get_sysdep_segment_value): Use ISO C style.
13172         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13173         semicolon.  Fix typo and formatting in comment.
13174         (_nl_unload_domain): Use ISO C style.
13176         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13178 2014-07-02  Will Newton  <will.newton@linaro.org>
13180         * malloc/obstack.c: Merge from gnulib master.
13181         [HAVE_CONFIG_H]: Remove conditional code.
13182         [!_LIBC]: Include config.h.
13183         [!ELIDE_CODE]: Don't include inttypes.h, include
13184         stdint.h unconditionally.
13185         (print_and_abort): Mark as _Noreturn.
13186         (_obstack_allocated_p): Mark as __attribute_pure__.
13187         (obstack_free): Rename to __obstack_free.
13188         [!__attribute__]: Remove conditional code.
13189         * malloc/obstack.h: Merge from gnulib master.
13190         [__cplusplus]: Move conditional down.
13191         [!__attribute_pure__]: Define __attribute_pure__ here
13192         if it is not already defined.
13193         (_obstack_memory_used): Mark as __attribute_pure__.
13194         [!__obstack_free]: Define as obstack_free.
13195         [__GNUC__]: Remove check for ancient NeXT gcc.
13197 2014-07-02  Will Newton  <will.newton@linaro.org>
13198             Paul Eggert  <eggert@cs.ucla.edu>
13200         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13202 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13204         * resolv/gethnamaddr.c: Add comment warning that the file is
13205         not maintained.
13207 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13209         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13210         entries.
13212         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13213         entry for aio_cancel and aio_cancel64.
13214         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13215         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13216         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13217         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13218         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13219         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13220         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13221         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13222         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13223         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13224         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13225         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13226         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13228 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13230         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13231         * nptl/pthread_mutex_lock.c: Likewise.
13232         * nptl/pthread_mutex_timedlock.c: Likewise.
13233         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13235 2014-07-01  Richard henderson  <rth@redhat.com>
13237         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13238         (__isnan, __isnanl): Remove.
13239         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13241         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13243 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13245         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13247 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13249         * resolv/nss_dns/dns-host.c (getanswer_r)
13250         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13252 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13255         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13256         undefine.
13257         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13258         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13260 2014-07-01  Roland McGrath <roland@hack.frob.com>
13262         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13263         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13265         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13266         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13268         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13269         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13270         ... here.
13271         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13272         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13274         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13275         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13276         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13277         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13279         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13280         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13281         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13282         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13283         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13284         Moved ...
13285         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13286         ... here.
13287         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13288         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13289         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13290         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13291         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13292         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13293         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13294         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13295         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13296         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13297         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13298         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13299         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13300         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13301         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13302         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13303         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13304         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13305         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13306         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13307         ... here.
13308         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13309         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13310         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13311         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13312         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13313         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13314         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13315         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13317 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13319         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13320         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13321         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13322         Add sysdep.
13324 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13328 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13330         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13335         * sysdeps/arm/libm-test-ulps: Regenerated.
13337 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13338             Roland McGrath <roland@hack.frob.com>
13340         * test-skeleton.c (signal_handler): Kill the whole process group
13341         before killing the child individually.
13342         (main): Report any failure on `setpgid'.
13344 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13346         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13347         from _TLS_H to _ARM_NPTL_TLS_H.
13348         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13349         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13351 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13353         [BZ #16539]
13354         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13355         (__expm1l): Return argument unchanged when small but not
13356         subnormal.
13358         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13359         include macro name.
13360         (_FP_UNPACK_RAW_1_P): Likewise.
13361         (_FP_PACK_RAW_1): Likewise.
13362         (_FP_PACK_RAW_1_P): Likewise.
13363         (_FP_MUL_MEAT_1_wide): Likewise.
13364         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13365         (_FP_MUL_MEAT_1_hard): Likewise.
13366         (_FP_DIV_MEAT_1_imm): Likewise.
13367         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13368         (_FP_DIV_MEAT_1_udiv): Likewise.
13369         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13370         (_FP_UNPACK_RAW_2): Likewise.
13371         (_FP_UNPACK_RAW_2_P): Likewise.
13372         (_FP_PACK_RAW_2): Likewise.
13373         (_FP_PACK_RAW_2_P): Likewise.
13374         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13375         (_FP_MUL_MEAT_2_wide): Likewise.
13376         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13377         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13378         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13379         (_FP_MUL_MEAT_2_gmp): Likewise.
13380         (_FP_DIV_MEAT_2_udiv): Likewise.
13381         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13382         (_FP_FRAC_SRL_4): Likewise.
13383         (_FP_FRAC_SRST_4): Likewise.
13384         (_FP_FRAC_SRS_4): Likewise.
13385         (_FP_UNPACK_RAW_4): Likewise.
13386         (_FP_UNPACK_RAW_4_P): Likewise.
13387         (_FP_PACK_RAW_4): Likewise.
13388         (_FP_PACK_RAW_4_P): Likewise.
13389         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13390         (_FP_MUL_MEAT_4_wide): Likewise.
13391         (_FP_MUL_MEAT_4_gmp): Likewise.
13392         (umul_ppppmnnn): Likewise.
13393         (_FP_DIV_MEAT_4_udiv): Likewise.
13394         (__FP_FRAC_ADD_4): Likewise.
13395         (__FP_FRAC_SUB_3): Likewise.
13396         (__FP_FRAC_SUB_4): Likewise.
13397         (__FP_FRAC_DEC_3): Likewise.
13398         (__FP_FRAC_DEC_4): Likewise.
13399         (__FP_FRAC_ADDI_4): Likewise.
13400         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13401         (_FP_FRAC_SRL_8): Likewise.
13402         (_FP_FRAC_SRS_8): Likewise.
13404         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13405         include macro name.
13406         (FP_UNPACK_RAW_EP): Likewise.
13407         (FP_PACK_RAW_E): Likewise.
13408         (FP_PACK_RAW_EP): Likewise.
13409         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13410         (_FP_ISSIGNAN): Likewise.
13411         (_FP_ADD_INTERNAL): Likewise.
13412         (_FP_FMA): Likewise.
13413         (_FP_CMP): Likewise.
13414         (_FP_SQRT): Likewise.
13415         (_FP_TO_INT): Likewise.
13416         (_FP_FROM_INT): Likewise.
13417         (FP_EXTEND): Likewise.
13418         (_FP_DIV_MEAT_N_loop): Likewise.
13420 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13422         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13423         throughout.
13425 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13427         [BZ #17097]
13428         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13429         result with correct sign in case of exponents that produce
13430         overflow except for X very close to 1.
13432 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13434         mktime: merge #if/#ifdef usage from glibc
13435         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13436         as that works with both Glibc's and Gnulib's style.
13437         See thread starting at Siddhesh Poyarekar's bug report at:
13438         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13440 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13442         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13443         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13444         * sysdeps/tile/tilegx/memmove.c: Remove file.
13446 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13448         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13449         abi-name definition.
13450         * scripts/soversions.awk: Do not handle or generate ABI lines.
13451         * shlib-versions: Remove ABI entries.
13452         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13453         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13455 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13458         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13459         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13460         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13462         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13464         Moved ...
13465         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13466         ... here.
13467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13468         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13470         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13472         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13474         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13476         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13478         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13480         Moved ...
13481         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13483         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13485         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13487         Moved ...
13488         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13490         Moved ...
13491         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13493         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13495         Moved ...
13496         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13498         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13500         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13502         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13504         Moved ...
13505         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13507         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13508         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13509         Moved ...
13510         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13512         Moved ...
13513         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13515         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13517         Moved ...
13518         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13519         ... here.
13520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13521         Identical file removed.
13522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13523         Moved ...
13524         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13526         Identical file removed.
13527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13530         Moved ...
13531         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13533         Identical file removed.
13534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13535         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13537         Identical file removed.
13538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13539         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13541         Identical file removed.
13542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13543         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13545         Identical file removed.
13546         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13547         Moved ...
13548         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13550         Identical file removed.
13551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13552         Moved ...
13553         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13557         Identical file removed.
13558         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13559         Moved ...
13560         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13561         ... here.
13562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13563         Identical file removed.
13564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13565         Moved ...
13566         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13567         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13568         Identical file removed.
13569         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13570         Moved ...
13571         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13573         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13577         Moved ...
13578         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13579         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13580         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13582         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13583         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13584         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13585         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13586         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13588 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13590         [BZ #17092]
13591         * nscd/nscd.c (monitor_child): Return exit status of child
13592         instead of return value from wait syscall.
13594 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13596         * configure.ac (libc_commonpagesize): Remove variable.
13597         (libc_relro_required): Likewise.
13598         (libc_cv_z_relro): Remove configure test.
13599         * configure: Regenerated.
13600         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13601         variable.
13602         (libc_relro_required): Likewise.
13603         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13604         (libc_relro_required): Likewise.
13605         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13606         (libc_relro_required): Likewise.
13607         * sysdeps/arm/preconfigure: Regenerated.
13608         * sysdeps/ia64/preconfigure: Remove file.
13609         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13610         variable.
13611         (libc_relro_required): Likewise.
13613         [BZ #16561]
13614         [BZ #16562]
13615         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13616         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13617         recompute overflowing results in original rounding mode.
13618         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13619         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13620         recompute overflowing results in original rounding mode.
13621         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13622         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13623         recompute overflowing results in original rounding mode.
13624         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13625         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13626         recompute overflowing results in original rounding mode.
13627         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13628         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13629         recompute overflowing results in original rounding mode.
13630         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13631         (libc_feholdsetround_ctx): New macro.
13632         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13633         * sysdeps/i386/fpu/libm-test-ulps: Update.
13634         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13636 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13638         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13639         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13640         corresponding .cpsetup call.
13642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13644         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13645         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13646         * sysdeps/arm/Makefile [$(subdir) = csu]
13647         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13648         (static-only-routines): Add aeabi_read_tp here.
13649         (shared-only-routines): Add libc-aeabi_read_tp here.
13650         (CFLAGS-libc-start.c): Add -fexceptions here.
13651         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13652         (sysdep_routines, static-only-routines, shared-only-routines):
13653         Don't add to these here.
13654         (CFLAGS-libc-start.c): Likewise.
13656         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13657         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13658         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13659         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13660         * sysdeps/arm/Makefile [$(subdir) = rt]
13661         (librt-sysdep_routines, librt-shared-only-routines):
13662         Append rt-aeabi_unwind_cpp_pr1 here.
13663         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13664         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13665         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13666         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13667         Append nptl-aeabi_unwind_cpp_pr1 here.
13668         (tests): Filter out tst-cleanupx4 here.
13669         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13670         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13671         Don't do those here.
13673 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13675         * scripts/list-sources.sh: Do not handle ports specially.
13677 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13679         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13680         * sysdeps/arm/feupdateenv.c: Likewise.
13682         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13684 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13686         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13687         trailing whitespace removed.
13688         * scripts/config.guess: Update to version 2014-03-23.
13689         * scripts/config.sub: Update to version 2014-05-01
13690         * scripts/install-sh: Update to version 2013-12-25.23.
13691         * scripts/move-if-change: Update from gnulib.
13693 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13695         * debug/memmove_chk.c: Remove pagecopy.h include.
13697 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13699         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13700         identical to gnulib mktime.
13702 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13704         * configure.ac: Do not test for machine being rs6000.  Do not test
13705         for powerpc*-*soft.
13706         * configure: Regenerated.
13708         [BZ #11505]
13709         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13710         test.
13711         * configure: Regenerated.
13712         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13713         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13714         Remove configure test.
13715         * sysdeps/arm/configure: Regenerated.
13716         * sysdeps/nptl/configure.ac: Do not check
13717         libc_cv_asm_cfi_directives.
13718         * sysdeps/nptl/configure: Regenerated.
13719         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13720         * sysdeps/x86_64/nptl/configure: Remove generated file.
13721         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13722         unconditional.
13723         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13725 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13727         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13728         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13729         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13730         it is defined.
13732         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13733         instead of whether it is defined.
13734         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13735         * sysdeps/hppa/dl-machine.h: Likewise.
13736         * sysdeps/ia64/dl-machine.h: Likewise.
13737         * sysdeps/m68k/dl-machine.h: Likewise.
13738         * sysdeps/microblaze/dl-machine.h: Likewise.
13739         * sysdeps/mips/dl-machine.: Likewise.
13740         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13741         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13742         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13743         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13744         * sysdeps/sh/dl-machine.h: Likewise.
13745         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13746         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13747         * sysdeps/tile/dl-machine.h: Likewise.
13748         * sysdeps/x86_64/dl-machine.h: Likewise.
13750         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13751         code.
13752         (verify_persistent_db): Likewise.
13754 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13757         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13759         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13761         Moved ...
13762         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13763         ... here.
13764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13765         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13767         Identical file removed.
13768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13771         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13773         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13775         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13777         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13779         Moved ...
13780         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13782         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13784         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13786         Moved ...
13787         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13789         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13791         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13793         Identical file removed.
13794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13795         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13797         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13801         ... here.
13802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13805         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13811         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13813         Moved ...
13814         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13816         Moved ...
13817         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13819         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13821         Moved ...
13822         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13824         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13826         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13827         folded into ...
13828         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13829         * sysdeps/unix/sysv/linux/s390/Versions
13830         (libpthread: GLIBC_2.19): New version set.
13831         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13832         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13833         (librt: GLIBC_2.3.3): New version set.
13834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13835         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13836         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13838         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13839         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13840         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13841         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13842         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13843         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13844         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13845         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13846         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13847         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13848         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13849         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13850         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13851         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13853         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13854         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13856         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13858         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13859         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13860         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13861         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13862         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13863         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13864         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13865         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13867         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13870         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13872         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13874         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13876         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13878         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13880         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13881         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13882         (__libc_vfork): Define the function under this name.
13883         [!NOT_IN_libc] (__vfork): Make this an alias.
13884         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13886         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13887         (__libc_vfork): Define the function under this name.
13888         [!NOT_IN_libc] (__vfork): Make this an alias.
13889         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13890         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13891         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13896         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13897         code that was previously under [RESET_PID].
13898         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13899         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13903         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13904         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13905         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13907         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13908         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13909         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13910         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13911         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13912         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13913         Moved ...
13914         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13915         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13916         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13917         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13919         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13920         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13921         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13922         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13923         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13924         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13925         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13926         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13927         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13928         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13929         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13930         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13931         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13932         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13933         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13934         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13935         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13936         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13937         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13938         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13939         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13940         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13941         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13942         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13944 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13946         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13947         that was previously under [RESET_PID].
13948         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13950 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13952         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13953         not undefine and redefine.
13954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13955         [O_CLOEXEC]: Make code unconditional.
13956         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13957         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13958         <kernel-features.h>.
13959         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13960         conditional variable definition.
13961         (shm_open) [O_CLOEXEC]: Make code unconditional.
13962         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13963         code.
13965         * configure.ac (USE_REGPARMS): Don't define here.
13966         * configure: Regenerated.
13967         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13968         * sysdeps/i386/configure: Regenerated.
13970         * nptl/createthread.c: Don't include kernel-features.h.
13971         * nptl/pthread_cancel.c: Likewise.
13972         * nptl/pthread_condattr_setclock.c: Likewise.
13973         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13974         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13975         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13976         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13977         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13978         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13982         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13983         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13984         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13985         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13986         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13987         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13988         * nscd/gai.c: Likewise.
13989         * nss/nss_db/db-open.c: Likewise.
13990         * sysdeps/generic/ldsodefs.h: Likewise.
13991         * sysdeps/sh/nptl/tls.h: Likewise.
13992         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13993         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13994         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13995         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13996         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13997         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13998         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13999         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14001         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14002         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14003         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14004         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14005         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14006         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14007         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14008         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14009         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14010         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14011         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14014         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14015         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14020         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14021         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14022         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14023         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14024         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14025         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14027         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14028         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14029         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14030         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14031         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14032         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14033         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14034         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14035         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14036         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14037         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14038         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14039         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14040         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14041         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14042         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14043         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14044         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14045         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14046         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14047         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14048         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14049         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14072         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14073         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14074         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14075         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14076         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14077         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14079         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14080         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14081         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14082         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14084         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14085         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14086         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14087         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14088         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14089         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14090         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14091         * sysdeps/unix/sysv/linux/system.c: Likewise.
14092         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14093         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14094         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14095         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14096         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14097         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14098         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14100         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14101         * configure: Regenerated.
14102         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14104         * configure.ac (base_machine): Do not set specially for particular
14105         machines here.
14106         * configure: Regenerated.
14107         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14108         settings from configure.ac.
14109         * sysdeps/i386/preconfigure: New file.
14110         * sysdeps/s390/preconfigure: Likewise.
14111         * sysdeps/sh/preconfigure: Likewise.
14112         * sysdeps/sparc/preconfigure: Likewise.
14114 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14116         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14117         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14118         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14119         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14120         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14121         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14122         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14123         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14124         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14125         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14126         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14127         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14128         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14129         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14131         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14133         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14134         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14136         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14137         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14138         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14139         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14140         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14141         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14142         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14143         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14144         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14145         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14146         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14147         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14148         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14149         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14150         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14151         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14152         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14153         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14154         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14155         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14157         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14159         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14161         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14163         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14165         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14166         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14167         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14168         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14169         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14170         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14171         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14173         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14176         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14178         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14180         Moved ...
14181         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14182         ... here.
14183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14184         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14186         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14188         Moved ...
14189         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14193         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14195         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14197         Moved ...
14198         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14200         Moved ...
14201         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14205         Moved ...
14206         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14208         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14210         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14212         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14214         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14216         Moved ...
14217         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14218         ... here.
14219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14220         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14224         Moved ...
14225         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14227         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14229         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14231         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14233         Moved ...
14234         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14236         Moved ...
14237         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14239         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14241         Moved ...
14242         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14244         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14246         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14248 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14250         * timezone/checktab.awk: Update from tzcode 2014e.
14251         * timezone/private.h: Likewise.
14252         * timezone/tzfile.h: Likewise.
14253         * timezone/zdump.c: Likewise.
14254         * timezone/zic.c: Likewise.
14256         * sysdeps/unix/sysv/linux/kernel-features.h
14257         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14258         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14259         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14260         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14261         Remove conditional code.
14263 2014-06-25  Will Newton  <will.newton@linaro.org>
14265         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14266         (_dl_arm_cap_flags): Add HWCAP2 values.
14267         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14268         (_DL_HWCAP_COUNT): Increase to 37.
14269         (_DL_HWCAP_LAST): New define.
14270         (_DL_HWCAP2_LAST): New define.
14271         (_dl_procinfo): Add support for printing
14272         AT_HWCAP2 entries.
14273         (_dl_string_hwcap): Use _dl_hwcap_string.
14275 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14279 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14281         * README: Do not mention ports directory.
14283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14284         Remove macro.
14285         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14286         <kernel-features.h>.
14287         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14288         conditional variable definition.
14289         (__futimes): Update comment.
14290         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14291         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14293         [BZ #16560]
14294         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14295         arguments close to 0.
14296         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14297         Likewise.
14298         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14299         Likewise.
14300         * math/auto-libm-test-in: Add more tests of exp10.
14301         * math/auto-libm-test-out: Regenerated.
14302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14304         * sysdeps/unix/sysv/linux/kernel-features.h
14305         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14306         * sysdeps/unix/sysv/linux/readv.c: Do not include
14307         <kernel-features.h>.
14308         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14309         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14310         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14311         unconditional.
14312         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14313         conditional code.
14314         * sysdeps/unix/sysv/linux/writev.c: Do not include
14315         <kernel-features.h>.
14316         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14317         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14318         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14319         unconditional.
14320         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14321         conditional code.
14323 2014-06-25  Will Newton  <will.newton@linaro.org>
14325         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14326         comment changes throughout the file.  Remove checks
14327         for HAVE_*_H definitions that are not required.
14328         (__gen_tempname): Call abort if an unknown kind value is
14329         passed.
14331 2014-06-25  Andreas Schwab  <schwab@suse.de>
14333         [BZ #17086]
14334         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14335         scalbln, scalblnf, scalblnl in libc.
14337 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14339         [BZ #17086]
14340         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14341         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14342         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14344 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14346         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14347         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14348         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14349         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14350         Update #include.
14351         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14352         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14353         Update #include.
14354         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14355         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14356         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14357         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14358         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14359         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14360         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14361         * sysdeps/x86/bits/semaphore.h: ... here.
14362         * sysdeps/x86/nptl/elide.h: Moved ...
14363         * sysdeps/x86/elide.h: ... here.
14364         * sysdeps/x86_64/nptl/Implies: File removed.
14365         * sysdeps/i386/nptl/Implies: File removed.
14367 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14369         [BZ #16539]
14370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14371         return the argument for normal arguments with exponent below -64.
14372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14373         Likewise.
14374         * math/auto-libm-test-in: Add another test of expm1.
14375         * math/auto-libm-test-out: Regenerated.
14377         [BZ #16287]
14378         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14379         calling __erfcl for arguments at least 16.
14380         * math/auto-libm-test-in: Add more tests of erf.
14381         * math/auto-libm-test-out: Regenerated.
14383         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14384         individual architectures.
14385         * sysdeps/unix/sysv/linux/configure: Regenerated.
14386         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14387         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14388         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14389         (ldd_rewrite_script): Define variable.
14390         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14392         file.
14393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14394         generated file.
14395         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14396         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14397         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14398         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14399         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14400         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14401         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14402         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14404 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14406         [BZ #17084]
14407         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14408         Rename member __data.d to __data.__elision_data.
14410 2014-06-24  Wilco  <wdijkstr@arm.com>
14412         * NEWS: Add 16918 to fixed bug list.
14414 2014-06-24  Wilco  <wdijkstr@arm.com>
14416         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14418 2014-06-24  Wilco  <wdijkstr@arm.com>
14420         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14421         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14422         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14423         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14424         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14425         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14426         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14427         Use _FPU_MASK_RM.
14429 2014-06-24  Wilco  <wdijkstr@arm.com>
14431         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14433 2014-06-24  Wilco  <wdijkstr@arm.com>
14435         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14436         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14437         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14438         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14440 2014-06-24  Wilco  <wdijkstr@arm.com>
14442         [BZ #16918]
14443         * sysdeps/arm/feupdateenv.c (feupdateenv):
14444         Rewrite to reduce FPSCR accesses and fix return value.
14446 2014-06-24  Wilco  <wdijkstr@arm.com>
14448         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14449         Optimize to avoid unnecessary FPSCR writes.
14450         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14451         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14452         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14453         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14455 2014-06-24  Wilco  <wdijkstr@arm.com>
14457         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14458         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14459         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14460         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14461         Call libc_fetestexcept_vfp.
14462         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14463         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14464         __SOFTFP__ ifdef so that they can be built for softfp.
14466 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14468         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14469         argument type signed char.
14471         * Makerules (check-abi): Dump diff of symlist if the test
14472         fails.
14474 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14476         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14477         using abort.
14479         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14480         Remove unused variable ST.
14482 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14484         [BZ #16354]
14485         [BZ #17061]
14486         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14487         small arguments before calling __expm1.
14488         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14489         small arguments before calling __expm1f.
14490         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14491         small arguments before calling __expm1l.
14492         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14493         Likewise.
14494         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14495         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14496         spurious underflow for some cosh tests.
14497         * math/auto-libm-test-out: Regenerated.
14498         * sysdeps/i386/fpu/libm-test-ulps: Update.
14500         [BZ #17050]
14501         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14502         (__ieee754_y1): Set errno if return value overflows.
14503         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14504         (__ieee754_y1f): Set errno if return value overflows.
14505         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14506         (__ieee754_y1l): Set errno if return value overflows.
14507         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14508         (__ieee754_y1l): Set errno if return value overflows.
14509         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14510         * math/auto-libm-test-out: Regenerated.
14512         * math/gen-auto-libm-tests.c: Document use of
14513         ignore-zero-inf-sign.
14514         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14515         (input_flags): Add ignore-zero-inf-sign.
14516         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14517         * math/gen-libm-test.pl (generate_testfile): Handle
14518         ignore-zero-inf-sign.
14519         * math/auto-libm-test-in: Mark some cpow tests with
14520         ignore-zero-inf-sign and some with xfail-rounding.
14521         * math/auto-libm-test-out: Regenerated.
14522         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14523         * sysdeps/i386/fpu/libm-test-ulps: Update.
14524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14526         [BZ #16315]
14527         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14528         overflowing or underflowing operations take place with sign of
14529         result.
14530         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14531         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14532         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14533         (__ieee754_pow): Recompute overflowing and underflowing results in
14534         original rounding mode.
14535         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14536         (__powl_helper): Allow negative argument X and scale negated value
14537         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14538         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14539         overflowing or underflowing operations take place with sign of
14540         result.
14541         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14542         Include <math.h>.
14543         * math/auto-libm-test-in: Add more tests of pow.
14544         * math/auto-libm-test-out: Regenerated.
14545         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14546         (pow_tonearest_test_data): Remove.
14547         (pow_test_tonearest): Likewise.
14548         (pow_towardzero_test_data): Likewise.
14549         (pow_test_towardzero): Likewise.
14550         (pow_downward_test_data): Likewise.
14551         (pow_test_downward): Likewise.
14552         (pow_upward_test_data): Likewise.
14553         (pow_test_upward): Likewise.
14554         (main): Don't call removed functions.
14555         * sysdeps/i386/fpu/libm-test-ulps: Update.
14556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14558 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14561         Moved ...
14562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14564         Moved ...
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14567         Moved ...
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14570         Moved ...
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14573         File removed.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14575         File removed.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14577         File removed.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14579         File removed.
14580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14581         File removed.
14582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14583         File removed.
14584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14585         File removed.
14586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14587         File removed.
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14589         File removed.
14590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14591         File removed.
14592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14593         File removed.
14594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14595         File removed.
14596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14597         Moved ...
14598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14600         Moved ...
14601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14602         ... here.
14603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14604         Moved ...
14605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14607         Moved ...
14608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14610         Moved ...
14611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14613         Moved ...
14614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14616         Moved ...
14617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14619         Moved ...
14620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14622         Moved ...
14623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14626         ... here.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14628         Moved ...
14629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14631         Moved ...
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14633         ... here.
14634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14635         Moved ...
14636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14637         ... here.
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14639         Moved ...
14640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14641         ... here.
14642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14643         Moved ...
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14646         Moved ...
14647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14651         Moved ...
14652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14653         ... here.
14654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14655         Moved ...
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14657         ... here.
14658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14659         Moved ...
14660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14662         Moved ...
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14665         Moved ...
14666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14668         Moved ...
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14671         Moved ...
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14673         ... here.
14674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14675         Moved ...
14676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14678         Moved ...
14679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14681         Moved ...
14682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14684         Moved ...
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14689         Moved ...
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14692         Moved ...
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14695         Moved ...
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14697         ... here.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14699         Moved ...
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14701         ... here.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14703         Moved ...
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14705         ... here.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14707         Moved ...
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14710         Moved ...
14711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14713         Moved ...
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14716         Moved ...
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14718         ... here.
14719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14720         Moved ...
14721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14722         ... here.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14724         Moved ...
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14726         ... here.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14728         Moved ...
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14731         Moved ...
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14734 2014-06-23  Will Newton  <will.newton@linaro.org>
14735             Wilco  <wdijkstr@arm.com>
14737         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14738         implementation.  Include get-rounding-mode.h.
14739         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14740         [!libc_feholdsetround_noex_ctx]: Define
14741         libc_feholdsetround_noex_ctx.
14742         [!libc_feholdsetround_noexf_ctx]: Define
14743         libc_feholdsetround_noexf_ctx.
14744         [!libc_feholdsetround_noexl_ctx]: Define
14745         libc_feholdsetround_noexl_ctx.
14746         (libc_feholdsetround_ctx): New function.
14747         (libc_feresetround_ctx): New function.
14748         (libc_feholdsetround_noex_ctx): New function.
14749         (libc_feresetround_noex_ctx): New function.
14751 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14753         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14754         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14755         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14756         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14757         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14758         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14760         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14761         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14762         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14763         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14764         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14765         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14767         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14769         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14771         Moved ...
14772         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14773         ... here.
14774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14775         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14777         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14779         Moved ...
14780         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14782         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14786         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14788         Moved ...
14789         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14791         Moved ...
14792         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14794         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14796         Moved ...
14797         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14799         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14800         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14801         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14802         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14803         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14805         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14807         Moved ...
14808         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14809         ... here.
14810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14811         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14813         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14814         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14815         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14817         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14819         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14821         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14823         Moved ...
14824         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14826         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14828         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14830         Moved ...
14831         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14833         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14834         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14835         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14837         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14838         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14839         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14840         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14841         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14842         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14843         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14844         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14846         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14847         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14848         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14849         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14850         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14852         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14853         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14854         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14855         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14856         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14858         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14859         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14860         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14861         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14862         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14863         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14864         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14866 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14869         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14870         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14871         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14872         (IPV6_PMTUDISC_INTERFACE): Likewise.
14873         (IPV6_PMTUDISC_OMIT): Likewise.
14875 2014-06-23  Andreas Schwab  <schwab@suse.de>
14877         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14878         Remove unused errout label.
14880 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14882         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14883         macro: hardware supports Vector Crypto instructions.
14885 2014-06-23  Will Newton  <will.newton@linaro.org>
14887         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14888         rather than __builtin_expect.
14890         * elf/dl-lookup.c (undefined_msg): Remove variable.
14891         (_dl_lookup_symbol_x): Replace undefined_msg with string
14892         literal.
14894         * elf/dl-lookup.c (do_lookup_unique): New function.
14895         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14896         to a separate function.
14898 2014-06-23  Andreas Schwab  <schwab@suse.de>
14900         [BZ #17079]
14901         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14902         before reading the next line.
14904 2014-06-23  Will Newton  <will.newton@linaro.org>
14906         * test-skeleton.c (signal_handler): Use printf and %m
14907         rather than perror.  Use printf rather than fprintf to
14908         stderr.  Use puts rather than fputs to stderr.
14909         (main): Likewise.
14911 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14913         * nscd/nscd.c (thread_info_t): Remove typedef.
14914         (thread_info): Remove variable.
14916 2014-06-21  Allan McRae  <allan@archlinux.org>
14918         * NEWS: Mention CVE-2014-4043.
14920 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14922         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14923         * nptl/smp.h: ... here.
14925         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14927         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14928         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14929         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14930         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14932         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14933         * nptl/stack-aliasing.h: New file.
14934         * sysdeps/i386/i686/stack-aliasing.h: New file.
14935         * sysdeps/i386/i686/nptl/Makefile: File removed.
14936         * sysdeps/x86_64/stack-aliasing.h: New file.
14937         * sysdeps/x86_64/nptl/Makefile
14938         (CFLAGS-pthread_create.c): Variable removed.
14940         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14941         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14942         old file.
14943         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14944         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14945         old file.
14947 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14949         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14950         (__ASSUME_SIGFRAME_V2): Remove macro.
14951         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14952         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14953         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14954         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14955         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14956         Declare as function.  Remove conditional macro definitions.
14957         (__default_rt_sa_restorer): Likewise.
14958         (__default_sa_restorer_v1): Remove declaration.
14959         (__default_sa_restorer_v2): Likewise.
14960         (__default_rt_sa_restorer_v1): Likewise.
14961         (__default_rt_sa_restorer_v2): Likewise.
14962         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14963         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14964         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14966 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14968         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14969         (libpthread-routines): Add sysdep.
14970         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14971         * sysdeps/unix/sysv/linux/sparc/Versions
14972         (libpthread: GLIBC_2.3.3): New version set.
14973         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14974         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14975         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14976         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14977         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14978         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14979         Moved ...
14980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14981         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14982         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14983         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14984         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14985         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14986         * sysdeps/sparc/nptl/sem_init.c: ... here.
14987         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14988         * sysdeps/sparc/nptl/sem_post.c: ... here.
14989         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14990         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14991         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14992         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14993         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14994         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14995         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14996         (libpthread-routines): Add cpu_relax.
14997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14998         File removed.
14999         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15000         (librt: GLIBC_2.3.3): New version set.
15001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15002         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15003         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15004         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15007         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15009         Moved ...
15010         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15012         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15016         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15018         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15020         Moved ...
15021         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15022         Update #include.
15023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15024         Moved ...
15025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15026         Update #include.
15027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15028         Moved ...
15029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15030         Update #include.
15031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15032         Moved ...
15033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15034         Update #include.
15035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15036         Moved ...
15037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15038         Update #include.
15039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15040         Moved ...
15041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15042         Update #include.
15043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15044         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15050         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15052         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15054         Moved ...
15055         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15061 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15063         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15064         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15065         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15066         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15067         * nscd/nscd.c: Likewise.
15068         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15069         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15070         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15071         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15073         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15074         <kernel-features.h>.
15075         (init_mq_netlink): Remove conditional have_sock_cloexec
15076         definitions.  Remove code conditional on have_sock_cloexec < 0.
15077         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15078         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15079         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15080         <kernel-features.h>.
15081         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15082         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15084 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15087         Add tests for memset_chk and memset.
15089         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15090         with AVX2_Usable.
15092 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15094         [BZ #16046]
15095         * elf/tst-dl-iter-static.c: New file.
15096         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15098         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15099         error.
15101 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15103         * sysdeps/unix/sysv/linux/kernel-features.h
15104         (__ASSUME_F_GETOWN_EX): Remove macro.
15105         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15106         <kernel-features.h>.
15107         (miss_F_GETOWN_EX): Remove variable or macro.
15108         (do_fcntl): Do not check miss_F_GETOWN_EX.
15109         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15112         Remove macro.
15113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15114         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15115         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15117         * sysdeps/unix/sysv/linux/kernel-features.h
15118         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15119         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15120         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15121         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15123 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15125         [BZ #17075]
15126         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15127         Fix calculation of the symbol's value.
15128         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15129         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15130         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15131         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15132         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15133         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15134         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15135         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15136         (modules-names): Add `tst-armtlsdescmod',
15137         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15138         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15139         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15140         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15141         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15142         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15143         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15144         ($(objpfx)tst-armtlsdescloc): New dependency.
15145         ($(objpfx)tst-armtlsdescextnow): Likewise.
15146         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15147         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15148         TLS scheme support.
15149         * sysdeps/arm/configure: Regenerate.
15151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15153         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15154         (__atfct_seterrno_2): Likewise.
15155         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15156         <kernel-features.h>.
15157         (__ASSUME_ATFCTS): Do not undefine and redefine.
15158         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15159         (__have_atfcts): Remove conditional definition.
15160         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15161         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15162         unreachable if [__ASSUME_ATFCTS].
15163         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15164         not undefine and redefine.
15165         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15166         <kernel-features.h>.
15167         (faccessat) [__NR_faccessat]: Make code unconditional.
15168         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15169         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15170         <kernel-features.h>.
15171         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15172         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15173         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15174         <kernel-features.h>.
15175         (fchownat) [__NR_fchownat]: Make code unconditional.
15176         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15177         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15178         <kernel-features.h>.
15179         (futimesat) [__NR_futimesat]: Make code unconditional.
15180         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15181         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15182         <kernel-features.h>.
15183         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15185         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15186         <kernel-features.h>.
15187         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15188         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15189         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15190         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15191         <kernel-features.h>.
15192         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15194         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15195         <kernel-features.h>.
15196         (linkat) [__NR_linkat]: Make code unconditional.
15197         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15198         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15199         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15200         <kernel-features.h>.
15201         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15202         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15203         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15204         <kernel-features.h>.
15205         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15206         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15207         * sysdeps/unix/sysv/linux/openat.c: Do not include
15208         <kernel-features.h>.
15209         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15210         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15211         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15212         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15213         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15214         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15215         <kernel-features.h>.
15216         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15217         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15218         result of INLINE_SYSCALL directly, not via int variable.
15219         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15220         <kernel-features.h>.
15221         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15222         (renameat) [__NR_renameat]: Make code unconditional.
15223         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15224         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15225         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15226         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15227         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15228         (__ASSUME_ATFCTS): Do not undefine and redefine.
15229         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15230         <kernel-features.h>.
15231         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15232         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15233         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15234         <kernel-features.h>.
15235         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15236         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15237         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15238         (__ASSUME_ATFCTS): Do not undefine and redefine.
15239         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15240         <kernel-features.h>.
15241         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15243         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15244         <kernel-features.h>.
15245         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15246         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15248 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15250         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15252 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15254         [BZ #17069]
15255         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15256         constructed tree before returning error.
15257         * posix/bug-regexp36.c: Expand test case.
15259 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15261         [BZ #6803]
15262         * math/libm-test.inc (scalbln_test_date):
15263         Add errno expectations.
15264         * math/w_scalblnf.c: New File.
15265         Add wrapper which checks for setting errno to ERANGE.
15266         Add weak_alias for corresponding scalbln function.
15267         * math/w_scalbln.c: Likewise.
15268         * math/w_scalblnl.c: Likewise.
15269         * math/Makefile (libm-calls): Add w_scalbln.
15270         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15271         Remove weak_alias for corresponding scalbln function.
15272         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15276         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15277         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15278         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15279         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15280         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15281         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15282         Remove long_double_symbol for scalblnl function in libm, libc.
15283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15284         Add wrapper which checks for setting errno to ERANGE.
15285         Add long_double_symbol for scalblnl function in libm, libc.
15286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15287         Remove long_double_symbol for scalblnl in libm.
15288         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15289         Add wrapper which checks for setting errno to ERANGE.
15290         Add long_double_symbol for scalblnl function in libm.
15291         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15292         Do not use wrapper because of own implementation.
15294 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15296         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15297         3 bytes for __pad1 for x32.
15298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15300 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15301             H.J. Lu  <hongjiu.lu@intel.com>
15303         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15304         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15307         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15309 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15311         [BZ #17069]
15312         * posix/regcomp.c (parse_expression): Deallocate partially
15313         constructed tree before returning error.
15314         * posix/Makefile.c (tests): Add bug-regex36.
15315         (generated): Add bug-regex36.mtrace.
15316         (tests-special): Add $(objpfx)bug-regex36-mem.out
15317         (bug-regex36-ENV): New variable.
15318         ($(objpfx)bug-regex36-mem.out): New rule.
15319         * posix/bug-regex36.c: New file.
15321 2014-06-19  Will Newton  <will.newton@linaro.org>
15323         * malloc/malloc.c (systrim): If extra is zero then return
15324         early.
15326 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15328         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15330 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15332         * sysdeps/aarch64/strchr.S: New file.
15334 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15336         [BZ #17022]
15337         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15338         from arguments -2 or below.
15339         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15340         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15342 2014-06-18  Andreas Schwab  <schwab@suse.de>
15344         [BZ #17062]
15345         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15346         of a bracket expr not to run off the end of the string.
15347         * posix/Makefile (tests): Add tst-fnmatch3.
15348         * posix/tst-fnmatch3.c: New file.
15350 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15352         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15353         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15354         [$(cross-compiling) = no]: Likewise.
15355         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15356         [$(cross-compiling) = no]: Likewise.
15358 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15360         [BZ #17031]
15361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15362         double, adjusted for any remainder from the high double.
15363         * math/libm-test.inc (nearbyint): Add tests.
15364         (rint): Likewise.
15366 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15368         * nptl/sysdeps/powerpc/Makefile: Moved ...
15369         * sysdeps/powerpc/nptl/Makefile: ... here.
15370         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15371         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15372         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15373         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15374         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15375         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15376         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15377         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15378         * nptl/sysdeps/powerpc/tls.h: Moved ...
15379         * sysdeps/powerpc/nptl/tls.h: ... here.
15381 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15383         [BZ #16681]
15384         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15385         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15386         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15387         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15388         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15389         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15390         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15391         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15392         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15394 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15398 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15400         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15401         defined operator.
15403         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15404         $TIMEOUTFACTOR.
15406 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15408         [BZ #17058]
15409         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15410         non-executed part of the test.
15412 2014-06-16  Andreas Schwab  <schwab@suse.de>
15414         * string/bits/string2.h (strdup, strndup): Update feature guard.
15416 2014-06-14  David S. Miller  <davem@davemloft.net>
15418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15420 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15422         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15423         that was previously under [RESET_PID].
15424         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15426         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15427         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15429         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15430         (__libc_vfork): New strong alias.
15431         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15433 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15435         * sysdeps/generic/elide.h: New file.
15437 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15439         * Makefile (installed-headers): Adjust path of pthread.h header.
15441 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15443         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15444         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15445         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15446         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15448         * nptl/sysdeps/s390/Makefile: Moved ...
15449         * sysdeps/s390/nptl/Makefile: ... here.
15450         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15451         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15452         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15453         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15454         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15455         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15456         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15457         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15458         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15459         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15460         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15461         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15462         * nptl/sysdeps/s390/tls.h: Moved ...
15463         * sysdeps/s390/nptl/tls.h: ... here.
15465         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15466         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15468 2014-06-13  David S. Miller  <davem@davemloft.net>
15470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15473         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15477         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15478         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15479         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15480         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15481         Remove RESET_PID cpp guards.
15482         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15483         Remove RESET_PID cpp guards.
15484         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15486 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15488         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15489         __sp to uintptr_t.
15491 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15497         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15500         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15501         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15508         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15514         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15515         (pthread_rwlock_rdlock): Add elision.
15516         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15517         (pthread_rwlock_wrlock): Add elision.
15518         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15519         (pthread_rwlock_trywrlock): Add elision.
15520         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15521         (pthread_rwlock_tryrdlock): Add elision.
15522         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15523         (pthread_rwlock_tryrdlock): Add elision unlock.
15524         * nptl/sysdeps/pthread/pthread.h:
15525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15526         (PTHREAD_RWLOCK_INITIALIZER,
15527         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15528         Handle new elision field.
15529         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15530         * sysdeps/arm/nptl/bits/pthreadtypes.h
15531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15532         * sysdeps/sh/nptl/bits/pthreadtypes.h
15533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15534         * sysdeps/tile/nptl/bits/pthreadtypes.h
15535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15536         * sysdeps/a/nptl/bits/pthreadtypes.h
15537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15538         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15540         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15542         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15546         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15548         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15550         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15552         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15554         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15555         (elision_init): Set try_xbegin to zero when no RTM.
15556         * sysdeps/x86/nptl/bits/pthreadtypes.h
15557         (pthread_rwlock_t): Change __pad1 to __rwelision.
15558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15560 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15562         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15563         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15564         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15565         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15567 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15569         [BZ #16996]
15570         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15571         that the cached result has been set before returning it.
15573 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15575         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15576         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15577         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15578         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15579         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15580         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15582         * nptl/sysdeps/sparc/Makefile: Moved ...
15583         * sysdeps/sparc/nptl/Makefile: ... here.
15584         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15585         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15586         * nptl/sysdeps/sparc/tls.h: Moved ...
15587         * sysdeps/sparc/nptl/tls.h: ... here.
15588         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15589         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15590         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15591         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15592         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15593         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15594         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15595         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15596         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15597         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15598         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15599         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15600         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15601         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15602         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15603         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15604         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15606         Update #include.
15607         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15609         Update #include.
15610         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15612         Update #include.
15613         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15615         Update #include.
15617         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15619         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15620         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15622         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15623         (struct list_links): Type removed.
15624         (struct thread_node, struct timer_node): Replace struct list_links
15625         with struct list_head.
15626         (list_unlink_ip): Likewise.
15627         * sysdeps/pthread/timer_routines.c
15628         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15629         (list_append, list_insbefore): Likewise.
15630         (list_init): Function removed.
15631         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15632         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15633         * sysdeps/pthread/Makefile: ... here, new file.
15635         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15636         * sysdeps/nptl/Implies: ... here.
15637         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15638         * nptl/sysdeps/pthread/list.h: Moved ...
15639         * include/list.h: ... here.
15640         * nptl/sysdeps/pthread/createthread.c: Moved ...
15641         * nptl/createthread.c: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15643         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15644         * nptl/pt-longjmp.c: ... here.
15645         * nptl/sysdeps/pthread/Makefile: Moved ...
15646         * sysdeps/nptl/Makefile: ... here.
15647         * nptl/sysdeps/pthread/Subdirs: Moved ...
15648         * sysdeps/nptl/Subdirs: ... here.
15649         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15650         * sysdeps/nptl/aio_misc.h: ... here.
15651         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15652         * sysdeps/nptl/bits/libc-lock.h: ... here.
15653         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15654         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15655         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15656         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15657         * nptl/sysdeps/pthread/configure: Moved ...
15658         * sysdeps/nptl/configure: ... here.
15659         * nptl/sysdeps/pthread/configure.ac: Moved ...
15660         * sysdeps/nptl/configure.ac: ... here.
15661         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15662         * sysdeps/nptl/gai_misc.h: ... here.
15663         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15664         * sysdeps/nptl/librt-cancellation.c: ... here.
15665         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15666         * sysdeps/nptl/malloc-machine.h: ... here.
15667         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15668         * sysdeps/nptl/pthread-functions.h: ... here.
15669         * nptl/sysdeps/pthread/pthread.h: Moved ...
15670         * sysdeps/nptl/pthread.h: ... here.
15671         * nptl/sysdeps/pthread/setxid.h: Moved ...
15672         * sysdeps/nptl/setxid.h: ... here.
15673         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15674         * sysdeps/nptl/sigfillset.c: ... here.
15675         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15676         * sysdeps/nptl/tcb-offsets.h: ... here.
15677         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15678         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15679         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15680         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15681         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15682         * sysdeps/pthread/allocalim.h: ... here.
15683         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15684         * sysdeps/pthread/bits/sigthread.h: ... here.
15685         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15686         * sysdeps/pthread/flockfile.c: ... here.
15687         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15688         * sysdeps/pthread/ftrylockfile.c: ... here.
15689         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15690         * sysdeps/pthread/funlockfile.c: ... here.
15691         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15692         * sysdeps/pthread/posix-timer.h: ... here.
15693         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15694         * sysdeps/pthread/timer_create.c: ... here.
15695         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15696         * sysdeps/pthread/timer_delete.c: ... here.
15697         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15698         * sysdeps/pthread/timer_getoverr.c: ... here.
15699         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15700         * sysdeps/pthread/timer_gettime.c: ... here.
15701         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15702         * sysdeps/pthread/timer_routines.c: ... here.
15703         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15704         * sysdeps/pthread/timer_settime.c: ... here.
15705         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15706         * sysdeps/pthread/tst-timer.c: ... here.
15707         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15708         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15710         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15711         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15713         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15714         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15715         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15716         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15717         Update #include target.
15718         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15719         * sysdeps/i386/i686/nptl/Makefile: ... here.
15720         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15721         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15722         Update #include target.
15723         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15724         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15725         * nptl/sysdeps/i386/Makefile: Moved ...
15726         * sysdeps/i386/nptl/Makefile: ... here.
15727         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15728         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15729         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15730         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15731         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15732         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15733         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15734         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15735         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15736         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15737         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15738         * nptl/sysdeps/i386/tls.h: Moved ...
15739         * sysdeps/i386/nptl/tls.h: ... here.
15741         * sysdeps/sh/Makefile [$(subdir) = csu]
15742         (gen-as-const-headers): Add tcb-offsets.sym.
15743         * nptl/sysdeps/sh/Makefile: File removed.
15744         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15745         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15746         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15747         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15748         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15749         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15750         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15751         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15752         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15753         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15754         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15755         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15756         * nptl/sysdeps/sh/tls.h: Moved ...
15757         * sysdeps/sh/nptl/tls.h: ... here.
15758         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15759         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15760         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15761         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15762         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15763         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15764         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15766         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15767         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15769         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15771         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15773         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15775         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15777         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15779         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15780         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15781         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15783         Moved ...
15784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15786         Moved ...
15787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15789         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15792         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15793         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15794         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15795         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15796         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15797         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15798         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15799         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15800         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15801         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15802         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15803         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15804         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15805         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15807 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15809         * posix/spawn_faction_addopen.c: Include string.h.
15811 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15813         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15814         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15815         * nptl/sysdeps/x86_64/Makefile: Moved ...
15816         * sysdeps/x86_64/nptl/Makefile: ... here.
15817         * nptl/sysdeps/x86_64/configure: Moved ...
15818         * sysdeps/x86_64/nptl/configure: ... here.
15819         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15820         * sysdeps/x86_64/nptl/configure.ac: ... here.
15821         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15822         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15823         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15824         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15825         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15826         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15827         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15828         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15829         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15830         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15831         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15832         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15833         * nptl/sysdeps/x86_64/tls.h: Moved ...
15834         * sysdeps/x86_64/nptl/tls.h: ... here.
15835         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15836         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15837         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15838         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15840         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15842 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15846 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15848         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15849         type.
15850         [POSIX] (off_t): Likewise.
15851         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15852         [POSIX] (S_ISBLK): Require macro.
15853         [POSIX] (S_ISCHR): Likewise.
15854         [POSIX] (S_ISDIR): Likewise.
15855         [POSIX] (S_ISFIFO): Likewise.
15856         [POSIX] (S_ISREG): Likewise.
15857         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15858         optional-macro.
15859         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15860         type.
15861         [POSIX] (time_t): Likewise.
15862         [POSIX] (timer_t): Likewise.
15864 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15866         [BZ #17048]
15867         * posix/spawn_int.h (struct __spawn_action): Make the path string
15868         non-const to support deallocation.
15869         * posix/spawn_faction_addopen.c
15870         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15871         * posix/spawn_faction_destroy.c
15872         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15873         path in all spawn_do_open actions.
15874         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15875         posix_spawn_file_actions_addopen.
15877 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15879         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15880         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15881         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15882         conditional code always true.
15883         (__libc_vfork): New alias.
15885 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15887         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15888         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15890         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15892         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15893         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15895         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15896         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15898         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15899         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15901 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15903         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15904         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15905         multiarch strcmp for PPC64.
15906         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15907         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15909         multiarch optimizations.
15910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15911         (__libc_ifunc_impl_list): Likewise.
15913 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15915         * benchtests/scripts/validate_benchout.py: New script.
15916         * benchtests/Makefile (bench-func): Call it.
15917         * benchtests/scripts/benchout.schema.json: New file.
15919 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15921         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15922         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15923         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15924         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15925         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15926         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15927         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15928         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15929         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15930         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15931         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15933         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15934         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15935         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15936         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15938         Moved ...
15939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15940         ... here.
15941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15942         Moved ...
15943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15945         Moved ...
15946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15947         ... here.
15948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15949         Moved ...
15950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15951         ... here.
15952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15953         Moved ...
15954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15956         Moved ...
15957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15958         ... here.
15959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15960         Moved ...
15961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15962         ... here.
15963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15964         Moved ...
15965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15967         Moved ...
15968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15969         ... here.
15970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15971         Moved ...
15972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15973         ... here.
15974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15975         Moved ...
15976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15977         ... here.
15978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15979         Moved ...
15980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15982         Moved ...
15983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15984         ... here.
15985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15986         Moved ...
15987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15988         ... here.
15989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15990         Moved ...
15991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15992         ... here.
15993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15994         Moved ...
15995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15997         Moved ...
15998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15999         ... here.
16000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16001         Moved ...
16002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16003         ... here.
16004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16005         Moved ...
16006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16008         Moved ...
16009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16010         ... here.
16011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16012         Moved ...
16013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16015         Moved ...
16016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16018         Moved ...
16019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16020         ... here.
16021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16022         Moved ...
16023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16024         ... here.
16025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16026         Moved ...
16027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16028         ... here.
16029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16030         Moved ...
16031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16033         Moved ...
16034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16035         ... here.
16036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16037         Moved ...
16038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16039         ... here.
16040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16041         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16043         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16045         Moved ...
16046         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16047         ... here.
16048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16049         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16055         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16059         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16061         Moved ...
16062         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16064         Moved ...
16065         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16067         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16069         Moved ...
16070         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16072         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16073         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16074         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16075         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16076         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16078 2014-06-10  Wilco  <wdijkstr@arm.com>
16080         * math/test-fenv-return.c: New file.
16081         * math/Makefile: Add new test test-fenv-return.
16083 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16085         [BZ #17042]
16086         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16087         when x - 1 is zero.
16088         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16089         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16090         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16091         0.0L for an argument of 1.0L.
16092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16093         Likewise.
16094         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16095         value when x - 1 is zero.
16096         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16097         * sysdeps/i386/fpu/libm-test-ulps: Update.
16098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16100 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16102         [BZ #15119]
16103         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16105 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16107         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16108         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16110 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16112         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16113         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16115         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16116         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16118         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16119         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16121         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16122         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16124         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16125         if not already defined.
16126         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16127         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16128         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16129         (TLS_INIT_TP): Use it.
16130         (TLS_DEFINE_INIT_TP): New macro.
16131         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16133 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16135         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16136         constant.
16137         [POSIX] (IXANY): Likewise.
16138         [POSIX] (OLCUC): Likewise.
16139         [POSIX || POSIX2008] (CBAUD): Do not allow.
16140         [POSIX || POSIX2008] (DEFECHO): Likewise.
16141         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16142         [POSIX || POSIX2008] (ECHOKE): Likewise.
16143         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16144         [POSIX || POSIX2008] (EXTA): Likewise.
16145         [POSIX || POSIX2008] (EXTB): Likewise.
16146         [POSIX || POSIX2008] (FLUSHO): Likewise.
16147         [POSIX || POSIX2008] (LOBLK): Likewise.
16148         [POSIX || POSIX2008] (PENDIN): Likewise.
16149         [POSIX || POSIX2008] (SWTCH): Likewise.
16150         [POSIX || POSIX2008] (VDISCARD): Likewise.
16151         [POSIX || POSIX2008] (VDSUSP): Likewise.
16152         [POSIX || POSIX2008] (VLNEXT): Likewise.
16153         [POSIX || POSIX2008] (VREPRINT): Likewise.
16154         [POSIX || POSIX2008] (VSTATUS): Likewise.
16155         [POSIX || POSIX2008] (VWERASE): Likewise.
16156         (B*): Change to B[0123456789]*.
16157         * conform/data/time.h-data [POSIX || UNIX98]
16158         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16159         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16160         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16161         [POSIX] (tm_*): Do not allow.
16163 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16165         * Makefile (install): Don't set LANGUAGE.
16166         * Makefile.in (install): Likewise.
16167         * assert/Makefile (test-assert-ENV): Remove variable.
16168         (test-assert-perr-ENV): Likewise.
16169         * elf/Makefile (neededtest4-ENV): Likewise.
16170         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16171         [$(cross-compiling) = no]: Don't set LANGUAGE.
16172         * io/ftwtest-sh (LANG): Remove variable.
16173         * libio/Makefile (tst-widetext-ENV): Likewise.
16174         * manual/install.texi (Running make install): Don't refer to
16175         environment settings for make install.
16176         * INSTALL: Regenerated.
16177         * nptl/tst-tls6.sh: Don't set LANG.
16178         * posix/globtest.sh (LANG): Remove variable.
16179         * string/Makefile (tester-ENV): Likewise.
16180         (inl-tester-ENV): Likewise.
16181         (noinl-tester-ENV): Likewise.
16182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16183         [$(cross-compiling) = no]: Don't set LANGUAGE.
16184         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16185         without explicit environment settings.
16187 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16189         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16190         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16191         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16192         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16194 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16196         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16197         other files in the crypt directory.
16198         * crypt/crypt.c: Remove duplicate includes.
16199         * crypt/crypt-entry.c: Likewise.
16200         * crypt/crypt_util.c: Likewise.
16202 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16204         * Makeconfig (run-program-env): New variable.
16205         (run-program-prefix-before-env): Likewise.
16206         (run-program-prefix-after-env): Likewise.
16207         (run-program-prefix): Define in terms of new variables.
16208         (built-program-cmd-before-env): New variable.
16209         (built-program-cmd-after-env): Likewise.
16210         (built-program-cmd): Define in terms of new variables.
16211         (test-program-prefix-before-env): New variable.
16212         (test-program-prefix-after-env): Likewise.
16213         (test-program-prefix): Define in terms of new variables.
16214         (test-program-cmd-before-env): New variable.
16215         (test-program-cmd-after-env): Likewise.
16216         (test-program-cmd): Define in terms of new variables.
16217         * Rules (make-test-out): Use $(run-program-env).
16218         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16219         (help): Do not mention environment variables.  Mention
16220         --timeoutfactor option.
16221         (timeoutfactor): New variable.
16222         (blacklist_exports): Remove function.
16223         (exports): Remove variable.
16224         (command): Do not include ${exports}.
16225         * manual/install.texi (Configuring and compiling): Do not mention
16226         test wrappers preserving environment variables.  Mention that last
16227         assignment to a variable must take precedence.
16228         * INSTALL: Regenerated.
16229         * benchtests/Makefile (run-bench): Use $(run-program-env).
16230         * catgets/Makefile ($(objpfx)test1.cat): Use
16231         $(built-program-cmd-before-env), $(run-program-env) and
16232         $(built-program-cmd-after-env).
16233         ($(objpfx)test2.cat): Do not specify environment variables
16234         explicitly.
16235         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16236         $(run-program-env) and $(built-program-cmd-after-env).
16237         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16238         $(run-program-env) and $(test-program-cmd-after-env).
16239         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16240         explicitly.
16241         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16242         run_program_env and test_program_cmd_after_env arguments.
16243         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16244         * elf/tst-pathopt.sh: Use run_program_env argument.
16245         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16246         $(test-wrapper-env) and $(run-program-env).
16247         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16248         run_program_env arguments.
16249         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16250         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16251         $(test-program-prefix-before-env), $(run-program-env) and
16252         $(test-program-prefix-after-env).
16253         ($(objpfx)tst-gettext2.out): Likewise.
16254         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16255         run_program_env and test_program_prefix_after_env arguments.
16256         * intl/tst-gettext2.sh: Likewise.
16257         * intl/tst-gettext4.sh: Do not set environment variables
16258         explicitly.
16259         * intl/tst-gettext6.sh: Likewise.
16260         * intl/tst-translit.sh: Likewise.
16261         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16262         $(test-program-prefix-before-env), $(run-program-env) and
16263         $(test-program-prefix-after-env).
16264         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16265         run_program_env and test_program_prefix_after_env arguments.
16266         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16267         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16268         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16269         explicitly with each use of ${test_wrapper_env}.
16270         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16271         $(test-program-prefix-before-env), $(run-program-env) and
16272         $(test-program-prefix-after-env).
16273         * posix/tst-getconf.sh: Do not set environment variables
16274         explicitly.
16275         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16276         run_program_env and test_program_prefix_after_env arguments.
16277         * stdio-common/tst-printf.sh: Do not set environment variables
16278         explicitly.
16279         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16280         $(test-program-prefix-before-env), $(run-program-env) and
16281         $(test-program-prefix-after-env).
16282         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16283         run_program_env and test_program_prefix_after_env arguments.
16284         Split $test calls into $test_pre and $test.
16285         * timezone/Makefile (build-testdata): Use
16286         $(built-program-cmd-before-env), $(run-program-env) and
16287         $(built-program-cmd-after-env).
16289 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16291         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16292         strlen for non SHARED builds.
16294 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16296         * nptl/allocatestack.c (check_list): Inlined function...
16297         (__reclaim_stacks): ... here.
16299 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16301         [BZ #15698]
16302         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16303         memory overrun.
16305 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16307         * Rules (make-test-out): Include
16308         LOCPATH=$(common-objpfx)localedata in default environment.
16309         * debug/Makefile (tst-chk1-ENV): Remove variable.
16310         (tst-chk2-ENV): Likewise.
16311         (tst-chk3-ENV): Likewise.
16312         (tst-chk4-ENV): Likewise.
16313         (tst-chk5-ENV): Likewise.
16314         (tst-chk6-ENV): Likewise.
16315         (tst-lfschk1-ENV): Likewise.
16316         (tst-lfschk2-ENV): Likewise.
16317         (tst-lfschk3-ENV): Likewise.
16318         (tst-lfschk4-ENV): Likewise.
16319         (tst-lfschk5-ENV): Likewise.
16320         (tst-lfschk6-ENV): Likewise.
16321         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16322         (tst-iconv7-ENV): Likewise.
16323         * intl/Makefile (LOCPATH-ENV): Likewise.
16324         (tst-codeset-ENV): Likewise.
16325         (tst-gettext3-ENV): Likewise.
16326         (tst-gettext5-ENV): Likewise.
16327         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16328         (tst-fopenloc-ENV): Likewise.
16329         (tst-fgetws-ENV): Remove variable.
16330         (tst-ungetwc1-ENV): Likewise.
16331         (tst-ungetwc2-ENV): Likewise.
16332         (bug-ungetwc2-ENV): Likewise.
16333         (tst-swscanf-ENV): Likewise.
16334         (bug-ftell-ENV): Likewise.
16335         (tst-fgetwc-ENV): Likewise.
16336         (tst-fseek-ENV): Likewise.
16337         (tst-ftell-partial-wide-ENV): Likewise.
16338         (tst-ftell-active-handler-ENV): Likewise.
16339         (tst-ftell-append-ENV): Likewise.
16340         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16341         (tst-regexloc-ENV): Likewise.
16342         (bug-regex1-ENV): Likewise.
16343         (tst-regex-ENV): Likewise.
16344         (tst-regex2-ENV): Likewise.
16345         (bug-regex5-ENV): Likewise.
16346         (bug-regex6-ENV): Likewise.
16347         (bug-regex17-ENV): Likewise.
16348         (bug-regex18-ENV): Likewise.
16349         (bug-regex19-ENV): Likewise.
16350         (bug-regex20-ENV): Likewise.
16351         (bug-regex22-ENV): Likewise.
16352         (bug-regex23-ENV): Likewise.
16353         (bug-regex25-ENV): Likewise.
16354         (bug-regex26-ENV): Likewise.
16355         (bug-regex30-ENV): Likewise.
16356         (bug-regex32-ENV): Likewise.
16357         (bug-regex33-ENV): Likewise.
16358         (bug-regex34-ENV): Likewise.
16359         (bug-regex35-ENV): Likewise.
16360         (tst-rxspencer-ENV): Likewise.
16361         (tst-rxspencer-no-utf8-ENV): Likewise.
16362         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16363         (tst-sscanf-ENV): Likewise.
16364         (tst-swprintf-ENV): Likewise.
16365         (tst-swscanf-ENV): Likewise.
16366         (test-vfprintf-ENV): Likewise.
16367         (scanf13-ENV): Likewise.
16368         (bug14-ENV): Likewise.
16369         (tst-grouping-ENV): Likewise.
16370         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16371         (tst-strtod3-ENV): Likewise.
16372         (tst-strtod4-ENV): Likewise.
16373         (tst-strtod5-ENV): Likewise.
16374         (testmb2-ENV): Likewise./
16375         * string/Makefile (tst-strxfrm-ENV): Likewise.
16376         (tst-strxfrm2-ENV): Likewise.
16377         (bug-strcoll1-ENV): Likewise.
16378         (test-strcasecmp-ENV): Likewise.
16379         (test-strncasecmp-ENV): Likewise.
16380         * time/Makefile (tst-strptime-ENV): Likewise.
16381         (tst-ftime_l-ENV): Likewise.
16382         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16383         (tst-mbrtowc-ENV): Likewise.
16384         (tst-wcrtomb-ENV): Likewise.
16385         (tst-mbrtowc2-ENV): Likewise.
16386         (tst-c16c32-1-ENV): Likewise.
16387         (tst-mbsnrtowcs-ENV): Likewise.
16389 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16391         * manual/resource.texi (How to get information about the memory
16392         subsystem?): Fix typo.
16393         Reported by Peon de la Parra Ivan <peon@keba.com>
16395 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16397         [BZ #16882]
16398         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16399         (pthread_spin_lock): Branch out of spin loop to proper location.
16400         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16401         (pthread_spin_lock): Likewise.
16403         * nptl/tst-spin4.c: New test.
16404         * nptl/Makefile (tests): Add tst-spin4.
16406 2014-06-03  Andreas Schwab  <schwab@suse.de>
16408         [BZ #15946]
16409         * resolv/res_send.c (send_dg): Reload file descriptor after
16410         calling reopen.
16412 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16414         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16416 2014-06-03  Richard Henderson  <rth@redhat.com>
16418         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16419         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16420         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16421         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16422         in the SAVE_PID block.
16423         (__libc_vfork): New alias.
16424         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16426         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16427         child in registers, not on the stack.  Remove RESET_PID conditionals.
16428         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16430 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16432         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16434 2014-06-03  Wilco  <wdijkstr@arm.com>
16436         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16437         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16438         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16439         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16440         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16441         Likewise.
16443 2014-06-03  Wilco  <wdijkstr@arm.com>
16445         * sysdeps/aarch64/fpu/math_private.h
16446         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16447         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16448         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16449         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16450         Fix declarations.
16452 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16454         * crypt/crypt-private.h: Include ufc-crypt.h.
16455         (__b64_from_24bit): Declare extern.
16456         * crypt/crypt_util.c(__b64_from_24bit): New function.
16457         (b64t): New static const variable.
16458         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16459         (b64t): Remove variable.
16460         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16461         * crypt/sha256-crypt.c: Include crypt-private.h.
16462         (b64t): Remove variable.
16463         (__sha256_crypt_r): Remove b64_from_24bit and replace
16464         with __b64_from_24bit.
16465         * crypt/sha512-crypt.c: Likewise.
16467 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16469         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16470         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16471         Label the code __libc_vfork rather than __vfork.
16472         [!NOT_IN_libc] (vfork): Define as weak alias.
16473         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16474         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16475         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16477 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16479         * malloc/malloc.c (malloc_info): Fix format specifier for
16480         n_mmaps.
16482 2014-06-02  Wilco  <wdijkstr@arm.com>
16484         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16485         FPCR write.
16487 2014-06-02  Wilco  <wdijkstr@arm.com>
16489         [BZ #17009]
16490         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16491         Rewrite to reduce FPCR/FPSR accesses.
16493 2014-06-01  David S. Miller  <davem@davemloft.net>
16495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16497 2014-05-31  David S. Miller  <davem@davemloft.net>
16499         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16500         to occur in round to nearest mode when |x| >= 2.0
16502 2014-05-30  Richard Henderson  <rth@twiddle.net>
16504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16505         (PSEUDO_RET_NOERRNO): Remove.
16506         (ret): Don't redefine.
16507         (ret_NOERRNO): Define in terms of ret.
16508         (ret_ERRVAL): Likewise.
16510         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16511         use of PSEUDO_RET; perform the error check directly.
16513 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16515         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16516         with __int128_t.
16518 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16520         * malloc/malloc (malloc_info): Fix formatting.
16522 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16523             Roland McGrath  <roland@hack.frob.com>
16525         * malloc/malloc (malloc_info): Also print mmapped statistics.
16527 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16529         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16530         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16532 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16534         * malloc/malloc.c (malloc_info): Inline mi_arena.
16536 2014-05-29  Richard Henderson  <rth@twiddle.net>
16538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16539         Remove comma before expanding ASM_ARGS_##nr.
16540         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16541         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16542         of ASM_ARGS_##nr.
16543         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16544         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16545         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16546         (ASM_ARGS_1): Add leading comma.
16548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16549         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16550         to __errno_location.
16551         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16552         Remove the expected plt for __errno_location.
16554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16555         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16556         call to __read_tp.
16558         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16559         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16560         it and break it down.
16561         (DOCARGS_0, DOCARGS_1): Do nothing.
16562         (DOCARGS_2): Update to store into the new stack frame.
16563         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16564         (UNDOCARGS_1): Update to restore from the new stack frame.
16565         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16566         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16569         (SINGLE_THREAD_P): New parameter for result regno.
16570         (PSEUDO): Update to match; use cbz instead of beq.
16572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16573         Use ENTRY to define the _nocancel entry point.  Share the syscall
16574         and syscall error check paths with the cancel path.
16575         (PSEUDO_END): New.
16577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16578         whitespace; tabs before and after asm mnemonics.
16580 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16582         [BZ #15132]
16583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16584         Call fstat64 or stat64 internally, depending on arguments passed.
16585         Replace stat buffer argument with file descriptor argument.
16586         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16587         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16588         Pass fd to __internal_statvfs instead of calling fstat64.
16589         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16590         Pass fd to __internal_statvfs64 instead of calling fstat64.
16591         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16592         Pass -1 to __internal_statvfs instead of calling stat64.
16593         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16594         Pass -1 to __internal_statvfs64 instead of calling stat64.
16596 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16598         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16599         that was previously under [RESET_PID].
16600         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16602         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16603         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16605 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16607         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16609         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16610         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16612 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16614         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16616 2014-05-27  Andreas Schwab  <schwab@suse.de>
16618         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16619         TLS_INIT_TP macro.
16620         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16621         * elf/rtld.c (init_tls, dl_main): Likewise.
16622         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16623         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16624         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16625         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16626         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16627         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16628         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16629         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16630         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16631         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16632         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16633         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16634         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16635         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16636         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16637         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16638         * sysdeps/generic/tls.h: Update description.
16640 2014-05-27  Will Newton  <will.newton@linaro.org>
16642         [BZ #16990]
16643         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16644         and restore r2 rather than just restoring.
16646 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16648         [BZ #16724]
16649         * libio/tst-ftell-append.c: New test case.
16650         * libio/Makefile (tests): Add test case.
16651         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16652         append mode.
16653         * libio/wfileops.c (do_ftell_wide): Likewise.
16655 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16659         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16660         ...
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16663         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16664         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16665         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16666         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16667         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16670         Moved ...
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16673         Moved ...
16674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16675         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16676         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16677         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16678         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16679         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16680         ...
16681         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16682         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16683         Moved ...
16684         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16685         here.
16686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16687         ...
16688         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16689         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16694         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16695         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16698         merge into ...
16699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16701         ...
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16704         ...
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16707         Moved ...
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16709         here.
16710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16714         Moved ...
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16718         conditional [RESET_PID].
16719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16721         removed.
16722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16723         removed.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16726         <tcb-offsets.h>.
16727         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16728         (__libc_vfork): New strong alias.
16729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16730         removed.
16731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16732         Removed.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16735         <tcb-offsets.h>.
16736         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16737         (__libc_vfork): New strong alias.
16738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16739         removed.
16740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16741         removed.
16743 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16745         * malloc/malloc.c (mi_arena): New function.
16746         (malloc_info): Remove nested function mi_arena. Call non-nosted
16747         function mi_arena.
16749 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16751         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16752         by insrwi.
16753         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16754         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16755         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16756         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16758         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16761 2014-05-26  Andreas Schwab  <schwab@suse.de>
16763         [BZ #16984]
16764         * locale/programs/repertoire.c (repertoire_read): Add slash
16765         between I18NPATH element and file name.
16766         * locale/programs/locfile.c (locfile_read): Likewise.
16768 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16770         * nptl/pthread_mutexattr_settype.c
16771         (__pthread_mutexattr_settype):
16772         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16774 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16776         * nptl/tst-mutex5 (do_test):
16777         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16779 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16781         * benchtests/README: Document 'init' directive.
16782         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16783         BENCH_INIT.
16784         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16785         (parse_file): Recognize 'init' directive.
16787 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16789         [BZ #16796]
16790         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16791         alignment of struct pthread.
16793 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16795         [BZ #16878]
16796         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16797         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16798         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16799         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16801 2014-05-25  Richard Henderson  <rth@twiddle.net>
16803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16804         (SINGLE_THREAD_P_PIC): Remove.
16805         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16806         (SINGLE_THREAD_P_PIC): Remove.
16808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16809         branch to syscall error ...
16810         (PSEUDO): ... here.
16811         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16812         from __local_syscall_error to .Lsyscall_error.
16813         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16814         (SYSCALL_ERROR): Update label name.
16816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16817         Do not use DOARGS/UNDOARGS.
16818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16819         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16820         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16821         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16822         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16825         block comment.
16827         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16828         define if !NOT_IN_libc.
16829         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16830         define with non-default symbol versions.
16832 2014-05-23  Richard Henderson  <rth@twiddle.net>
16834         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16835         (vfork, __vfork): Define via compat_symbol.
16837         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16838         [!HAVE_IFUNC] (vfork_compat): Remove.
16839         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16841 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16843         [BZ #16978]
16844         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16845         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16846         variable.
16848 2014-05-23  Richard Henderson  <rth@twiddle.net>
16850         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16851         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16852         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16853         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16855         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16856         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16857         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16858         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16859         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16860         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16861         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16862         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16863         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16864         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16865         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16866         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16867         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16868         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16869         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16870         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16871         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16872         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16873         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16874         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16878         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16879         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16880         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16884         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16892         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16893         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16894         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16895         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16896         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16897         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16898         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16899         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16900         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16902         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16904         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16906         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16908         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16910         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16912         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16913         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16914         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16915         before exiting on error.
16916         (__libc_vfork): New strong alias.
16917         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16918         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16920         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16921         that was previously under [RESET_PID].
16922         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16924         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16926 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16928         [BZ #16977]
16929         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16930         value when x - 1 is zero.
16931         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16932         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16933         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16934         0.0L for an argument of 1.0L.
16935         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16936         Likewise.
16937         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16938         value when x - 1 is zero.
16939         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16940         * sysdeps/i386/fpu/libm-test-ulps: Update.
16941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16943 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16945         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16946         alphasort and versionsort.
16948 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16950         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16951         macro.
16952         [copysignf]: Likewise.
16954 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16956         * crypt/md5-crypt.c: Fix formatting.
16958 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16960         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16961         (b64_from_24bit): New function.
16963 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16966         libc_hidden_builtin_def to ifunc.
16967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16968         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16970 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16972         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16973         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16975 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16977         * nscd/Depend (linuxthreads): Remove.
16978         (nptl): Add.
16979         * resolv/Depend (linuxthreads): Remove.
16980         * rt/Depend (linuxthreads): Remove.
16982         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16983         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16984         $(common-objpfx)elf/.
16985         (link-libc-before-gnulib): Likewise.
16986         (elfobjdir): Remove variable.
16987         * Makefile (install): Use $(elf-objpfx) instead of
16988         $(common-objpfx)elf/.
16989         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16990         $(elfobjdir)/.
16991         (link-libc-deps): Likewise.
16992         ($(common-objpfx)libc.so): Likewise.
16993         ($(common-objpfx)linkobj/libc.so): Likewise.
16994         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16995         instead of $(common-objpfx)elf/.
16996         (symbolic-link-list): Likewise.
16997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16998         [$(cross-compiling) = no]: Likewise.
16999         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17000         $(elfobjdir)/.
17001         (static-gnulib-arch): Likewise.
17002         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17003         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17004         $(common-objpfx)elf/.
17006 2014-05-21  Richard Henderson  <rth@redhat.com>
17008         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17009         (SINGLE_THREAD_P): Use the correct width load.  Fold
17010         into the ldr offset.
17012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17013         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17015 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17018         (libgcc_s_resume): Use __attribute_used__.
17019         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17020         Likewise.
17022 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17024         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17025         optimization when used with float constants.
17027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17029 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17031         [BZ #16915]
17032         * locale/nl_langinfo_l.c: Make direct reference to every
17033         _nl_current_CATEGORY symbol.
17034         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17035         (tests-static): Add tst-langinfo-static.
17036         (tests-special): Add tst-langinfo-static.out.
17037         ($(objpfx)tst-langinfo.out): Redirect output.
17038         ($(objpfx)tst-langinfo-static.out): New.
17039         * localedata/tst-langinfo.sh: Send output to stdout.
17040         * localedata/tst-langinfo-static.c: New file.
17042         [BZ #16965]
17043         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17044         when the shift amount is modulo the limb size.
17046 2014-05-20  Richard Henderson  <rth@redhat.com>
17048         [BZ #16967]
17049         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17050         Change type of sa_flags from unsigned int to int.
17052         [BZ #16966]
17053         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17055         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17057 2014-05-20  Will Newton  <will.newton@linaro.org>
17059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17060         Test the return value of the system call in the nocancel case.
17062 2014-05-20  Will Newton  <will.newton@linaro.org>
17063             Yvan Roux  <yvan.roux@linaro.org>
17065         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17066         #include of asm/ptrace.h.
17067         (PTRACE_GET_THREAD_AREA): Remove #undef.
17068         (PTRACE_GETHBPREGS): Likewise.
17069         (PTRACE_SETHBPREGS): Likewise.
17070         (struct user_regs_struct): New structure.
17071         (struct user_fpsimd_struct): New structure.
17072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17073         #include of asm/ptrace.h and second #include of sys/user.h.
17074         (PTRACE_GET_THREAD_AREA): Remove #undef.
17075         (PTRACE_GETHBPREGS): Likewise.
17076         (PTRACE_SETHBPREGS): Likewise.
17077         (ELF_NGREG): Use new struct user_regs_struct.
17078         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17080 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17085 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17087         [BZ #16958]
17088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17089         membar to avoid block loads/stores to overlap previous stores.
17091 2014-05-17  Richard Henderson  <rth@redhat.com>
17093         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17094         Create the __##syscall_name##_nocancel entry point.
17095         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17096         Remove; let the sysdep-cancel.h code create it.
17098 2014-05-17  David S. Miller  <davem@davemloft.net>
17100         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17101         Protect with __USE_GNU.
17102         (TIOCSET_TEMPT): Likewise.
17103         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17104         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17105         these are already provided in bits/ioctl-types.h
17107 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17109         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17110         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17112         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17113         Use wait4 regardless of [__NR_waitpid].
17115 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17117         PR libgcc/60166
17118         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17119         (_FP_NANSIGN_Q): Set the quiet bit.
17121 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17123         * benchtests/Makefile
17124         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17125         not $(common-objpfx)math/libm.so.
17126         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17127         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17128         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17129         $(common-objpfx)dlfcn/libdl.so.
17130         ($(objpfx)tst-audit8): Depend on $(libm), not
17131         $(common-objpfx)math/libm.so.
17132         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17133         not $(common-objpfx)dlfcn/libdl.so.
17134         * math/Makefile
17135         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17136         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17137         [$(build-shared) = yes].
17138         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17139         $(common-objpfx)nptl/libpthread.so.
17140         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17141         $(common-objpfx)math/libm.so$(libm.so-version) or
17142         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17143         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17144         $(common-objpfx)dlfcn/libdl.so.
17145         * setjmp/Makefile (link-libm): Remove variable.
17146         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17147         * stdio-common/Makefile (link-libm): Remove variable.
17148         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17149         * stdlib/Makefile (link-libm): Remove variable.
17150         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17151         ($(objpfx)tst-strtod-round): Likewise.
17152         ($(objpfx)tst-tininess): Likewise.
17153         ($(objpfx)tst-strtod-underflow): Likewise.
17154         ($(objpfx)tst-strtod6): Likewise.
17155         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17156         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17157         $(common-objpfx)dlfcn/libdl.so.
17159 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17162         BSD terminal modes definitions.
17164 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17166         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17167         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17169         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17170         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17171         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17172         Don't do #include_next.
17173         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17174         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17175         Don't do #include_next.
17176         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17177         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17178         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17179         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17181 2014-05-16  Allan McRae  <allan@archlinux.org>
17183         * po/sv.po: Update Swedish translation from translation project.
17185         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17186         in sed expression.
17188 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17190         [BZ #16917]
17191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17192         errno if the TIOCGPTN ioctl fails with an error different than
17193         EINVAL.
17194         * login/tst-ptsname.c: New file.
17195         * login/Makefile (tests): Add tst-ptsname.
17197         [BZ #16943]
17198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17199         and prlimit64.
17201 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17203         [BZ #16849]
17204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17205         herrno to return EAI_AGAIN.
17207 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17209         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17210         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17211         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17212         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17213         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17214         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17215         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17216         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17218         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17219         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17220         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17221         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17222         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17223         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17224         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17225         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17226         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17227         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17228         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17229         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17230         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17231         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17232         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17233         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17234         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17235         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17236         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17238         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17240         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17242         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17244         Moved ...
17245         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17247         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17249         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17251         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17253         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17255         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17257         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17259         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17261         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17263         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17265         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17267         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17269         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17271         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17273         Moved ...
17274         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17276         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17278         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17280         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17282         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17286         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17288         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17290         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17292         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17294         Moved ...
17295         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17297         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17299         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17300         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17301         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17302         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17303         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17304         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17305         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17306         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17307         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17308         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17309         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17310         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17311         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17312         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17313         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17314         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17315         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17316         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17317         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17318         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17319         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17320         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17321         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17322         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17323         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17324         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17325         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17326         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17327         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17328         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17329         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17331         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17332         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17334         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17335         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17336         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17337         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17338         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17340         Moved ...
17341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17343         Moved ...
17344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17346         Moved ...
17347         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17349         Moved ...
17350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17351         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17352         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17356         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17357         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17359         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17360         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17361         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17363         Moved ...
17364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17366         Moved ...
17367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17368         ... here.
17369         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17370         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17371         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17372         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17373         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17374         Moved ...
17375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17376         ... here.
17377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17378         Moved ...
17379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17380         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17381         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17382         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17383         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17385         Moved ...
17386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17388         Moved ...
17389         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17391         Moved ...
17392         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17394         Moved ...
17395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17396         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17397         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17399         Moved ...
17400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17401         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17402         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17404         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17405         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17406         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17408         Moved ...
17409         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17411         Moved ...
17412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17413         ... here.
17414         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17415         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17416         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17417         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17418         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17419         Moved ...
17420         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17421         ... here.
17422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17423         Moved ...
17424         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17425         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17426         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17427         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17428         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17429         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17430         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17431         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17432         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17433         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17434         Moved ...
17435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17436         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17437         Moved ...
17438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17439         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17440         Moved ...
17441         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17443         Moved ...
17444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17446         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17447         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17448         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17450         Moved ...
17451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17452         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17453         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17456         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17457         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17459         Moved ...
17460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17462         Moved ...
17463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17464         ... here.
17465         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17466         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17467         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17468         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17469         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17470         Moved ...
17471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17472         ... here.
17473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17474         Moved ...
17475         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17476         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17477         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17478         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17479         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17480         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17481         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17482         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17483         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17484         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17485         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17487         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17488         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17490         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17491         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17493         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17494         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17495         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17496         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17497         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17498         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17499         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17500         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17501         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17502         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17503         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17504         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17505         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17506         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17507         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17509         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17511         Moved ...
17512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17516         Moved ...
17517         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17521         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17525         Moved ...
17526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17535         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17536         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17537         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17538         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17539         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17540         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17541         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17542         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17543         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17544         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17545         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17547         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17548         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17549         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17550         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17551         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17553         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17554         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17555         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17556         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17557         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17558         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17559         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17560         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17561         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17562         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17567         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17568         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17569         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17570         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17571         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17572         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17573         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17574         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17575         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17576         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17577         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17578         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17579         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17580         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17582         Update #include.
17583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17584         Likewise.
17585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17586         Likewise.
17587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17588         Likewise.
17589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17590         Likewise.
17591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17592         Likewise.
17593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17594         Likewise.
17595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17596         Likewise.
17597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17598         Likewise.
17599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17600         Likewise.
17601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17613         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17617         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17618         that was previously under [RESET_PID].
17619         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17620         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17621         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17623         * sysdeps/i386/nptl/Implies: New file.
17624         * sysdeps/x86_64/nptl/Implies: New file.
17625         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17626         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17627         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17628         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17630         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17631         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17632         (__libc_vfork): New strong alias.
17633         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17634         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17636         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17637         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17638         (__libc_vfork): New strong alias.
17639         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17640         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17642         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17643         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17644         (__libc_vfork): New strong alias.
17645         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17646         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17647         * nptl/pt-vfork.c: New file.
17648         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17649         (libpthread: GLIBC_2.20): New version set (empty).
17651 2014-05-14  Will Newton  <will.newton@linaro.org>
17653         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17654         rather than #if.
17656 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17658         [BZ #16564]
17659         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17660         arguments with exponent 65 or above.
17661         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17662         arguments 0x1p113L or above.
17663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17664         to arguments 0x1p107L or above.
17665         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17666         positive arguments with exponent 65 or above.
17667         * math/auto-libm-test-in: Add more tests of log1p.
17668         * math/auto-libm-test-out: Regenerated.
17670         [BZ #16928]
17671         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17672         non-finite arguments is +0.
17673         * math/s_cacosf.c (__cacosf): Likewise.
17674         * math/s_cacosl.c (__cacosl): Likewise.
17675         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17676         * sysdeps/i386/fpu/libm-test-ulps: Update.
17677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17679         [BZ #16927]
17680         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17681         value.
17682         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17683         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17684         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17685         for explicit high bit of mantissa when testing for argument equal
17686         to 1.
17687         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17688         * sysdeps/i386/fpu/libm-test-ulps: Update.
17689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17691         [BZ #16516]
17692         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17693         (__erf): Scale by 16 instead of 8 in potentially underflowing
17694         case.  Ensure exception if result actually underflows.
17695         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17696         (__erff): Scale by 16 instead of 8 in potentially underflowing
17697         case.  Ensure exception if result actually underflows.
17698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17699         (efx8): Remove variable.
17700         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17701         case.  Ensure exception if result actually underflows.
17702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17703         (efx8): Remove variable.
17704         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17705         case.  Ensure exception if result actually underflows.
17706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17707         (efx8): Remove variable.
17708         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17709         case.  Ensure exception if result actually underflows.
17710         * math/auto-libm-test-in: Add more tests of erf.
17711         * math/auto-libm-test-out: Regenerated.
17713 2014-05-14  Andreas Schwab  <schwab@suse.de>
17715         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17716         Remove code conditionalized on USE___THREAD.
17718         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17719         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17720         not definedness.
17722 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17724         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17725         Define unconditionally.
17726         (__ASSUME_O_CLOEXEC): Likewise.
17727         (__ASSUME_SOCK_CLOEXEC): Likewise.
17728         (__ASSUME_IN_NONBLOCK): Likewise.
17729         (__ASSUME_PIPE2): Likewise.
17730         (__ASSUME_EVENTFD2): Likewise.
17731         (__ASSUME_SIGNALFD4): Likewise.
17732         (__ASSUME_DUP3): Likewise.
17733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17734         (__ASSUME_DUP3): Do not define.
17735         (__ASSUME_EVENTFD2): Likewise.
17736         (__ASSUME_IN_NONBLOCK): Likewise.
17737         (__ASSUME_O_CLOEXEC): Likewise.
17738         (__ASSUME_PIPE2): Likewise.
17739         (__ASSUME_SIGNALFD4): Likewise.
17740         (__ASSUME_SOCK_CLOEXEC): Likewise.
17741         (__ASSUME_UTIMES): Undefine.
17742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17743         (__ASSUME_UTIMES): Do not define.
17744         (__ASSUME_O_CLOEXEC): Likewise.
17745         (__ASSUME_SOCK_CLOEXEC): Likewise.
17746         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17747         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17748         0x020621].
17749         (__ASSUME_PIPE2): Likewise.
17750         (__ASSUME_EVENTFD2): Likewise.
17751         (__ASSUME_SIGNALFD4): Likewise.
17752         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17753         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17754         Do not define.
17755         (__ASSUME_EVENTFD2): Likewise.
17756         (__ASSUME_SIGNALFD4): Likewise.
17757         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17758         (__ASSUME_32BITUIDS): Likewise.
17759         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17760         (__ASSUME_IPC64): Likewise.
17761         (__ASSUME_ST_INO_64_BIT): Likewise.
17762         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17763         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17764         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17765         (__ASSUME_UTIMES): Do not define.
17766         (__ASSUME_PSELECT): Likewise.
17767         (__ASSUME_PPOLL): Likewise.
17768         (__ASSUME_O_CLOEXEC): Likewise.
17769         (__ASSUME_SOCK_CLOEXEC): Likewise.
17770         (__ASSUME_IN_NONBLOCK): Likewise.
17771         (__ASSUME_PIPE2): Likewise.
17772         (__ASSUME_EVENTFD2): Likewise.
17773         (__ASSUME_SIGNALFD4): Likewise.
17774         (__ASSUME_DUP3): Likewise.
17775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17776         (__ASSUME_UTIMES): Likewise.
17777         (__ASSUME_O_CLOEXEC): Likewise.
17778         (__ASSUME_SOCK_CLOEXEC): Likewise.
17779         (__ASSUME_IN_NONBLOCK): Likewise.
17780         (__ASSUME_PIPE2): Likewise.
17781         (__ASSUME_EVENTFD2): Likewise.
17782         (__ASSUME_SIGNALFD4): Likewise.
17783         (__ASSUME_DUP3): Likewise.
17784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17785         (__ASSUME_UTIMES): Likewise.
17786         (__ASSUME_O_CLOEXEC): Likewise.
17787         (__ASSUME_SOCK_CLOEXEC): Likewise.
17788         (__ASSUME_IN_NONBLOCK): Likewise.
17789         (__ASSUME_PIPE2): Likewise.
17790         (__ASSUME_EVENTFD2): Likewise.
17791         (__ASSUME_SIGNALFD4): Likewise.
17792         (__ASSUME_DUP3): Likewise.
17793         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17794         Likewise.
17795         (__ASSUME_UTIMES): Likewise.
17796         (__ASSUME_EVENTFD2): Likewise.
17797         (__ASSUME_SIGNALFD4): Likewise.
17798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17799         (__ASSUME_O_CLOEXEC): Likewise.
17800         (__ASSUME_SOCK_CLOEXEC): Likewise.
17801         (__ASSUME_IN_NONBLOCK): Likewise.
17802         (__ASSUME_PIPE2): Likewise.
17803         (__ASSUME_EVENTFD2): Likewise.
17804         (__ASSUME_SIGNALFD4): Likewise.
17805         (__ASSUME_DUP3): Likewise.
17806         (__ASSUME_UTIMES): Undefine.
17808         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17809         feclearexcept.  Remove symbol versioning code.
17810         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17811         symbol versioning code.
17812         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17813         symbol versioning code.
17814         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17815         feupdateenv.  Remove symbol versioning code.
17816         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17817         fegetexceptflag.  Remove symbol versioning code.
17818         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17819         fesetexceptflag.  Remove symbol versioning code.
17820         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17821         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17822         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17823         (__posix_fadvise64_l32): Remove prototype.
17824         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17825         code.
17827 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17830         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17831         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17832         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17834 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17836         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17837         current working directory
17839 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17841         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17842         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17843         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17844         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17845         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17846         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17847         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17848         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17849         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17850         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17851         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17852         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17853         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17854         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17855         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17856         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17857         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17858         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17859         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17860         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17861         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17862         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17863         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17864         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17865         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17866         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17867         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17868         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17869         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17870         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17871         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17872         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17873         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17874         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17875         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17876         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17877         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17878         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17879         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17880         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17881         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17882         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17884         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17885         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17887         * sysdeps/unix/sysv/linux/arm/Makefile
17888         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17889         Add rt-aeabi_unwind_cpp_pr1.
17890         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17891         Add nptl-aeabi_unwind_cpp_pr1.
17892         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17893         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17894         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17895         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17896         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17897         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17899         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17900         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17901         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17902         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17904         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17905         Deconditionalize the code that was previously under [RESET_PID].
17906         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17908         * sysdeps/generic/exit-thread.h: New file.
17909         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17910         * include/unistd.h (__exit_thread): Remove declaration.
17911         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17912         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17913         * csu/libc-start.c: Include <exit-thread.h>.
17914         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17915         * nptl/pthread_create.c: Include <exit-thread.h>.
17916         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17917         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17918         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17919         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17920         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17921         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17922         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17923         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17924         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17925         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17926         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17927         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17928         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17929         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17930         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17931         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17932         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17934 2014-05-13  Andreas Schwab  <schwab@suse.de>
17936         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17938 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17940         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17941         (__ASSUME_UTIMES): Do not condition on kernel version.
17942         (__ASSUME_PSELECT): Define unconditionally.
17943         (__ASSUME_PPOLL): Likewise.
17944         (__ASSUME_ATFCTS): Likewise.
17945         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17946         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17947         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17948         (__ASSUME_UTIMENSAT): Define unconditionally.
17949         (__ASSUME_PRIVATE_FUTEX): Likewise.
17950         (__ASSUME_FALLOCATE): Likewise.
17951         (__ASSUME_O_CLOEXEC): Likewise.
17952         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17953         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17954         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17955         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17956         (__ASSUME_IN_NONBLOCK): Likewise.
17957         (__ASSUME_PIPE2): Likewise.
17958         (__ASSUME_EVENTFD2): Likewise.
17959         (__ASSUME_SIGNALFD4): Likewise.
17960         (__ASSUME_DUP3): Likewise.
17961         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17962         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17963         (__ASSUME_AT_RANDOM): Likewise.
17964         (__ASSUME_PREADV): Likewise.
17965         (__ASSUME_PWRITEV): Likewise.
17966         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17967         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17968         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17970         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17971         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17972         (__ASSUME_O_CLOEXEC): Define unconditionally.
17973         (__ASSUME_PSELECT): Do not undefine conditionally.
17974         (__ASSUME_PPOLL): Likewise.
17975         (__ASSUME_ATFCTS): Likewise.
17976         (__ASSUME_SET_ROBUST_LIST): Likewise.
17977         (__ASSUME_UTIMENSAT): Likewise.
17978         (__ASSUME_FDATASYNC): Define unconditionally.
17979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17980         (__ASSUME_SIGFRAME_V2): Likewise.
17981         )__ASSUME_EVENTFD2): Likewise.
17982         (__ASSUME_SIGNALFD4): Likewise.
17983         (__ASSUME_PSELECT): Do not undefine conditionally.
17984         (__ASSUME_PPOLL): Likewise.
17985         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17986         (__ASSUME_PSELECT): Define unconditionally.
17987         (__ASSUME_PPOLL): Likewise.
17988         (__ASSUME_O_CLOEXEC): Likewise.
17989         (__ASSUME_SOCK_CLOEXEC): Likewise.
17990         (__ASSUME_IN_NONBLOCK): Likewise.
17991         (__ASSUME_PIPE2): Likewise.
17992         (__ASSUME_EVENTFD2): Likewise.
17993         (__ASSUME_SIGNALFD4): Likewise.
17994         (__ASSUME_DUP3): Likewise.
17995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17996         (__ASSUME_O_CLOEXEC): Likewise.
17997         (__ASSUME_SOCK_CLOEXEC): Likewise.
17998         (__ASSUME_IN_NONBLOCK): Likewise.
17999         (__ASSUME_PIPE2): Likewise.
18000         (__ASSUME_EVENTFD2): Likewise.
18001         (__ASSUME_SIGNALFD4): Likewise.
18002         (__ASSUME_DUP3): Likewise.
18003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18004         (__ASSUME_EVENTFD2): Likewise.
18005         (__ASSUME_SIGNALFD4): Likewise.
18006         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18008 2014-05-12  Andreas Schwab  <schwab@suse.de>
18010         [BZ #16932]
18011         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18012         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18013         than maximum RPC packet size.
18014         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18015         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18016         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18017         (_nss_nis_getservbyport_r): Likewise.
18019 2014-05-12  Will Newton  <will.newton@linaro.org>
18021         * malloc/Makefile (tests): Add tst-mallopt.
18022         * malloc/tst-mallopt.c: New file.
18024 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18026         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18027         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18029 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18031         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18032         (tst-tlsmod6.so): Likewise.
18034 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18036         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18038 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18040         [BZ #16064]
18041         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18042         and <dl-procinfo.h>.
18043         (__fegetenv): Save SSE state in envp->__eip if supported.
18044         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18045         envp->__eip if supported.
18046         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18047         and <dl-procinfo.h>.
18048         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18049         __data_offset and __data_selector in environment to 0.  Set SSE
18050         state if supported.
18051         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18052         test-fenv-sse.
18053         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18054         -mfpmath=sse.
18055         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18057 2014-05-09  Will Newton  <will.newton@linaro.org>
18059         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18060         and libc_relro_required for ARM.
18061         * sysdeps/arm/preconfigure: Regenerate.
18063 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18064             Stefan Liebler  <stli@linux.vnet.ibm.com>
18066         * config.make.in (enable-lock-elision): New Makefile variable.
18067         * configure.ac: Likewise.
18068         * configure: Regenerate.
18069         * sysdeps/s390/configure.ac:
18070         Add check for gcc transactions support.
18071         * sysdeps/s390/configure: Regenerate.
18072         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18073         Build elision files if enabled.
18074         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18075         Add lock elision support for s390.
18076         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18077         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18078         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18079         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18080         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18081         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18082         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18083         Likewise.
18084         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18085         Likewise.
18086         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18087         Likewise.
18088         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18089         Likewise.
18090         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18091         (__lll_timedlock_elision, __lll_lock_elision)
18092         (__lll_unlock_elision, __lll_trylock_elision)
18093         (lll_timedlock_elision, lll_lock_elision)
18094         (lll_unlock_elision, lll_trylock_elision): Add.
18095         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18096         (pthread_mutex_t): Add lock elision support for s390.
18098 2014-05-14  Wilco  <wdijkstr@arm.com>
18100         * sysdeps/arm/fclrexcpt.c: Cleanup.
18101         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18102         * sysdeps/arm/feenablxcpt.c: Cleanup.
18103         * sysdeps/arm/fegetenv.c: Cleanup.
18104         * sysdeps/arm/fegetexcept.c: Cleanup.
18105         * sysdeps/arm/fegetround.c: Cleanup.
18106         * sysdeps/arm/feholdexcpt.c: Cleanup.
18107         * sysdeps/arm/fesetenv.c: Cleanup.
18108         * sysdeps/arm/fesetround.c: Cleanup.
18109         * sysdeps/arm/feupdateenv.c: Cleanup.
18110         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18111         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18112         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18113         * sysdeps/arm/ftestexcept.c: Cleanup.
18114         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18115         * sysdeps/arm/setfpucw.c: Cleanup.
18117 2014-05-09  Will Newton  <will.newton@linaro.org>
18119         * sysdeps/arm/armv7/strcmp.S: New file.
18120         * NEWS: Mention addition of ARMv7 optimized strcmp.
18122 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18124         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18125         look for %.ac rather than %.in.
18127         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18128         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18129         * sysdeps/mach/hurd/configure: Regenerated.
18130         * sysdeps/unix/sysv/linux/configure: Regenerated.
18132         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18134 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18136         [BZ# 16922]
18137         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18138         (LONG_SUB): Ditto.
18139         (PTR_SUB): Ditto.
18141 2014-05-07  Andreas Schwab  <schwab@suse.de>
18143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18144         when skipping over non-matching result from nscd.
18146 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18148         [BZ #16876]
18149         * nptl/sockperf.c (client): Check socket return value.
18151         [BZ #16877]
18152         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18153         nscd security class.
18155 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18157         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18158         * sysdeps/arm/unwind.h: ... here.
18160 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18162         [BZ# 16916]
18163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18164         Define.
18166 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18168         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18169         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18170         multiarch strncpy for PPC64.
18171         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18172         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18174         multiarch optimizations.
18175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18176         (__libc_ifunc_impl_list): Likewise.
18177         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18179         multiarch stpncpy for PPC64.
18180         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18181         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18183 2014-05-06  Andreas Schwab  <schwab@suse.de>
18185         [BZ #16912]
18186         * gmon/mcount.c (_MCOUNT_DECL): Use
18187         atomic_compare_and_exchange_bool_acq instead of
18188         catomic_compare_and_exchange_bool_acq.
18190 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18192         * elf/Makefile (others, install-bin): Remove pldd.
18193         (pldd-modules): Variable removed.
18194         ($(objpfx)pldd): Target removed.
18195         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18196         (others, install-bin): Append pldd here.
18197         ($(objpfx)pldd): New target.
18199         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18200         to 0, so the first #if test emitted later doesn't see it undefined.
18201         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18202         * sysdeps/gnu/errlist.c: Regenerated.
18204 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18207         [libc_hidden_builtin_def]: Define to empty value.
18208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18209         [libc_hidden_builtin_def]: Likewise.
18210         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18211         [libc_hidden_builtin_def]: Likewise.
18212         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18213         [libc_hidden_builtin_def]: Likewise.
18214         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18215         __redirect_memcpy and define ifunc as default hidden symbol.
18216         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18217         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18219 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18221         * locale/iso-4217.def: Reintroduce XDR currency.
18223 2014-05-04  Allan McRae  <allan@archlinux.org>
18225         * po/eo.po: Update Esperanto translation from translation project.
18227 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18229         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18230         and FEATURE_INDEX_MAX to 1.
18231         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18233 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18235         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18236         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18237         * iconvdata/big5.c (ONE_DIRECTION): Define.
18238         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18239         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18240         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18241         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18242         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18243         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18244         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18245         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18246         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18247         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18248         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18249         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18250         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18251         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18252         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18253         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18254         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18255         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18256         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18257         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18258         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18259         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18260         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18261         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18262         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18263         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18264         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18265         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18266         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18267         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18268         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18269         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18270         * iconvdata/johab.c (ONE_DIRECTION): Define.
18271         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18272         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18273         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18274         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18275         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18276         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18277         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18278         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18279         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18280         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18282 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18284         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18285         (_IO_JUMPS_OFFSET): Define to 0.
18287         * nptl/sysdeps/pthread/bits/libc-lock.h
18288         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18289         (__libc_lock_define_initialized_recursive): Always define using
18290         initializer.  Modern compilers treat uninitialized (implicit zero) and
18291         explicit zero initializers the same (i.e. put the datum in bss).
18293 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18295         * nscd/nscd-client.h: Include <string.h>.
18297 2014-05-01  David S. Miller  <davem@davemloft.net>
18299         [BZ #16885]
18300         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18301         multiple zero bytes exist at the end of a string.
18302         Reported by Aurelien Jarno <aurelien@aurel32.net>
18304         * string/test-strcmp.c (check): Add explicit test for situations where
18305         there are multiple zero bytes after the first.
18307 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18309         [BZ #16890]
18310         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18311         when compiling wprintf.
18312         * stdio-common/tstdiomisc.c (t3): New function.
18313         (main): Call it.
18315 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18317         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18318         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18319         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18320         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18322 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18324         * stdlib/longlong.h: Updated from GCC.
18326 2014-05-01  Will Newton  <will.newton@linaro.org>
18327             Bernard Ogden  <bernie.ogden@linaro.org>
18329         * NEWS: Update fixed bug list.
18331         [BZ #15119]
18332         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18334 2014-04-30  David S. Miller  <davem@davemloft.net>
18336         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18337         (libc_feholdexcept_setround_sparc_ctx): New function.
18338         (libc_fesetenv_sparc_ctx): Likewise.
18339         (libc_feupdateenv_sparc_ctx): Likewise.
18340         (libc_feholdsetround_sparc_ctx): Likewise.
18341         (libc_feholdexcept_setround_ctx): Define.
18342         (libc_feholdexcept_setroundf_ctx): Likewise.
18343         (libc_feholdexcept_setroundl_ctx): Likewise.
18344         (libc_fesetenv_ctx): Likewise.
18345         (libc_fesetenvf_ctx): Likewise.
18346         (libc_fesetenvl_ctx): Likewise.
18347         (libc_feupdateenv_ctx): Likewise.
18348         (libc_feupdateenvf_ctx): Likewise.
18349         (libc_feupdateenvl_ctx): Likewise.
18350         (libc_feresetround_ctx): Likewise.
18351         (libc_feresetroundf_ctx): Likewise.
18352         (libc_feresetroundl_ctx): Likewise.
18353         (libc_feholdsetround_ctx): Likewise.
18354         (libc_feholdsetroundf_ctx): Likewise.
18355         (libc_feholdsetroundl_ctx): Likewise.
18357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18358         with __USE_GNU instead of XOPEN cpp guards.
18360         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18361         0.
18363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18364         with XOPEN cpp guards.
18366 2014-04-30  Julian Brown  <julian@codesourcery.com>
18368         [BZ #16888]
18369         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18370         handling.
18372 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18374         [BZ #9894]
18375         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18376         Change to 2.6.32.
18377         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18378         * sysdeps/unix/sysv/linux/configure: Regenerated.
18379         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18380         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18381         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18382         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18383         * README: Update reference to required Linux kernel version.
18384         * manual/install.texi (Linux): Update reference to required Linux
18385         kernel headers version.
18386         * INSTALL: Regenerated.
18388         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18389         header inclusion.
18390         [POSIX] (limits.h): Likewise.
18391         [POSIX] (math.h): Likewise.
18392         [POSIX] (sys/wait.h): Likewise.
18393         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18394         function.
18395         [POSIX] (stddef.h): Do not allow header inclusion.
18397 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18399         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18401 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18403         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18404         Return immediately after lll_futex_wake.
18406 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18408         [BZ #16791]
18409         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18410         structure.
18411         (datahead_init_pos): Call datahead_init_common early.
18412         (datahead_init_neg): Likewise.
18414         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18415         datahead_init_neg): New functions.
18416         * nscd/aicache.c (addhstaiX): Use them.
18417         * nscd/grpcache.c (cache_addgr): Likewise.
18418         * nscd/hstcache.c (cache_addhst): Likewise.
18419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18420         * nscd/netgroupcache.c (do_notfound): Likewise.
18421         (addgetnetgrentX): Likewise.
18422         (addinnetgrX): Likewise.
18423         * nscd/pwdcache.c (cache_addpw): Likewise.
18424         * nscd/servicescache.c (cache_addserv): Likewise.
18426 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18427             Atsushi Onoe  <atsushi@onoe.org>
18429         [BZ #14308]
18430         [BZ #12994]
18431         [BZ #13651]
18432         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18433         one response is valid.
18434         * resolv/res_send.c (send_dg): Check for validity of other
18435         response if the current response is a referral.
18437 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18439         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18441 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18443         [BZ #16823]
18444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18445         Always divide by positive zero when computing -Inf result.
18446         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18447         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18449 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18451         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18452         FPSCR if value do not change.
18453         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18455         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18457         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18458         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18459         function.
18461 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18463         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18464         * sysdeps/unix/sysv/linux/hppa: Move directory from
18465         ports/systeps/unix/sysv/linux/hppa.
18466         * README: Update listing for hppa-*-linux-gnu.
18468 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18470         [BZ #16754]
18471         * manual/stdio.texi (Hook functions): Fix types of stream hook
18472         functions.
18473         [BZ #16854]
18474         * socket/sys/socket.h: Fix typo in comment.
18476 2014-04-28  Wilco  <wdijkstr@arm.com>
18478         * sysdeps/arm/fenv_private.h: New file.
18479         * sysdeps/arm/math_private.h: New file.
18480         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18482 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18484         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18485         with __int128_t.
18486         (La_x86_64_retval): Likewise.
18488 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18490         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18491         fpsr if value didn't change.
18492         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18493         to fpcr if value didn't change.
18494         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18495         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18496         fpsr or fpcr if value didn't change.
18497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18498         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18499         fpcr if value didn't change.
18500         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18501         to fpsr if value didn't change.
18503 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18505         * nptl/tst-sem3.c: Use test-skeleton.c
18506         (main): Rename to do_test.  Use return instead of
18507         exit.
18508         * nptl/tst-sem4.c: Use test-skeleton.c
18509         (main): Rename to do_test.
18511 2014-04-22  David S. Miller  <davem@davemloft.net>
18513         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18514         (struct sigaction): New struct member __glibc_reserved0, change
18515         type of sa_flags to int.
18517 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18519         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18520         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18522 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18524         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18525         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18527 2014-04-22  Will Newton  <will.newton@linaro.org>
18528             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18530         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18531         (__longjmp): Add longjmp and longjmp_target SystemTap
18532         probes.
18533         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18534         (__sigsetjmp): Add setjmp SystemTap probe.
18536 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18538         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18539         match manual order.
18541 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18543         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18545         * sysdeps/powerpc/fpu/fenv_private.h
18546         (libc_feholdexcept_setroundl_ctx): Define to
18547         libc_feholdexcept_setround_ppc_ctx.
18548         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18549         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18550         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18551         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18553 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18555         * sysdeps/aarch64/math-tests.h: New file.
18557 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18559         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18560         New.
18561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18562         Check and set bit_AVX2_Usable.
18563         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18564         macro.
18565         (bit_AVX2): Likewise.
18566         (index_AVX2_Usable): Likewise.
18567         (CPUID_AVX2): Likewise.
18568         (HAS_AVX2): Likewise.
18570 2014-04-17  Will Newton  <will.newton@linaro.org>
18572         * manual/setjmp.texi (System V contexts): Add note that
18573         calling setcontext on a context created by a call to a
18574         signal handler is undefined.  Update text to note that
18575         setcontext from a signal handler is possible but not
18576         recommended.
18578         [BZ #16629]
18579         * stdlib/tst-setcontext.c: Include signal.h.
18580         (main): Check that the signal stack before and
18581         after swapcontext is the same.
18583         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18584         Re-implement to restore registers in user code and avoid
18585         rt_sigreturn system call.
18587 2014-04-17  Wilco  <wdijkstr@arm.com>
18589         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18590         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18591         * math/test-fenv.c: Skip exception trap tests on targets which only
18592         support non-stop mode.
18594 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18595             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18597         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18598         (libc_feholdsetround_aarch64_ctx)
18599         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18600         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18601         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18602         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18603         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18604         (libc_feresetround_noexl_ctx): Define.
18606 2014-04-16  Richard Henderson  <rth@redhat.com>
18608         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18610         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18611         unwind tables.
18613         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18614         const from the non-libc, non-ldso copy.
18616         * sysdeps/alpha/libm-test-ulps: Regenerate.
18618 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18619             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18621         * sysdeps/aarch64/fpu/math_private.h: New file.
18623 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18625         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18627 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18629         [BZ #16275]
18630         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18631         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18633         Intel MPX bound registers before _dl_profile_fixup.
18634         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18635         registers after _dl_profile_fixup.  Save and restore bound
18636         registers bnd0/bnd1 when calling _dl_call_pltexit.
18637         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18638         (LR_BND_OFFSET): Likewise.
18639         (LRV_BND0_OFFSET): Likewise.
18640         (LRV_BND1_OFFSET): Likewise.
18642 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18644         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18645         to...
18646         * sysdeps/mach/hurd/i386/tls.h: ... here.
18647         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18648         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18649         fields.
18651 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18653         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18655 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18657         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18659 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18661         [BZ #14770]
18662         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18663         * sysdeps/s390/configure: Regenerate.
18665         [BZ #16824]
18666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18667         Set round-to-nearest internally to reduce error accumulation.
18669 2014-04-16  Alan Modra  <amodra@gmail.com>
18671         [BZ #16740]
18672         [BZ #16619]
18673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18674         * math/libm-test.inc (frexp_test_data): Add tests.
18675         * NEWS: Update fixed bug list.
18677 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18679         * benchtests/Makefile: Depend on libraries in build directory.
18680         (bench-math): Separate out math tests.
18681         (bench-pthread): Separate out pthread tests.
18682         (bench): Include math and pthread tests.
18684 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18686         [BZ #16831]
18687         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18688         _dl_debug_initialize.
18690         * configure.ac: Remove SELinux header check.
18691         * configure: Regenerate.
18692         * nscd/selinux.c (perms): Array of const char* to permission names.
18693         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18694         default policy. Call string_to_security_class and string_to_av_perm to
18695         translate strings. Enforce default policy and call avs_has_perm with
18696         results of translated strings.
18698 2014-04-13  David S. Miller  <davem@davemloft.net>
18700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18702 2014-04-12  Allan McRae  <allan@archlinux.org>
18704         [BZ #16838]
18705         * manual/string.texi (Collation Functions): Fix qsort argument
18706         order in example.
18707         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18709 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18711         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18712         Make the test a no-op if there are no exceptions defined.
18714 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18716         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18717         enable-hardcoded-path-in-tests
18719 2014-04-11  Will Newton  <will.newton@linaro.org>
18721         * benchtests/Makefile (extra-objs): Add json-lib.o.
18722         (bench-func): Tidy up JSON output.
18723         * benchtests/bench-skeleton.c: Include json-lib.h.
18724         (main): Use JSON library functions to do output of
18725         benchmark results.
18726         * benchtests/bench-timing-type.c (main): Output the
18727         timing type simply, leaving formatting to the user.
18728         * benchtests/json-lib.c: New file.
18729         * benchtests/json-lib.h: Likewise.
18731 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18733         [BZ #15215]
18734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18735         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18736         memory barriers.  Add comments.
18737         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18738         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18739         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18740         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18741         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18742         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18744 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18746         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18747         * sysdeps/s390/s390-64/configure.ac: ... this ...
18748         * sysdeps/s390/configure.ac: ... to here.
18749         * sysdeps/s390/s390-32/configure: Delete file.
18750         * sysdeps/s390/s390-64/configure: Delete file.
18751         * sysdeps/s390/configure: Regenerate.
18753 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18755         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18757 2014-04-11  Will Newton  <will.newton@linaro.org>
18759         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18760         to zero if it is not defined elsewhere.  (mtrim): Test
18761         the value of MALLOC_DEBUG with #if rather than #ifdef.
18763 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18765         * benchtests/pthread_once-inputs: New file.
18766         * benchtests/pthread_once-source.c: New file.
18767         * benchtests/README: Update documentation.
18769 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18770             H.J. Lu  <hongjiu.lu@intel.com>
18772         [BZ #16275]
18773         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18774         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18775         * sysdeps/x86_64/configure: Regenerated.
18776         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18777         macro.
18778         (REGISTER_SAVE_RAX): Likewise.
18779         (REGISTER_SAVE_RCX): Likewise.
18780         (REGISTER_SAVE_RDX): Likewise.
18781         (REGISTER_SAVE_RSI): Likewise.
18782         (REGISTER_SAVE_RDI): Likewise.
18783         (REGISTER_SAVE_R8): Likewise.
18784         (REGISTER_SAVE_R9): Likewise.
18785         (REGISTER_SAVE_BND0): Likewise.
18786         (REGISTER_SAVE_BND1): Likewise.
18787         (REGISTER_SAVE_BND2): Likewise.
18788         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18789         bound registers when calling _dl_fixup.
18791 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18793         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18794         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18795         of its definition.
18796         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18797         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18798         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18799         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18800         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18801         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18802         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18804 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18806         [BZ #15514]
18807         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18808         pathconf(_PC_NAME_MAX).
18810 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18812         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18813         Remove macro usage.
18814         (__PTHREAD_SPINS): Move definition to ...
18815         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18816         (__PTHREAD_SPINS): ... here.
18817         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18818         (__PTHREAD_SPIN): Likewise.
18819         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18820         (__PTHREAD_SPIN): Likewise.
18821         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18822         (__PTHREAD_SPIN): Likewise.
18823         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18824         (__PTHREAD_SPIN): Likewise.
18825         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18826         (__PTHREAD_SPIN): Likewise.
18827         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18828         (__PTHREAD_SPIN): Likewise.
18829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18830         (__PTHREAD_SPIN): Likewise.
18831         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18832         (__PTHREAD_SPIN): Likewise.
18833         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18834         (__PTHREAD_SPIN): Likewise.
18835         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18836         (__PTHREAD_SPIN): Likewise.
18837         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18838         (__PTHREAD_SPIN): Likewise.
18839         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18840         (__PTHREAD_SPIN): Likewise.
18842         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18843         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18844         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18845         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18846         imply folder.
18847         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18848         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18849         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18850         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18851         correct imply path.
18852         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18853         strlen symbol for non multi-arch builds.
18854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18855         missing hidden_def and weak_alias.
18857 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18859         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18861 2014-04-07  Will Newton  <will.newton@linaro.org>
18863         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18864         and contents.  [!_LIBC] Remove #ifndef and contents.
18865         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18866         * string/memccpy.c (__memccpy): Use ANSI prototype.
18867         * string/memfrob.c (memfrob): Likewise.
18868         * string/strcoll.c (STRCOLL): Likewise.
18869         * string/strlen.c (strlen): Likewise.
18870         * string/strtok.c (STRTOK): Likewise.
18871         * string/strcat.c: Remove unused #include of memcopy.h.
18872         (strcat): Use ANSI prototype.
18873         * string/strchr.c: Remove unused #include of memcopy.h.
18874         (strchr): Use ANSI prototype.
18875         * string/strcmp.c: Remove unused #include of memcopy.h.
18876         (strcmp): Use ANSI prototype.
18877         * string/strcpy.c: Remove unused #include of memcopy.h.
18878         (strcpy): Use ANSI prototype.
18880 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18882         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18883         * config.make.in (config-extra-cppflags): Set it from
18884         libc_extra_cppflags.
18885         * configure.ac (libc_extra_cflags): Make it accumulate over
18886         configure fragments.
18887         (libc_extra_cppflags): New flag.
18888         * configure. Regenerate.
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18890         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18891         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18894         [BZ #16815]
18895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18896         result for FE_DOWNWARD rounding mode.
18897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18898         Likewise.
18899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18901 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18903         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18904         in function argument name.
18906 2014-04-03  David Svoboda  <svoboda@cert.org>
18908         [BZ #5666]
18909         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18910         explicitly.
18912 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18914         * elf/dl-unmap-segments.h: New file.
18915         * sysdeps/generic/ldsodefs.h
18916         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18917         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18918         * elf/dl-fptr.c: Likewise.
18919         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18920         * sysdeps/aarch64/tlsdesc.c: Likewise.
18921         * sysdeps/arm/tlsdesc.c: Likewise.
18922         * sysdeps/i386/tlsdesc.c: Likewise.
18923         * sysdeps/tile/dl-runtime.c: Likewise.
18924         * sysdeps/x86_64/tlsdesc.c: Likewise.
18925         * elf/dl-load.h: New file.
18926         * elf/dl-load.c: Include it.
18927         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18928         Macros moved to dl-load.h.
18929         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18930         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18931         Use _dl_unmap_segments in place of __munmap.
18932         Break out segment-mapping loop into ...
18933         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18935 2014-04-03  Will Newton  <will.newton@linaro.org>
18937         * elf/dl-lookup.c (do_lookup_x): Remove comment
18938         referring to nested function and move variable
18939         declarations down to before first use.
18941 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18943         [BZ #16799]
18944         [BZ #16800]
18945         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18946         with 0 numerator.
18947         * math/s_catanf.c (__catanf): Likewise.
18948         * math/s_catanh.c (__catanh): Likewise.
18949         * math/s_catanhf.c (__catanhf): Likewise.
18950         * math/s_catanhl.c (__catanhl): Likewise.
18951         * math/s_catanl.c (__catanl): Likewise.
18952         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18953         by positive zero when computing -Inf result.
18954         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18955         (catanh_test): Likewise.
18956         * sysdeps/i386/fpu/libm-test-ulps: Update.
18957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18959         [BZ #16789]
18960         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18961         instead of using underflowing value in computing result.
18962         * math/s_clog10.c (__clog10): Likewise.
18963         * math/s_clog10f.c (__clog10f): Likewise.
18964         * math/s_clog10l.c (__clog10l): Likewise.
18965         * math/s_clogf.c (__clogf): Likewise.
18966         * math/s_clogl.c (__clogl): Likewise.
18967         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18968         (clog10_test): Likewise.
18969         * sysdeps/i386/fpu/libm-test-ulps: Update.
18970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18972 2014-04-02  Alan Modra  <amodra@gmail.com>
18974         [BZ #16739]
18975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18976         output when value is near a power of two.  Use int64_t for lx and
18977         remove casts.  Use decimal rather than hex exponent constants.
18978         Don't use long double multiplication when double will suffice.
18979         * math/libm-test.inc (nextafter_test_data): Add tests.
18980         * NEWS: Add 16739 and 16786 to bug list.
18982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18984         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18986 2014-04-01  Will Newton  <will.newton@linaro.org>
18988         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18989         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18991 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18993         [BZ #13347]
18994         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18995         * nptl/tst-setuid2.c: New file.
18996         * nptl/Makefile (xtests): Add tst-setuid2.
18998 2014-04-01  Alan Modra  <amodra@gmail.com>
19000         [BZ #16786]
19001         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19003 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19005         [BZ #6803]
19006         [BZ #6804]
19007         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19008         set errno as appropriate.
19009         * math/w_scalbf.c (__scalbf): Likewise.
19010         * math/w_scalbl.c (__scalbl): Likewise.
19011         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19012         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19013         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19014         Add more NaN tests.
19016         [BZ #16349]
19017         * math/w_atan2.c: Include <errno.h>.
19018         (__atan2): Set errno for result underflowing to zero.
19019         * math/w_atan2f.c: Include <errno.h>.
19020         (__atan2f): Set errno for result underflowing to zero.
19021         * math/w_atan2l.c: Include <errno.h>.
19022         (__atan2l): Set errno for result underflowing to zero.
19023         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19024         tests.
19025         * math/auto-libm-test-out: Regenerated.
19027 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19029         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19030         Encode instruction correctly in little endian.
19031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19032         Likewise.
19033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19034         Likewise.
19035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19036         Likewise.
19037         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19038         Likewise.
19040 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19042         [BZ #9894]
19043         * sysdeps/unix/sysv/linux/kernel-features.h
19044         [__sparc__ && !__arch64__ && !__sparc_v9__]
19045         (__ASSUME_SET_ROBUST_LIST): Do not define.
19046         [__sparc__ && !__arch64__ && !__sparc_v9__]
19047         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19048         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19049         Likewise.
19050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19051         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19052         (__ASSUME_REQUEUE_PI): Likewise.
19053         (__ASSUME_SET_ROBUST_LIST): Likewise.
19054         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19055         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19056         Undefine.
19057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19059         Likewise.
19060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19061         Likewise.
19062         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19063         Likewise.
19064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19065         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19066         Undefine.
19067         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19068         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19069         Likewise.
19071         [BZ #16648]
19072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19074         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19076 2014-03-31  Will Newton  <will.newton@linaro.org>
19078         * benchtests/Makefile (bench): Add ffs and ffsll to list
19079         of tests.
19080         * benchtests/ffs-inputs: New file.
19081         * benchtests/ffsll-inputs: Likewise.
19083 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19085         [BZ #16770]
19086         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19087         too large before casting to int.
19088         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19089         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19090         * math/libm-test.inc (scalb_test_data): Add more tests.
19092 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19094         * benchtests/Makefile (DETAILED_OPT): New make option.
19095         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19096         set.
19097         * benchtests/bench-skeleton.c: Include stdbool.h.
19098         (main): Store and print timings per input.
19099         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19100         member to each argument value.
19101         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19102         (_print_arg_data): Initialize per-input timing to 0.
19104         * benchtests/Makefile (timing-type): New binary.
19105         (bench-clean): Also remove bench-timing-type.
19106         (bench): New target for timing-type.
19107         (bench-func): Print output in JSON format.
19108         * benchtests/bench-skeleton.c (main): Print output in JSON
19109         format.
19110         * benchtests/bench-timing-type.c: New file.
19111         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19112         (TIMING_PRINT_STATS): Remove.
19113         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19114         name separately.
19116         * benchtests/bench-modf.c: Remove.
19117         * benchtests/modf-inputs: New inputs file.
19119 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19121         [BZ #16362]
19122         * math/s_clog10.c (M_PI_LOG10E): New macro.
19123         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19124         imaginary parts are 0.
19125         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19126         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19127         imaginary parts are 0.
19128         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19129         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19130         imaginary parts are 0.
19131         * math/libm-test.inc (clog10_test_data): Update expected results
19132         for when real and imaginary parts are 0.
19134 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19136         * elf/dl-load.c: Finish conversion of __builtin_expect into
19137         __glibc_{un}likely.
19139 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19141         [BZ #16348]
19142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19143         1+x for argument with exponent below -67.
19144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19145         Likewise.
19146         * math/auto-libm-test-in: Add more tests of exp.
19147         * math/auto-libm-test-out: Regenerated.
19149 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19151         [BZ #16759]
19152         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19153         (nscd_getnetgrent): Use it.
19155         [BZ #16760]
19156         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19157         of stpcpy.
19159 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19162         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19163         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19164         (lll_robust_unlock): Remove out of line section. Use cfi
19165         intrinsics.
19166         (LLL_STUB_UNWIND_INFO*): Remove.
19167         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19168         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19169         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19170         (lll_robust_unlock): Remove out of line section. Use cfi
19171         intrinsics.
19172         (LLL_STUB_UNWIND_INFO*): Remove.
19174 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19176         [BZ #16758]
19177         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19178         blank values.
19180 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19182         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19184 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19186         [BZ #16198]
19187         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19188         fnstenv.
19189         * math/test-fenv-preserve.c: New file.
19190         * math/Makefile (tests): Add test-fenv-preserve.
19192 2014-03-26  Will Newton <will.newton@linaro.org>
19194         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19196 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19198         * scripts/versionlist.awk: Partition the version sets and emit all
19199         GLIBC_* (sorted) before all others (sorted).
19201 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19203         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19204         GLIBC_2.2.5 version.
19206 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19208         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19209         calls.
19211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19212         previous change.
19214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19216 2014-03-25  Andreas Schwab  <schwab@suse.de>
19218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19219         label to be used after in6ailist is initialized.
19221 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19224         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19226 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #16357]
19229         [BZ #16599]
19230         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19231         min_plus_half.
19232         (fp_formats): Update initializers.
19233         (init_fp_formats): Initialize new field.
19234         (output_for_one_input_case): Allow underflow for results up to
19235         min_plus_half.
19236         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19237         * math/auto-libm-test-in: Don't mark some underflows from asin and
19238         atanh as spurious.
19239         * math/auto-libm-test-out: Regenerated.
19240         * sysdeps/i386/fpu/libm-test-ulps: Update.
19241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19243 2014-03-25  Andreas Schwab  <schwab@suse.de>
19245         * libio/Makefile (tst-ftell-partial-wide-ENV)
19246         (tst-ftell-active-handler-ENV): Define.
19248 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19250         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19252 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19254         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19256 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19258         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19259         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19260         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19262 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19264         [BZ #16634]
19265         * elf/dl-load.c (open_verify): Add mode parameter.
19266         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19267         (open_path): Change from boolean 'secure' to complete flag 'mode'
19268         (_dl_map_object): Adjust.
19269         * elf/Makefile (tests): Add tst-dlopen-aout.
19270         * elf/tst-dlopen-aout.c: New test.
19272 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19274         [BZ #16714]
19275         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19276         (struct stat): Rename member pad0 to __glibc_reserved0.
19278         [BZ #16712]
19279         * sysdeps/s390/s390-32/bits/wordsize.h
19280         (__WORDSIZE32_SIZE_ULONG): New define.
19281         * sysdeps/s390/s390-64/bits/wordsize.h
19282         (__WORDSIZE32_SIZE_ULONG): Likewise.
19283         * sysdeps/generic/stdint.h (SIZE_MAX):
19284         Define as UL if __WORDSIZE32_SIZE_ULONG.
19286         [BZ #16713]
19287         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19288         (__glibc_reserved0): New variable.
19289         (sa_flags): Change type to int.
19291         * posix/Makefile (before-compile): Use += before-compile instead
19292         of a :=.
19294         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19295         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19297 2014-03-20  Andreas Schwab  <schwab@suse.de>
19299         [BZ #16743]
19300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19301         non-matching result from nscd.
19303 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19305         * scripts/bench.py: Moved to ...
19306         * benchtests/scripts/bench.py: ... here.
19307         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19309 2014-03-24  Andreas Schwab  <schwab@suse.de>
19311         [BZ #16002]
19312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19313         alloca_account and account alloca use for struct in6ailist.
19315 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19317         [BZ #16284]
19318         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19319         rounding mode to recompute results that overflow to infinity or
19320         underflow to zero.
19321         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19322         bug 16284.
19323         * math/auto-libm-test-out: Regenerated.
19324         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19325         (ccosh_test): Likewise.
19326         (csin_test_data): Use plus_oflow.
19327         (csin_test): Use ALL_RM_TEST.
19328         (csinh_test_data): Use plus_oflow.
19329         (csinh_test): Use ALL_RM_TEST.
19330         * sysdeps/i386/fpu/libm-test-ulps: Update.
19331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19333 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19335         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19336         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19337         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19339         [BZ #16731]
19340         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19341         when x - 1 is zero.
19342         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19343         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19344         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19345         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19346         argument is 1.
19347         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19348         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19349         zero.
19350         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19351         * sysdeps/i386/fpu/libm-test-ulps: Update.
19352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19354 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19356         * scripts/bench.pl: Remove file.
19357         * scripts/bench.py: New benchmark script.
19358         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19359         * benchtests/README: Mention python dependency.
19360         * scripts/pylintrc: New file.
19361         * scripts/pylint: New file.
19363         * bits/mathdef.h: Use #ifdef instead of #if.
19364         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19365         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19366         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19367         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19368         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19369         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19371 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19372             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19374         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19376         and strpbrk-ppc64 objects.
19377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19378         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19379         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19380         multiarch strpbrk for POWER7.
19381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19382         multiarch strpbrk for PPC64.
19383         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19384         ifunc selector.
19385         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19386         strpbrk for POWER7.
19388 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19390         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19391         (atan_test): Likewise.
19392         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19393         (atanh_test): Use ALL_RM_TEST.
19394         (atan2_test_data): Likewise.
19395         (cabs_test): Likewise.
19396         (cacosh_test): Likewise.
19397         (carg_test): Likewise.
19398         (casin_test): Likewise.
19399         (casinh_test): Likewise.
19400         (cbrt_test): Likewise.
19401         (csqrt_test): Likewise.
19402         (erf_test): Likewise.
19403         (erfc_test): Likewise.
19404         (pow10_test): Likewise.
19405         (exp2_test): Likewise.
19406         (hypot_test): Likewise.
19407         (j0_test): Likewise.
19408         (j1_test): Likewise.
19409         (lgamma_test): Likewise.
19410         (gamma_test): Likewise.
19411         (sincos_test): Likewise.
19412         (tanh_test): Likewise.
19413         (y0_test): Likewise.
19414         (y1_test): Likewise.
19415         * sysdeps/i386/fpu/libm-test-ulps: Update.
19416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19418 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19420         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19422         and strcspn-ppc64 objects.
19423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19424         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19425         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19426         multiarch strcspn for POWER7.
19427         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19428         multiarch strcspn for PPC64.
19429         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19430         ifunc selector.
19431         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19432         strcspn for POWER7.
19434 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19436         * math/gen-libm-test.pl (generate_testfile): Expect only function
19437         name as argument to AUTO_TESTS_* and pass results for all rounding
19438         modes to parse_args.
19439         (parse_auto_input): Separate inputs of automatic tests from
19440         outputs before storing in %auto_tests.
19441         * math/libm-test.inc (acos_test_data): Update call to
19442         AUTO_TESTS_f_f.
19443         (acos_test): Use ALL_RM_TEST.
19444         (acos_tonearest_test_data): Remove.
19445         (acos_test_tonearest): Likewise.
19446         (acos_towardzero_test_data): Likewise.
19447         (acos_test_towardzero): Likewise.
19448         (acos_downward_test_data): Likewise.
19449         (acos_test_downward): Likewise.
19450         (acos_upward_test_data): Likewise.
19451         (acos_test_upward): Likewise.
19452         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19453         (asin_test_data): Likewise.
19454         (asin_test): Use ALL_RM_TEST.
19455         (asin_tonearest_test_data): Remove.
19456         (asin_test_tonearest): Likewise.
19457         (asin_towardzero_test_data): Likewise.
19458         (asin_test_towardzero): Likewise.
19459         (asin_downward_test_data): Likewise.
19460         (asin_test_downward): Likewise.
19461         (asin_upward_test_data): Likewise.
19462         (asin_test_upward): Likewise.
19463         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19464         (atan_test_data): Likewise.
19465         (atanh_test_data): Likewise.
19466         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19467         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19468         (carg_test_data): Likewise.
19469         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19470         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19471         (ccosh_test_data): Likewise.
19472         (cexp_test_data): Likewise.
19473         (clog_test_data): Likewise.
19474         (clog10_test_data): Likewise.
19475         (cos_test_data): Update call to AUTO_TESTS_f_f.
19476         (cos_test): Use ALL_RM_TEST.
19477         (cos_tonearest_test_data): Remove.
19478         (cos_test_tonearest): Likewise.
19479         (cos_towardzero_test_data): Likewise.
19480         (cos_test_towardzero): Likewise.
19481         (cos_downward_test_data): Likewise.
19482         (cos_test_downward): Likewise.
19483         (cos_upward_test_data): Likewise.
19484         (cos_test_upward): Likewise.
19485         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19486         (cosh_test): Use ALL_RM_TEST.
19487         (cosh_tonearest_test_data): Remove.
19488         (cosh_test_tonearest): Likewise.
19489         (cosh_towardzero_test_data): Likewise.
19490         (cosh_test_towardzero): Likewise.
19491         (cosh_downward_test_data): Likewise.
19492         (cosh_test_downward): Likewise.
19493         (cosh_upward_test_data): Likewise.
19494         (cosh_test_upward): Likewise.
19495         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19496         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19497         (ctan_test_data): Likewise.
19498         (ctan_test): Use ALL_RM_TEST.
19499         (ctan_tonearest_test_data): Remove.
19500         (ctan_test_tonearest): Likewise.
19501         (ctan_towardzero_test_data): Likewise.
19502         (ctan_test_towardzero): Likewise.
19503         (ctan_downward_test_data): Likewise.
19504         (ctan_test_downward): Likewise.
19505         (ctan_upward_test_data): Likewise.
19506         (ctan_test_upward): Likewise.
19507         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19508         (ctanh_test): Use ALL_RM_TEST.
19509         (ctanh_tonearest_test_data): Remove.
19510         (ctanh_test_tonearest): Likewise.
19511         (ctanh_towardzero_test_data): Likewise.
19512         (ctanh_test_towardzero): Likewise.
19513         (ctanh_downward_test_data): Likewise.
19514         (ctanh_test_downward): Likewise.
19515         (ctanh_upward_test_data): Likewise.
19516         (ctanh_test_upward): Likewise.
19517         (erf_test_data): Update call to AUTO_TESTS_f_f.
19518         (erfc_test_data): Likewise.
19519         (exp_test_data): Likewise.
19520         (exp_test): Use ALL_RM_TEST.
19521         (exp_tonearest_test_data): Remove.
19522         (exp_test_tonearest): Likewise.
19523         (exp_towardzero_test_data): Likewise.
19524         (exp_test_towardzero): Likewise.
19525         (exp_downward_test_data): Likewise.
19526         (exp_test_downward): Likewise.
19527         (exp_upward_test_data): Likewise.
19528         (exp_test_upward): Likewise.
19529         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19530         (exp10_test): Use ALL_RM_TEST.
19531         (exp10_tonearest_test_data): Remove.
19532         (exp10_test_tonearest): Likewise.
19533         (exp10_towardzero_test_data): Likewise.
19534         (exp10_test_towardzero): Likewise.
19535         (exp10_downward_test_data): Likewise.
19536         (exp10_test_downward): Likewise.
19537         (exp10_upward_test_data): Likewise.
19538         (exp10_test_upward): Likewise.
19539         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19540         (expm1_test_data): Likewise.
19541         (expm1_test): Use ALL_RM_TEST.
19542         (expm1_tonearest_test_data): Remove.
19543         (expm1_test_tonearest): Likewise.
19544         (expm1_towardzero_test_data): Likewise.
19545         (expm1_test_towardzero): Likewise.
19546         (expm1_downward_test_data): Likewise.
19547         (expm1_test_downward): Likewise.
19548         (expm1_upward_test_data): Likewise.
19549         (expm1_test_upward): Likewise.
19550         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19551         (fma_test): Use ALL_RM_TEST.
19552         (fma_towardzero_test_data): Remove.
19553         (fma_test_towardzero): Likewise.
19554         (fma_downward_test_data): Likewise.
19555         (fma_test_downward): Likewise.
19556         (fma_upward_test_data): Likewise.
19557         (fma_test_upward): Likewise.
19558         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19559         (j0_test_data): Update call to AUTO_TESTS_f_f.
19560         (j1_test_data): Likewise.
19561         (jn_test_data): Update call to AUTO_TESTS_if_f.
19562         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19563         (log_test_data): Update call to AUTO_TESTS_f_f.
19564         (log10_test_data): Likewise.
19565         (log1p_test_data): Likewise.
19566         (log2_test_data): Likewise.
19567         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19568         (pow_tonearest_test_data): Likewise.
19569         (sin_test_data): Update call to AUTO_TESTS_f_f.
19570         (sin_test): Use ALL_RM_TEST.
19571         (sin_tonearest_test_data): Remove.
19572         (sin_test_tonearest): Likewise.
19573         (sin_towardzero_test_data): Likewise.
19574         (sin_test_towardzero): Likewise.
19575         (sin_downward_test_data): Likewise.
19576         (sin_test_downward): Likewise.
19577         (sin_upward_test_data): Likewise.
19578         (sin_test_upward): Likewise.
19579         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19580         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19581         (sinh_test): Use ALL_RM_TEST.
19582         (sinh_tonearest_test_data): Remove.
19583         (sinh_test_tonearest): Likewise.
19584         (sinh_towardzero_test_data): Likewise.
19585         (sinh_test_towardzero): Likewise.
19586         (sinh_downward_test_data): Likewise.
19587         (sinh_test_downward): Likewise.
19588         (sinh_upward_test_data): Likewise.
19589         (sinh_test_upward): Likewise.
19590         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19591         (sqrt_test): Use ALL_RM_TEST.
19592         (sqrt_tonearest_test_data): Remove.
19593         (sqrt_test_tonearest): Likewise.
19594         (sqrt_towardzero_test_data): Likewise.
19595         (sqrt_test_towardzero): Likewise.
19596         (sqrt_downward_test_data): Likewise.
19597         (sqrt_test_downward): Likewise.
19598         (sqrt_upward_test_data): Likewise.
19599         (sqrt_test_upward): Likewise.
19600         (tan_test_data): Update call to AUTO_TESTS_f_f.
19601         (tan_test): Use ALL_RM_TEST.
19602         (tan_tonearest_test_data): Remove.
19603         (tan_test_tonearest): Likewise.
19604         (tan_towardzero_test_data): Likewise.
19605         (tan_test_towardzero): Likewise.
19606         (tan_downward_test_data): Likewise.
19607         (tan_test_downward): Likewise.
19608         (tan_upward_test_data): Likewise.
19609         (tan_test_upward): Likewise.
19610         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19611         (tgamma_test_data): Likewise.
19612         (y0_test_data): Likewise.
19613         (y1_test_data): Likewise.
19614         (yn_test_data): Update call to AUTO_TESTS_if_f.
19615         (main): Do not call removed functions.
19617 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19619         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19620         (ldexp_test_data): Remove.
19621         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19622         scalbn_test_data.
19623         (scalb_test): Use ALL_RM_TEST.
19625 2014-03-19  Andreas Schwab  <schwab@suse.de>
19627         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19629 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19631         [BZ #16649]
19632         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19636         (__ASSUME_PREADV): Undefine.
19637         (__ASSUME_PWRITEV): Likewise.
19639 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19641         * bits/mman-linux.h: Add comment about non-Linux use.
19642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19643         bits/mman-linux.h resting place.
19645         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19646         * bits/mman-linux.h: ... here.
19648 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19650         * conform/conformtest.pl: Add standard definition when calling C
19651         preprocessor on data files.
19652         (checknamespace): Remove unused variable.
19654 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19656         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19657         minus_oflow, plus_uflow and minus_uflow in expected results.
19658         * math/libm-test.inc (scalbn_test_data): Add more tests of
19659         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19660         minus_uflow.
19661         (scalbn_test): Use ALL_RM_TEST.
19662         (scalbln_test_data): Add more tests of negative arguments.  Use
19663         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19664         (scalbln_test): Use ALL_RM_TEST.
19666 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19668         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19670 2014-03-18  Will Newton  <will.newton@linaro.org>
19672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19673         inaccurate comment.
19675 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19677         * Makerules [!subdir] (check-abi): Exit with error status if a
19678         test failed.
19680 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19682         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19683         for rint.  Include results for all rounding modes.
19684         (nearbyint_test): Use ALL_RM_TEST.
19685         (rint_test_data): Include all tests used for nearbyint.
19687 2014-03-17  Will Newton  <will.newton@linaro.org>
19689         * nptl/sysdeps/pthread/pthread.h: Revert previous
19690         change.
19692         * sysdeps/generic/ldsodefs.h: Revert previous
19693         change.
19695         * libio/genops.c: Revert previous change.
19696         * libio/libioP.h: Likewise.
19697         * stdio-common/vfprintf.c: Likewise.
19699         * sysdeps/generic/math_private.h: Revert previous
19700         change.
19702         * sysdeps/generic/math_private.h: Check whether
19703         HAVE_RM_CTX is defined with #ifdef rather
19704         than #if.
19706         * argp/argp-fmtstream.h: Check whether
19707         __STRICT_ANSI__ is defined with #ifdef rather
19708         than #if.
19709         * argp/argp.h: Likewise.
19711         * libio/genops.c: Check whether
19712         _IO_JUMPS_OFFSET is defined with #ifdef rather
19713         than #if.
19714         * libio/libioP.h: Likewise.
19715         * stdio-common/vfprintf.c: Likewise.
19717         * sysdeps/generic/ldsodefs.h: Check whether
19718         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19719         than #if.
19721         * nptl/sysdeps/pthread/pthread.h: Check
19722         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19723         its value.
19725 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19727         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19728         setting O_APPEND.
19729         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19730         test case.
19732         [BZ #16680]
19733         * libio/fileops.c (_IO_file_open): Seek to end of file but
19734         don't cache the offset.
19735         (get_file_offset): Remove function.
19736         (do_ftell): Use cached offset when available.
19737         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19738         don't cache the offset.
19739         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19740         case.
19741         (do_one_test): Call it.
19742         (do_ftell_test): Fix up expected old offset for a+ mode.
19743         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19744         available.
19746         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19747         up test status with function return status.
19748         (do_write_test): Likewise.
19749         (do_append_test): Likewise.
19751         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19752         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19753         Remove.
19755 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19757         * math/gen-libm-test.pl (parse_args): Handle results specified for
19758         each rounding mode separately.
19759         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19760         tests and results from lrint_tonearest_test_data,
19761         lrint_towardzero_test_data, lrint_downward_test_data and
19762         lrint_upward_test_data.
19763         (lrint_test): Use ALL_RM_TEST.
19764         (lrint_tonearest_test_data): Remove.
19765         (lrint_test_tonearest): Likewise.
19766         (lrint_towardzero_test_data): Likewise.
19767         (lrint_test_towardzero): Likewise.
19768         (lrint_downward_test_data): Likewise.
19769         (lrint_test_downward): Likewise.
19770         (lrint_upward_test_data): Likewise.
19771         (lrint_test_upward): Likewise.
19772         (llrint_test_data): Merge in per-rounding-mode tests and results
19773         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19774         llrint_downward_test_data and llrint_upward_test_data.
19775         (llrint_test): Use ALL_RM_TEST.
19776         (llrint_tonearest_test_data): Remove.
19777         (llrint_test_tonearest): Likewise.
19778         (llrint_towardzero_test_data): Likewise.
19779         (llrint_test_towardzero): Likewise.
19780         (llrint_downward_test_data): Likewise.
19781         (llrint_test_downward): Likewise.
19782         (llrint_upward_test_data): Likewise.
19783         (llrint_test_upward): Likewise.
19784         (rint_test_data): Merge in per-rounding-mode tests and results
19785         from rint_tonearest_test_data, rint_towardzero_test_data,
19786         rint_downward_test_data and rint_upward_test_data.  Add
19787         per-rounding-mode results for tests not in those arrays.
19788         (rint_test): Use ALL_RM_TEST.
19789         (rint_tonearest_test_data): Remove.
19790         (rint_test_tonearest): Likewise.
19791         (rint_towardzero_test_data): Likewise.
19792         (rint_test_towardzero): Likewise.
19793         (rint_downward_test_data): Likewise.
19794         (rint_test_downward): Likewise.
19795         (rint_upward_test_data): Likewise.
19796         (rint_test_upward): Likewise.
19797         (main): Don't call removed functions.
19799 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19801         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19802         "Compiled on ..." crapola.  It is anti-useful.
19804 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19806         * scripts/evaluate-test.sh: Handle fourth argument to determine
19807         whether test run should stop on failure.
19808         * Makeconfig (stop-on-test-failure): New variable.
19809         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19810         $(stop-on-test-failure).
19811         * Makefile (tests): Give a summary of results from testing and
19812         exit with failure status if they include an ERROR or FAIL.
19813         (xtests): Likewise.
19814         * manual/install.texi (Configuring and compiling): Mention
19815         stop-on-test-failure=y.
19816         * INSTALL: Regenerated.
19818 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19820         * scripts/versionlist.awk: New file.
19821         * Makerules [$(build-shared) = yes]
19822         (postclean-generated): Add Versions.def, not Versions.def.v and
19823         Versions.def.v.i.
19824         ($(common-objpfx)Versions.def.v.i): Target removed.
19825         ($(common-objpfx)Versions.def): New target.
19826         ($(common-objpfx)Versions.all): Depend on that rather that
19827         $(common-objpfx)Versions.def.v.
19828         * Versions.def: File removed.
19830         * Makeconfig (+gccwarn): Add -Wundef.
19831         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19832         a dl-sysdep.h breaking its contract.
19833         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19834         * include/stackinfo.h: New file.
19835         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19836         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19837         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19838         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19839         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19840         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19841         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19842         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19843         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19844         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19845         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19846         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19847         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19848         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19849         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19851 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19853         [BZ #16707]
19854         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19855         implementation.
19856         * math/libm-test.inc (round_test_data): Add more tests.
19858         [BZ #16706]
19859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19860         implementation.
19861         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19863         [BZ #16701]
19864         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19865         implementation.
19866         * math/libm-test.inc (ceil_test_data): Add more tests.
19868         * math/libm-test.inc (trunc_test_data): Add more tests related to
19869         BZ#16414.
19871 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19873         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19874         with #if rather than #ifdef.
19875         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19877 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19879         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19880         first.  Disable AVX-512 GCC support if assembler doesn't support
19881         it.
19882         * sysdeps/x86_64/configure: Regenerated.
19884 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19886         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19887         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19888         (__old_pthread_attr_setstack): Likewise.
19889         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19890         [!_STACK_GROWS_DOWN]: Likewise.
19892 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19894         * config.make.in (have-bash2): Delete.
19895         * configure.ac (libc_cv_have_bash2): Delete.
19896         * configure: Regenerate.
19897         * elf/Makefile (common-ldd-rewrite): Rename to ...
19898         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19899         (sh-ldd-rewrite): Delete.
19900         (bash-ldd-rewrite): Delete.
19901         (have-bash2): Delete checks.
19902         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19903         ldd-rewrite.
19905         * config.make.in (have-ksh): Delete.
19906         (KSH): Delete.
19907         * configure.ac (libc_cv_have_ksh): Delete.
19908         * configure: Regenerate.
19910         * elf/Makefile: Delete $(have-ksh) check.
19911         ($(objpfx)sotruss): Change KSH to BASH.
19912         * elf/sotruss.ksh: Rename to ...
19913         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19914         function style to match POSIX.  Drop ksh vim mode setting.
19916         * manual/time.texi (Specifying the Time Zone with TZ): Change
19917         Tuesday to Thursday.
19919         * debug/tst-longjmp_chk2.c: Update header comment.
19920         (stackoverflow_handler): Add comment.  Call assert on pass value.
19922 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19924         [BZ #16194]
19925         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19926         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19927         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19928         (La_x86_64_vector): Add zmm.
19929         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19930         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19931         ($(objpfx)tst-audit10): New target.
19932         ($(objpfx)tst-audit10.out): Likewise.
19933         (tst-audit10-ENV): New.
19934         (AVX512-CFLAGS): Likewise.
19935         (CFLAGS-tst-audit10.c): Likewise.
19936         (CFLAGS-tst-auditmod10a.c): Likewise.
19937         (CFLAGS-tst-auditmod10b.c): Likewise.
19938         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19939         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19940         * sysdeps/x86_64/configure: Regenerated.
19941         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19942         AVX-512 zmm register support.
19943         (_dl_x86_64_save_sse): Likewise.
19944         (_dl_x86_64_restore_sse): Likewise.
19945         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19946         size vector registers.
19947         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19948         (ZMM_SIZE): Likewise.
19949         * sysdeps/x86_64/tst-audit10.c: New file.
19950         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19951         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19953 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19955         * configure.ac (HAVE_EHDR_START): New check.
19956         * configure: Regenerated.
19957         * config.h.in (HAVE_EHDR_START): New #undef.
19958         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19959         assuming the lowest-addressed segment maps the start of the file.
19961 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19963         * INSTALL: Regenerated.
19965 2014-03-13  Will Newton  <will.newton@linaro.org>
19967         * manual/setjmp.texi (System V contexts): Improve
19968         clarity and grammar of documentation.
19970 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19972         [BZ #16381]
19973         * elf/Makefile (tests): Add tst-pie2.
19974         (tests-pie): Add tst-pie2.
19975         * elf/tst-pie2.c: New file.
19976         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19977         for ET_EXEC.
19978         * elf/rtld.c (map_doit): Load executable as lt_executable.
19979         (dl_main): Likewise.
19981 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19983         [BZ #16642]
19984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19985         (__ASSUME_PSELECT): Undefine.
19987 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19989         [BZ #16689]
19990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19991         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19992         static build.
19993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19994         selector for static builds.
19996 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19998         [BZ #16695]
19999         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20000         key in the buffer.
20002 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20004         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20005         IFUNC selector for static builds.
20007 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20009         * sysdeps/mips/math_private.h [__mips_hard_float]
20010         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20011         libc_feresetround_mips_ctx.
20012         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20013         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20014         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20016         [BZ #16677]
20017         * math/s_nextafter.c (__nextafter): Do not return value from
20018         overflowing computation.
20019         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20020         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20021         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20022         Likewise.
20023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20024         Likewise.
20025         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20026         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20028 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20030         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20031         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20032         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20033         the new mov targetting sp.
20035 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20037         [BZ #16683]
20038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20039         Define it for static builds as well.
20040         (NO_BZERO_IMPL): Likewise.
20042 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20044         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20045         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20046         multiarch strspn for PPC64.
20047         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20048         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20050         (__libc_ifunc_impl_list): Likewise.
20051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20052         multiarch optimizations
20053         * string/strspn.c (strspn): Using macro to redefine symbol name.
20055 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20058         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20059         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20060         multiarch strncat for PPC64.
20061         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20062         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20064         (__libc_ifunc_impl_list): Likewise.
20065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20066         multiarch optimizations
20068 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20070         [BZ #16639]
20071         * nscd/nscd.service: Make service type forking.
20073 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20076         sign in non default rounding modes.
20077         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20079 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20081         * math/libm-test.inc (ALL_RM_TEST): New macro.
20082         (ceil_test): Use ALL_RM_TEST.
20083         (cimag_test): Likewise.
20084         (conj_test): Likewise.
20085         (copysign_test): Likewise.
20086         (cproj_test): Likewise.
20087         (creal_test): Likewise.
20088         (fabs_test): Likewise.
20089         (floor_test): Likewise.
20090         (fmax_test): Likewise.
20091         (fmin_test): Likewise.
20092         (fmod_test): Likewise.
20093         (fpclassify_test): Likewise.
20094         (frexp_test): Likewise.
20095         (ilogb_test): Likewise.
20096         (isfinite_test): Likewise.
20097         (finite_test): Likewise.
20098         (isgreater_test): Likewise.
20099         (isgreaterequal_test): Likewise.
20100         (isinf_test): Likewise.
20101         (isless_test): Likewise.
20102         (islessequal_test): Likewise.
20103         (islessgreater_test): Likewise.
20104         (isnan_test): Likewise.
20105         (isnormal_test): Likewise.
20106         (issignaling_test): Likewise.
20107         (isunordered_test): Likewise.
20108         (logb_test): Likewise.
20109         (logb_downward_test_data): Remove.
20110         (logb_test_downward): Likewise.
20111         (lround_test): Use ALL_RM_TEST.
20112         (llround_test): Likewise.
20113         (modf_test): Likewise.
20114         (nexttoward_test): Likewise.
20115         (remainder_test): Likewise.
20116         (drem_test): Likewise.
20117         (remainder_tonearest_test_data): Likewise.
20118         (remainder_test_tonearest): Likewise.
20119         (drem_test_tonearest): Likewise.
20120         (remainder_towardzero_test_data): Likewise.
20121         (remainder_test_towardzero): Likewise.
20122         (drem_test_towardzero): Likewise.
20123         (remainder_downward_test_data): Likewise.
20124         (remainder_test_downward): Likewise.
20125         (drem_test_downward): Likewise.
20126         (remainder_upward_test_data): Likewise.
20127         (remainder_test_upward): Likewise.
20128         (drem_test_upward): Likewise.
20129         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20130         (round_test): Use ALL_RM_TEST.
20131         (signbit_test): Likewise.
20132         (trunc_test): Likewise.
20133         (significand_test): Likewise.
20134         (main): Don't call removed functions.
20136 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20138         [BZ #16674]
20139         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20140         || __USE_XOPEN2K8].
20141         (ILL_ILLOPN): Likewise.
20142         (ILL_ILLADR): Likewise.
20143         (ILL_ILLTRP): Likewise.
20144         (ILL_PRVOPC): Likewise.
20145         (ILL_PRVREG): Likewise.
20146         (ILL_COPROC): Likewise.
20147         (ILL_BADSTK): Likewise.
20148         (FPE_INTDIV): Likewise.
20149         (FPE_INTOVF): Likewise.
20150         (FPE_FLTDIV): Likewise.
20151         (FPE_FLTOVF): Likewise.
20152         (FPE_FLTUND): Likewise.
20153         (FPE_FLTRES): Likewise.
20154         (FPE_FLTINV): Likewise.
20155         (FPE_FLTSUB): Likewise.
20156         (SEGV_MAPERR): Likewise.
20157         (SEGV_ACCERR): Likewise.
20158         (BUS_ADRALN): Likewise.
20159         (BUS_ADRERR): Likewise.
20160         (BUS_OBJERR): Likewise.
20161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20162         (TRAP_TRACE): Likewise.
20163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20164         __USE_XOPEN2K8].
20165         (CLD_KILLED): Likewise.
20166         (CLD_DUMPED): Likewise.
20167         (CLD_TRAPPED): Likewise.
20168         (CLD_STOPPED): Likewise.
20169         (CLD_CONTINUED): Likewise.
20170         (POLL_IN): Likewise.
20171         (POLL_OUT): Likewise.
20172         (POLL_MSG): Likewise.
20173         (POLL_ERR): Likewise.
20174         (POLL_PRI): Likewise.
20175         (POLL_HUP): Likewise.
20176         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20177         Likewise.
20178         (ILL_ILLOPN): Likewise.
20179         (ILL_ILLADR): Likewise.
20180         (ILL_ILLTRP): Likewise.
20181         (ILL_PRVOPC): Likewise.
20182         (ILL_PRVREG): Likewise.
20183         (ILL_COPROC): Likewise.
20184         (ILL_BADSTK): Likewise.
20185         (FPE_INTDIV): Likewise.
20186         (FPE_INTOVF): Likewise.
20187         (FPE_FLTDIV): Likewise.
20188         (FPE_FLTOVF): Likewise.
20189         (FPE_FLTUND): Likewise.
20190         (FPE_FLTRES): Likewise.
20191         (FPE_FLTINV): Likewise.
20192         (FPE_FLTSUB): Likewise.
20193         (SEGV_MAPERR): Likewise.
20194         (SEGV_ACCERR): Likewise.
20195         (BUS_ADRALN): Likewise.
20196         (BUS_ADRERR): Likewise.
20197         (BUS_OBJERR): Likewise.
20198         (BUS_MCEERR_AR): Likewise.
20199         (BUS_MCEERR_AO): Likewise.
20200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20201         (TRAP_TRACE): Likewise.
20202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20203         __USE_XOPEN2K8].
20204         (CLD_KILLED): Likewise.
20205         (CLD_DUMPED): Likewise.
20206         (CLD_TRAPPED): Likewise.
20207         (CLD_STOPPED): Likewise.
20208         (CLD_CONTINUED): Likewise.
20209         (POLL_IN): Likewise.
20210         (POLL_OUT): Likewise.
20211         (POLL_MSG): Likewise.
20212         (POLL_ERR): Likewise.
20213         (POLL_PRI): Likewise.
20214         (POLL_HUP): Likewise.
20215         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20216         (ILL_ILLOPN): Likewise.
20217         (ILL_ILLADR): Likewise.
20218         (ILL_ILLTRP): Likewise.
20219         (ILL_PRVOPC): Likewise.
20220         (ILL_PRVREG): Likewise.
20221         (ILL_COPROC): Likewise.
20222         (ILL_BADSTK): Likewise.
20223         (FPE_INTDIV): Likewise.
20224         (FPE_INTOVF): Likewise.
20225         (FPE_FLTDIV): Likewise.
20226         (FPE_FLTOVF): Likewise.
20227         (FPE_FLTUND): Likewise.
20228         (FPE_FLTRES): Likewise.
20229         (FPE_FLTINV): Likewise.
20230         (FPE_FLTSUB): Likewise.
20231         (SEGV_MAPERR): Likewise.
20232         (SEGV_ACCERR): Likewise.
20233         (BUS_ADRALN): Likewise.
20234         (BUS_ADRERR): Likewise.
20235         (BUS_OBJERR): Likewise.
20236         (BUS_MCEERR_AR): Likewise.
20237         (BUS_MCEERR_AO): Likewise.
20238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20239         (TRAP_TRACE): Likewise.
20240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20241         __USE_XOPEN2K8].
20242         (CLD_KILLED): Likewise.
20243         (CLD_DUMPED): Likewise.
20244         (CLD_TRAPPED): Likewise.
20245         (CLD_STOPPED): Likewise.
20246         (CLD_CONTINUED): Likewise.
20247         (POLL_IN): Likewise.
20248         (POLL_OUT): Likewise.
20249         (POLL_MSG): Likewise.
20250         (POLL_ERR): Likewise.
20251         (POLL_PRI): Likewise.
20252         (POLL_HUP): Likewise.
20253         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20254         Likewise.
20255         (ILL_ILLOPN): Likewise.
20256         (ILL_ILLADR): Likewise.
20257         (ILL_ILLTRP): Likewise.
20258         (ILL_PRVOPC): Likewise.
20259         (ILL_PRVREG): Likewise.
20260         (ILL_COPROC): Likewise.
20261         (ILL_BADSTK): Likewise.
20262         (ILL_BADIADDR): Likewise.
20263         (ILL_BREAK): Likewise.
20264         (FPE_INTDIV): Likewise.
20265         (FPE_INTOVF): Likewise.
20266         (FPE_FLTDIV): Likewise.
20267         (FPE_FLTOVF): Likewise.
20268         (FPE_FLTUND): Likewise.
20269         (FPE_FLTRES): Likewise.
20270         (FPE_FLTINV): Likewise.
20271         (FPE_FLTSUB): Likewise.
20272         (FPE_DECOVF): Likewise.
20273         (FPE_DECDIV): Likewise.
20274         (FPE_DECERR): Likewise.
20275         (FPE_INVASC): Likewise.
20276         (FPE_INVDEC): Likewise.
20277         (SEGV_MAPERR): Likewise.
20278         (SEGV_ACCERR): Likewise.
20279         (SEGV_PSTKOVF): Likewise.
20280         (BUS_ADRALN): Likewise.
20281         (BUS_ADRERR): Likewise.
20282         (BUS_OBJERR): Likewise.
20283         (BUS_MCEERR_AR): Likewise.
20284         (BUS_MCEERR_AO): Likewise.
20285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20286         (TRAP_TRACE): Likewise.
20287         (TRAP_BRANCH): Likewise.
20288         (TRAP_HWBKPT): Likewise.
20289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20290         __USE_XOPEN2K8].
20291         (CLD_KILLED): Likewise.
20292         (CLD_DUMPED): Likewise.
20293         (CLD_TRAPPED): Likewise.
20294         (CLD_STOPPED): Likewise.
20295         (CLD_CONTINUED): Likewise.
20296         (POLL_IN): Likewise.
20297         (POLL_OUT): Likewise.
20298         (POLL_MSG): Likewise.
20299         (POLL_ERR): Likewise.
20300         (POLL_PRI): Likewise.
20301         (POLL_HUP): Likewise.
20302         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20303         (ILL_ILLOPN): Likewise.
20304         (ILL_ILLADR): Likewise.
20305         (ILL_ILLTRP): Likewise.
20306         (ILL_PRVOPC): Likewise.
20307         (ILL_PRVREG): Likewise.
20308         (ILL_COPROC): Likewise.
20309         (ILL_BADSTK): Likewise.
20310         (FPE_INTDIV): Likewise.
20311         (FPE_INTOVF): Likewise.
20312         (FPE_FLTDIV): Likewise.
20313         (FPE_FLTOVF): Likewise.
20314         (FPE_FLTUND): Likewise.
20315         (FPE_FLTRES): Likewise.
20316         (FPE_FLTINV): Likewise.
20317         (FPE_FLTSUB): Likewise.
20318         (SEGV_MAPERR): Likewise.
20319         (SEGV_ACCERR): Likewise.
20320         (BUS_ADRALN): Likewise.
20321         (BUS_ADRERR): Likewise.
20322         (BUS_OBJERR): Likewise.
20323         (BUS_MCEERR_AR): Likewise.
20324         (BUS_MCEERR_AO): Likewise.
20325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20326         (TRAP_TRACE): Likewise.
20327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20328         __USE_XOPEN2K8].
20329         (CLD_KILLED): Likewise.
20330         (CLD_DUMPED): Likewise.
20331         (CLD_TRAPPED): Likewise.
20332         (CLD_STOPPED): Likewise.
20333         (CLD_CONTINUED): Likewise.
20334         (POLL_IN): Likewise.
20335         (POLL_OUT): Likewise.
20336         (POLL_MSG): Likewise.
20337         (POLL_ERR): Likewise.
20338         (POLL_PRI): Likewise.
20339         (POLL_HUP): Likewise.
20340         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20341         (ILL_ILLOPN): Likewise.
20342         (ILL_ILLADR): Likewise.
20343         (ILL_ILLTRP): Likewise.
20344         (ILL_PRVOPC): Likewise.
20345         (ILL_PRVREG): Likewise.
20346         (ILL_COPROC): Likewise.
20347         (ILL_BADSTK): Likewise.
20348         (FPE_INTDIV): Likewise.
20349         (FPE_INTOVF): Likewise.
20350         (FPE_FLTDIV): Likewise.
20351         (FPE_FLTOVF): Likewise.
20352         (FPE_FLTUND): Likewise.
20353         (FPE_FLTRES): Likewise.
20354         (FPE_FLTINV): Likewise.
20355         (FPE_FLTSUB): Likewise.
20356         (SEGV_MAPERR): Likewise.
20357         (SEGV_ACCERR): Likewise.
20358         (BUS_ADRALN): Likewise.
20359         (BUS_ADRERR): Likewise.
20360         (BUS_OBJERR): Likewise.
20361         (BUS_MCEERR_AR): Likewise.
20362         (BUS_MCEERR_AO): Likewise.
20363         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20364         (TRAP_TRACE): Likewise.
20365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20366         __USE_XOPEN2K8].
20367         (CLD_KILLED): Likewise.
20368         (CLD_DUMPED): Likewise.
20369         (CLD_TRAPPED): Likewise.
20370         (CLD_STOPPED): Likewise.
20371         (CLD_CONTINUED): Likewise.
20372         (POLL_IN): Likewise.
20373         (POLL_OUT): Likewise.
20374         (POLL_MSG): Likewise.
20375         (POLL_ERR): Likewise.
20376         (POLL_PRI): Likewise.
20377         (POLL_HUP): Likewise.
20378         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20379         (ILL_ILLOPN): Likewise.
20380         (ILL_ILLADR): Likewise.
20381         (ILL_ILLTRP): Likewise.
20382         (ILL_PRVOPC): Likewise.
20383         (ILL_PRVREG): Likewise.
20384         (ILL_COPROC): Likewise.
20385         (ILL_BADSTK): Likewise.
20386         (FPE_INTDIV): Likewise.
20387         (FPE_INTOVF): Likewise.
20388         (FPE_FLTDIV): Likewise.
20389         (FPE_FLTOVF): Likewise.
20390         (FPE_FLTUND): Likewise.
20391         (FPE_FLTRES): Likewise.
20392         (FPE_FLTINV): Likewise.
20393         (FPE_FLTSUB): Likewise.
20394         (SEGV_MAPERR): Likewise.
20395         (SEGV_ACCERR): Likewise.
20396         (BUS_ADRALN): Likewise.
20397         (BUS_ADRERR): Likewise.
20398         (BUS_OBJERR): Likewise.
20399         (BUS_MCEERR_AR): Likewise.
20400         (BUS_MCEERR_AO): Likewise.
20401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20402         (TRAP_TRACE): Likewise.
20403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20404         __USE_XOPEN2K8].
20405         (CLD_KILLED): Likewise.
20406         (CLD_DUMPED): Likewise.
20407         (CLD_TRAPPED): Likewise.
20408         (CLD_STOPPED): Likewise.
20409         (CLD_CONTINUED): Likewise.
20410         (POLL_IN): Likewise.
20411         (POLL_OUT): Likewise.
20412         (POLL_MSG): Likewise.
20413         (POLL_ERR): Likewise.
20414         (POLL_PRI): Likewise.
20415         (POLL_HUP): Likewise.
20416         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20417         (ILL_ILLOPN): Likewise.
20418         (ILL_ILLADR): Likewise.
20419         (ILL_ILLTRP): Likewise.
20420         (ILL_PRVOPC): Likewise.
20421         (ILL_PRVREG): Likewise.
20422         (ILL_COPROC): Likewise.
20423         (ILL_BADSTK): Likewise.
20424         (ILL_DBLFLT): Likewise.
20425         (ILL_HARDWALL): Likewise.
20426         (FPE_INTDIV): Likewise.
20427         (FPE_INTOVF): Likewise.
20428         (FPE_FLTDIV): Likewise.
20429         (FPE_FLTOVF): Likewise.
20430         (FPE_FLTUND): Likewise.
20431         (FPE_FLTRES): Likewise.
20432         (FPE_FLTINV): Likewise.
20433         (FPE_FLTSUB): Likewise.
20434         (SEGV_MAPERR): Likewise.
20435         (SEGV_ACCERR): Likewise.
20436         (BUS_ADRALN): Likewise.
20437         (BUS_ADRERR): Likewise.
20438         (BUS_OBJERR): Likewise.
20439         (BUS_MCEERR_AR): Likewise.
20440         (BUS_MCEERR_AO): Likewise.
20441         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20442         (TRAP_TRACE): Likewise.
20443         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20444         __USE_XOPEN2K8].
20445         (CLD_KILLED): Likewise.
20446         (CLD_DUMPED): Likewise.
20447         (CLD_TRAPPED): Likewise.
20448         (CLD_STOPPED): Likewise.
20449         (CLD_CONTINUED): Likewise.
20450         (POLL_IN): Likewise.
20451         (POLL_OUT): Likewise.
20452         (POLL_MSG): Likewise.
20453         (POLL_ERR): Likewise.
20454         (POLL_PRI): Likewise.
20455         (POLL_HUP): Likewise.
20456         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20457         (ILL_ILLOPN): Likewise.
20458         (ILL_ILLADR): Likewise.
20459         (ILL_ILLTRP): Likewise.
20460         (ILL_PRVOPC): Likewise.
20461         (ILL_PRVREG): Likewise.
20462         (ILL_COPROC): Likewise.
20463         (ILL_BADSTK): Likewise.
20464         (FPE_INTDIV): Likewise.
20465         (FPE_INTOVF): Likewise.
20466         (FPE_FLTDIV): Likewise.
20467         (FPE_FLTOVF): Likewise.
20468         (FPE_FLTUND): Likewise.
20469         (FPE_FLTRES): Likewise.
20470         (FPE_FLTINV): Likewise.
20471         (FPE_FLTSUB): Likewise.
20472         (SEGV_MAPERR): Likewise.
20473         (SEGV_ACCERR): Likewise.
20474         (BUS_ADRALN): Likewise.
20475         (BUS_ADRERR): Likewise.
20476         (BUS_OBJERR): Likewise.
20477         (BUS_MCEERR_AR): Likewise.
20478         (BUS_MCEERR_AO): Likewise.
20479         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20480         (TRAP_TRACE): Likewise.
20481         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20482         __USE_XOPEN2K8].
20483         (CLD_KILLED): Likewise.
20484         (CLD_DUMPED): Likewise.
20485         (CLD_TRAPPED): Likewise.
20486         (CLD_STOPPED): Likewise.
20487         (CLD_CONTINUED): Likewise.
20488         (POLL_IN): Likewise.
20489         (POLL_OUT): Likewise.
20490         (POLL_MSG): Likewise.
20491         (POLL_ERR): Likewise.
20492         (POLL_PRI): Likewise.
20493         (POLL_HUP): Likewise.
20494         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20495         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20497         [BZ #16670]
20498         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20499         before #include of <time.h>.
20500         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20501         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20502         (test-xfail-UNIX98/sched.h/conform): Likewise.
20504 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20507         error absence of trapping exception support.
20508         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20510 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20512         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20513         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20514         * timezone/Makefile (testdata): Move definition above include of
20515         Rules.
20516         (test-zones): New variable.
20517         (tests-special): Add zone files.
20518         (build-testdata): Use $(evaluate-test).
20520         * elf/Makefile (tests-special): Rename tests to end with .out.
20521         ($(objpfx)noload-mem): Likewise.
20522         ($(objpfx)tst-leaks1-mem): Likewise.
20523         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20524         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20525         $(objpfx)test-iconvconfig.out.
20526         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20527         set -e inside subshell and redirect output to file.
20528         * iconvdata/Makefile (generated): Rename tests to end with .out.
20529         Correct type.
20530         (tests-special): Rename tests to end with .out.
20531         ($(objpfx)mtrace-tst-loading): Likewise.
20532         * intl/Makefile (generated): Likewise.
20533         (tests-special): Likewise.
20534         ($(objpfx)mtrace-tst-gettext): Likewise.
20535         * misc/Makefile (generated): Likewise.
20536         (tests-special): Likewise.
20537         ($(objpfx)tst-error1-mem): Likewise.
20538         * nptl/Makefile (tests-special): Likewise.
20539         ($(objpfx)tst-stack3-mem): Likewise.
20540         (generated): Likewise.
20541         * posix/Makefile (generated): Likewise.
20542         (tests-special): Likewise.
20543         (xtests-special): Likewise.
20544         ($(objpfx)tst-fnmatch-mem): Likewise.
20545         ($(objpfx)bug-regex2-mem): Likewise.
20546         ($(objpfx)bug-regex14-mem): Likewise.
20547         ($(objpfx)bug-regex21-mem): Likewise.
20548         ($(objpfx)bug-regex31-mem): Likewise.
20549         ($(objpfx)tst-vfork3-mem): Likewise.
20550         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20551         ($(objpfx)tst-pcre-mem): Likewise.
20552         ($(objpfx)tst-boost-mem): Likewise.
20553         ($(objpfx)bug-ga2-mem): Likewise.
20554         ($(objpfx)bug-glob2-mem): Likewise.
20555         * resolv/Makefile (generate): Likewise.
20556         (tests-special): Likewise.
20557         (xtests-special): Likewise.
20558         (generated): Likewise.
20559         ($(objpfx)mtrace-tst-leaks): Likewise.
20560         ($(objpfx)mtrace-tst-leaks2): Likewise.
20562         * scripts/merge-test-results.sh: New file.
20563         * Makefile (tests-special-notdir): New variable.
20564         (tests): Run merge-test-results.sh.
20565         (xtests): Likewise.
20566         * Rules (tests-special-notdir): New variable.
20567         (xtests-special-notdir): Likewise.
20568         (tests): Run merge-test-results.sh
20569         (xtests): Likewise.
20571         * Makeconfig (test-xfail-name): New variable.
20572         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20573         compute variable name for expected failures.
20574         * conform/Makefile (conformtest-headers-data): New variable.
20575         (conformtest-standards): Likewise.
20576         (conformtest-headers-ISO): Likewise.
20577         (conformtest-headers-ISO99): Likewise.
20578         (conformtest-headers-ISO11): Likewise.
20579         (conformtest-headers-POSIX): Likewise.
20580         (conformtest-headers-XPG3): Likewise.
20581         (conformtest-headers-XPG4): Likewise.
20582         (conformtest-headers-UNIX98): Likewise.
20583         (conformtest-headers-XOPEN2K): Likewise.
20584         (conformtest-headers-POSIX2008): Likewise.
20585         (conformtest-headers-XOPEN2K8): Likewise.
20586         (conformtest-header-list-base): Likewise.
20587         (conformtest-header-list-tests): Likewise.
20588         (conformtest-header-base): Likewise.
20589         (conformtest-header-tests): Likewise.
20590         (tests-special): Add $(conformtest-header-list-tests).  If
20591         [$(fast-check) && !$(cross-compiling)], add
20592         $(conformtest-header-tests) instead of
20593         $(objpfx)run-conformtest.out.
20594         (generated): Add $(conformtest-header-list-base).  If
20595         [$(fast-check) && !$(cross-compiling)], add
20596         $(conformtest-header-base).  Remove previous setting.
20597         ($(conformtest-header-list-tests)): New target.
20598         (test-xfail-run-conformtest): Remove variable.
20599         ($(objpfx)run-conformtest.out): Remove target.
20600         (test-xfail-ISO11/complex.h/conform): New variable.
20601         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20602         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20603         (test-xfail-XPG3/varargs.h/conform): Likewise.
20604         (test-xfail-XPG4/varargs.h/conform): Likewise.
20605         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20606         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20607         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20608         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20609         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20610         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20611         (test-xfail-XPG3/ftw.h/conform): Likewise.
20612         (test-xfail-XPG3/grp.h/conform): Likewise.
20613         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20614         (test-xfail-XPG3/limits.h/conform): Likewise.
20615         (test-xfail-XPG3/pwd.h/conform): Likewise.
20616         (test-xfail-XPG3/search.h/conform): Likewise.
20617         (test-xfail-XPG3/signal.h/conform): Likewise.
20618         (test-xfail-XPG3/stdio.h/conform): Likewise.
20619         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20620         (test-xfail-XPG3/string.h/conform): Likewise.
20621         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20622         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20623         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20624         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20625         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20626         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20627         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20628         (test-xfail-XPG3/termios.h/conform): Likewise.
20629         (test-xfail-XPG3/time.h/conform): Likewise.
20630         (test-xfail-XPG3/unistd.h/conform): Likewise.
20631         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20632         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20633         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20634         (test-xfail-XPG4/netdb.h/conform): Likewise.
20635         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20636         (test-xfail-XPG4/signal.h/conform): Likewise.
20637         (test-xfail-XPG4/stdio.h/conform): Likewise.
20638         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20639         (test-xfail-XPG4/stropts.h/conform): Likewise.
20640         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20641         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20642         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20643         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20644         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20645         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20646         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20647         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20648         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20649         (test-xfail-XPG4/termios.h/conform): Likewise.
20650         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20651         (test-xfail-XPG4/unistd.h/conform): Likewise.
20652         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20653         (test-xfail-POSIX/sched.h/conform): Likewise.
20654         (test-xfail-POSIX/signal.h/conform): Likewise.
20655         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20656         (test-xfail-POSIX/tar.h/conform): Likewise.
20657         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20658         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20659         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20660         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20661         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20662         (test-xfail-UNIX98/sched.h/conform): Likewise.
20663         (test-xfail-UNIX98/signal.h/conform): Likewise.
20664         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20665         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20666         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20667         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20668         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20669         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20670         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20671         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20672         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20673         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20674         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20675         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20676         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20677         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20678         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20679         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20680         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20681         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20682         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20683         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20684         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20685         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20686         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20687         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20688         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20689         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20690         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20691         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20692         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20693         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20694         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20695         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20696         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20697         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20698         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20699         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20700         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20701         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20702         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20703         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20704         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20705         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20706         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20707         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20708         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20709         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20710         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20711         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20712         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20713         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20714         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20715         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20716         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20717         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20718         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20719         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20720         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20721         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20722         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20723         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20724         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20725         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20726         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20727         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20728         (conformtest-cc-flags): Likewise.
20729         ($(conformtest-header-tests): New target.
20730         * conform/check-header-lists.sh: New file.
20731         * conform/run-conformtest.sh: Remove.
20733         * conform/conformtest.pl: Allow ' and \ in values given for
20734         constants.
20735         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20736         inclusion.
20737         [POSIX] (sys/types.h): Likewise.
20738         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20739         inclusion.
20740         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20741         inclusion.
20742         * conform/data/signal.h-data (SIGIO): Remove expectation.
20743         [XPG3] (SIGBUS): Do not expect.
20744         [POSIX || XPG3] (SIGPOLL): Likewise.
20745         [POSIX || XPG3] (SIGPROF): Likewise.
20746         [POSIX || XPG3] (SIGSYS): Likewise.
20747         [XPG3] (SIGTRAP): Likewise.
20748         [POSIX || XPG3] (SIGURG): Likewise.
20749         [POSIX || XPG3] (SIGVTALRM): Likewise.
20750         [POSIX || XPG3] (SIGXCPU): Likewise.
20751         [POSIX || XPG3] (SIGXFSZ): Likewise.
20752         [POSIX] (SA_SIGINFO): Expect.
20753         [XPG3] (siginfo_t): Do not expect type or contents.
20754         [POSIX] (si_pid): Do not expect element.
20755         [POSIX] (si_uid): Likewise.
20756         [POSIX] (si_addr): Likewise.
20757         [POSIX] (si_status): Likewise.
20758         [POSIX] (si_band): Likewise.
20759         [XPG4] (si_value): Likewise.
20760         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20761         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20762         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20763         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20764         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20765         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20766         [POSIX || XPG3] (ILL_COPROC): Likewise.
20767         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20768         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20769         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20770         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20771         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20772         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20773         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20774         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20775         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20776         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20777         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20778         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20779         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20780         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20781         [POSIX || XPG3] (CLD_EXITED): Likewise.
20782         [POSIX || XPG3] (CLD_KILLED): Likewise.
20783         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20784         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20785         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20786         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20787         [POSIX || XPG3] (POLL_IN): Likewise.
20788         [POSIX || XPG3] (POLL_OUT): Likewise.
20789         [POSIX || XPG3] (POLL_MSG): Likewise.
20790         [POSIX || XPG3] (POLL_ERR): Likewise.
20791         [POSIX || XPG3] (POLL_PRI): Likewise.
20792         [POSIX || XPG3] (POLL_HUP): Likewise.
20793         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20794         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20795         (SIG*): Do not allow.
20796         [XPG3] (si_*): Likewise.
20797         [XPG3] (SI_*): Likewise.
20798         [XPG3 || XPG4] (sigev_*): Likewise.
20799         [XPG3 || XPG4] (SIGEV_*): Likewise.
20800         [XPG3 || XPG4] (sival_*): Likewise.
20801         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20802         [POSIX || XPG3] (BUS_*): Likewise.
20803         [POSIX || XPG3] (CLD_*): Likewise.
20804         [POSIX || XPG3] (FPE_*): Likewise.
20805         [POSIX || XPG3] (ILL_*): Likewise.
20806         [POSIX || XPG3] (POLL_*): Likewise.
20807         [POSIX || XPG3] (SEGV_*): Likewise.
20808         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20809         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20810         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20811         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20812         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20813         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20814         Specify type and value.
20815         (TVERSLEN): Likewise.
20816         (REGTYPE): Likewise.
20817         (AREGTYPE): Likewise.
20818         (LNKTYPE): Likewise.
20819         (SYMTYPE): Likewise.
20820         (CHRTYPE): Likewise.
20821         (BLKTYPE): Likewise.
20822         (DIRTYPE): Likewise.
20823         (FIFOTYPE): Likewise.
20824         (CONTTYPE): Likewise.
20825         (TSUID): Likewise.
20826         (TSGID): Likewise.
20827         (TSVTX): Likewise.
20828         (TUREAD): Likewise.
20829         (TUWRITE): Likewise.
20830         (TUEXEC): Likewise.
20831         (TGREAD): Likewise.
20832         (TGWRITE): Likewise.
20833         (TGEXEC): Likewise.
20834         (TOREAD): Likewise.
20835         (TOWRITE): Likewise.
20836         (TOEXEC): Likewise.
20837         [POSIX] (TSVTX): Expect constant.
20839 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20841         * Makefile (tests): Change dependencies to ....
20842         (tests-special): ... additions to this variable.
20843         (tests): Depend on $(tests-special).
20844         * Makerules (check-abi-list): New variable.
20845         (check-abi): Depend on $(check-abi-list).
20846         [$(subdir) = elf] (tests-special): Add
20847         $(objpfx)check-abi-libc.out.
20848         [$(build-shared) = yes && subdir] (tests-special): Add
20849         $(check-abi-list).
20850         [$(build-shared) = yes && subdir] (tests): Do not depend on
20851         check-abi.
20852         * Rules (tests): Depend on $(tests-special).
20853         (xtests): Depend on $(xtests-special).
20854         * catgets/Makefile (tests): Change dependencies to ....
20855         (tests-special): ... additions to this variable.
20856         * conform/Makefile (tests): Change dependencies to ....
20857         (tests-special): ... additions to this variable.
20858         * elf/Makefile (tests): Change dependencies to ....
20859         (tests-special): ... additions to this variable.
20860         * grp/Makefile (tests): Change dependencies to ....
20861         (tests-special): ... additions to this variable.
20862         * iconv/Makefile (xtests): Change dependencies to ....
20863         (xtests-special): ... additions to this variable.
20864         * iconvdata/Makefile (tests): Change dependencies to ....
20865         (tests-special): ... additions to this variable.
20866         * intl/Makefile (tests): Change dependencies to ....
20867         (tests-special): ... additions to this variable.  Also add
20868         $(objpfx)tst-gettext.out.
20869         * io/Makefile (tests): Change dependencies to ....
20870         (tests-special): ... additions to this variable.
20871         * libio/Makefile (tests): Change dependencies to ....
20872         (tests-special): ... additions to this variable.
20873         * malloc/Makefile (tests): Change dependencies to ....
20874         (tests-special): ... additions to this variable.
20875         * misc/Makefile (tests): Change dependencies to ....
20876         (tests-special): ... additions to this variable.
20877         * nptl/Makefile (tests): Change dependencies to ....
20878         (tests-special): ... additions to this variable.
20879         * nptl_db/Makefile (tests): Change dependencies to ....
20880         (tests-special): ... additions to this variable.
20881         * posix/Makefile (tests): Change dependencies to ....
20882         (tests-special): ... additions to this variable.
20883         (xtests): Change dependencies to ....
20884         (xtests-special): ... additions to this variable.
20885         * resolv/Makefile (tests): Change dependencies to ....
20886         (tests-special): ... additions to this variable.
20887         (xtests): Change dependencies to ....
20888         (xtests-special): ... additions to this variable.
20889         * stdio-common/Makefile (tests): Change dependencies to ....
20890         (tests-special): ... additions to this variable.
20891         (do-tst-unbputc): Remove target.
20892         (do-tst-printf): Likewise.
20893         * stdlib/Makefile (tests): Change dependencies to ....
20894         (tests-special): ... additions to this variable.
20895         * string/Makefile (tests): Change dependencies to ....
20896         (tests-special): ... additions to this variable.
20897         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20898         (tests-special): ... additions to this variable.
20900         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20901         whole file.
20902         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20903         whole file.
20904         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20905         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20907         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20908         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20909         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20910         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20911         * conform/data/libgen.h-data [XPG3]: Likewise.
20912         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20913         * conform/data/ndbm.h-data [XPG3]: Likewise.
20914         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20915         * conform/data/netdb.h-data [XPG3]: Likewise.
20916         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20917         * conform/data/poll.h-data [XPG3]: Likewise.
20918         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20919         * conform/data/strings.h-data [XPG3]: Likewise.
20920         * conform/data/stropts.h-data [XPG3]: Likewise.
20921         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20922         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20923         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20924         Likewise.
20925         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20926         * conform/data/sys/time.h-data [XPG3]: Likewise.
20927         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20928         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20929         * conform/data/sys/un.h-data [XPG3]: Likewise.
20930         * conform/data/syslog.h-data [XPG3]: Likewise.
20931         * conform/data/ucontext.h-data [XPG3]: Likewise.
20932         * conform/data/utmpx.h-data [XPG3]: Likewise.
20933         * conform/data/varargs.h-data [UNIX98]: Enable file.
20935         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20937         * math/libm-test.inc (struct test_f_f_data): Move expected results
20938         into structure for each rounding mode.
20939         (struct test_ff_f_data): Likewise.
20940         (struct test_ff_f_data_nexttoward): Likewise.
20941         (struct test_fi_f_data): Likewise.
20942         (struct test_fl_f_data): Likewise.
20943         (struct test_if_f_data): Likewise.
20944         (struct test_fff_f_data): Likewise.
20945         (struct test_c_f_data): Likewise.
20946         (struct test_f_f1_data): Likewise.
20947         (struct test_fF_f1_data): Likewise.
20948         (struct test_ffI_f1_data): Likewise.
20949         (struct test_c_c_data): Likewise.
20950         (struct test_cc_c_data): Likewise.
20951         (struct test_f_i_data): Likewise.
20952         (struct test_ff_i_data): Likewise.
20953         (struct test_f_l_data): Likewise.
20954         (struct test_f_L_data): Likewise.
20955         (struct test_fFF_11_data): Likewise.
20956         (RM_): New macro.
20957         (RM_FE_DOWNWARD): Likewise.
20958         (RM_FE_TONEAREST): Likewise.
20959         (RM_FE_TOWARDZERO): Likewise.
20960         (RM_FE_UPWARD): Likewise.
20961         (RUN_TEST_LOOP_f_f): Update references to expected results.
20962         (RUN_TEST_LOOP_2_f): Likewise.
20963         (RUN_TEST_LOOP_fff_f): Likewise.
20964         (RUN_TEST_LOOP_c_f): Likewise.
20965         (RUN_TEST_LOOP_f_f1): Likewise.
20966         (RUN_TEST_LOOP_fF_f1): Likewise.
20967         (RUN_TEST_LOOP_fI_f1): Likewise.
20968         (RUN_TEST_LOOP_ffI_f1): Likewise.
20969         (RUN_TEST_LOOP_c_c): Likewise.
20970         (RUN_TEST_LOOP_cc_c): Likewise.
20971         (RUN_TEST_LOOP_f_i): Likewise.
20972         (RUN_TEST_LOOP_f_i_tg): Likewise.
20973         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20974         (RUN_TEST_LOOP_f_b): Likewise.
20975         (RUN_TEST_LOOP_f_b_tg): Likewise.
20976         (RUN_TEST_LOOP_f_l): Likewise.
20977         (RUN_TEST_LOOP_f_L): Likewise.
20978         (RUN_TEST_LOOP_fFF_11): Likewise.
20979         * math/gen-libm-test.pl (parse_args): Output four copies of
20980         expected results for each test.
20982         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20983         (__ASSUME_UTIMES): Remove.
20984         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20985         (__ASSUME_UTIMES): Likewise.
20987         * math/gen-auto-libm-tests.c: Update comment on output format.
20988         (output_for_one_input_case): Generate before-rounding and
20989         after-rounding information as conditions on output flags not
20990         floating-point format.
20991         * math/auto-libm-test-out: Regenerated.
20992         * math/gen-libm-test.pl (cond_value): New function.
20993         (or_cond_value): Use cond_value.
20994         (generate_testfile): Handle conditional exceptions.
20996 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20998         * math/libm-test.inc (max_valid_error): New variable.
20999         (init_max_error): Take new argument specifying whether function
21000         results are exactly determined.  Set max_valid_error and bound
21001         other variables for errors based on this argument.
21002         (set_max_error): Do not record results above max_valid_error.
21003         (check_float_internal): Only accept errors of up to 0.5ulps if
21004         also at most max_valid_error.
21005         (START): Take new argument EXACT and pass it to init_max_error.
21006         (acos_test): Update call to START.
21007         (acos_test_tonearest): Likewise.
21008         (acos_test_towardzero): Likewise.
21009         (acos_test_downward): Likewise.
21010         (acos_test_upward): Likewise.
21011         (acosh_test): Likewise.
21012         (asin_test): Likewise.
21013         (asin_test_tonearest): Likewise.
21014         (asin_test_towardzero): Likewise.
21015         (asin_test_downward): Likewise.
21016         (asin_test_upward): Likewise.
21017         (asinh_test): Likewise.
21018         (atan_test): Likewise.
21019         (atanh_test): Likewise.
21020         (atan2_test): Likewise.
21021         (cabs_test): Likewise.
21022         (cacos_test): Likewise.
21023         (cacosh_test): Likewise.
21024         (carg_test): Likewise.
21025         (casin_test): Likewise.
21026         (casinh_test): Likewise.
21027         (catan_test): Likewise.
21028         (catanh_test): Likewise.
21029         (cbrt_test): Likewise.
21030         (ccos_test): Likewise.
21031         (ccosh_test): Likewise.
21032         (ceil_test): Likewise.
21033         (cexp_test): Likewise.
21034         (cimag_test): Likewise.
21035         (clog_test): Likewise.
21036         (clog10_test): Likewise.
21037         (conj_test): Likewise.
21038         (copysign_test): Likewise.
21039         (cos_test): Likewise.
21040         (cos_test_tonearest): Likewise.
21041         (cos_test_towardzero): Likewise.
21042         (cos_test_downward): Likewise.
21043         (cos_test_upward): Likewise.
21044         (cosh_test): Likewise.
21045         (cosh_test_tonearest): Likewise.
21046         (cosh_test_towardzero): Likewise.
21047         (cosh_test_downward): Likewise.
21048         (cosh_test_upward): Likewise.
21049         (cpow_test): Likewise.
21050         (cproj_test): Likewise.
21051         (creal_test): Likewise.
21052         (csin_test): Likewise.
21053         (csinh_test): Likewise.
21054         (csqrt_test): Likewise.
21055         (ctan_test): Likewise.
21056         (ctan_test_tonearest): Likewise.
21057         (ctan_test_towardzero): Likewise.
21058         (ctan_test_downward): Likewise.
21059         (ctan_test_upward): Likewise.
21060         (ctanh_test): Likewise.
21061         (ctanh_test_tonearest): Likewise.
21062         (ctanh_test_towardzero): Likewise.
21063         (ctanh_test_downward): Likewise.
21064         (ctanh_test_upward): Likewise.
21065         (erf_test): Likewise.
21066         (erfc_test): Likewise.
21067         (exp_test): Likewise.
21068         (exp_test_tonearest): Likewise.
21069         (exp_test_towardzero): Likewise.
21070         (exp_test_downward): Likewise.
21071         (exp_test_upward): Likewise.
21072         (exp10_test): Likewise.
21073         (exp10_test_tonearest): Likewise.
21074         (exp10_test_towardzero): Likewise.
21075         (exp10_test_downward): Likewise.
21076         (exp10_test_upward): Likewise.
21077         (pow10_test): Likewise.
21078         (exp2_test): Likewise.
21079         (expm1_test): Likewise.
21080         (expm1_test_tonearest): Likewise.
21081         (expm1_test_towardzero): Likewise.
21082         (expm1_test_downward): Likewise.
21083         (expm1_test_upward): Likewise.
21084         (fabs_test): Likewise.
21085         (fdim_test): Likewise.
21086         (floor_test): Likewise.
21087         (fma_test): Likewise.
21088         (fma_test_towardzero): Likewise.
21089         (fma_test_downward): Likewise.
21090         (fma_test_upward): Likewise.
21091         (fmax_test): Likewise.
21092         (fmin_test): Likewise.
21093         (fmod_test): Likewise.
21094         (fpclassify_test): Likewise.
21095         (frexp_test): Likewise.
21096         (hypot_test): Likewise.
21097         (ilogb_test): Likewise.
21098         (isfinite_test): Likewise.
21099         (finite_test): Likewise.
21100         (isgreater_test): Likewise.
21101         (isgreaterequal_test): Likewise.
21102         (isinf_test): Likewise.
21103         (isless_test): Likewise.
21104         (islessequal_test): Likewise.
21105         (islessgreater_test): Likewise.
21106         (isnan_test): Likewise.
21107         (isnormal_test): Likewise.
21108         (issignaling_test): Likewise.
21109         (isunordered_test): Likewise.
21110         (j0_test): Likewise.
21111         (j1_test): Likewise.
21112         (jn_test): Likewise.
21113         (ldexp_test): Likewise.
21114         (lgamma_test): Likewise.
21115         (gamma_test): Likewise.
21116         (lrint_test): Likewise.
21117         (lrint_test_tonearest): Likewise.
21118         (lrint_test_towardzero): Likewise.
21119         (lrint_test_downward): Likewise.
21120         (lrint_test_upward): Likewise.
21121         (llrint_test): Likewise.
21122         (llrint_test_tonearest): Likewise.
21123         (llrint_test_towardzero): Likewise.
21124         (llrint_test_downward): Likewise.
21125         (llrint_test_upward): Likewise.
21126         (log_test): Likewise.
21127         (log10_test): Likewise.
21128         (log1p_test): Likewise.
21129         (log2_test): Likewise.
21130         (logb_test): Likewise.
21131         (logb_test_downward): Likewise.
21132         (lround_test): Likewise.
21133         (llround_test): Likewise.
21134         (modf_test): Likewise.
21135         (nearbyint_test): Likewise.
21136         (nextafter_test): Likewise.
21137         (nexttoward_test): Likewise.
21138         (pow_test): Likewise.
21139         (pow_test_tonearest): Likewise.
21140         (pow_test_towardzero): Likewise.
21141         (pow_test_downward): Likewise.
21142         (pow_test_upward): Likewise.
21143         (remainder_test): Likewise.
21144         (drem_test): Likewise.
21145         (remainder_test_tonearest): Likewise.
21146         (drem_test_tonearest): Likewise.
21147         (remainder_test_towardzero): Likewise.
21148         (drem_test_towardzero): Likewise.
21149         (remainder_test_downward): Likewise.
21150         (drem_test_downward): Likewise.
21151         (remainder_test_upward): Likewise.
21152         (drem_test_upward): Likewise.
21153         (remquo_test): Likewise.
21154         (rint_test): Likewise.
21155         (rint_test_tonearest): Likewise.
21156         (rint_test_towardzero): Likewise.
21157         (rint_test_downward): Likewise.
21158         (rint_test_upward): Likewise.
21159         (round_test): Likewise.
21160         (scalb_test): Likewise.
21161         (scalbn_test): Likewise.
21162         (scalbln_test): Likewise.
21163         (signbit_test): Likewise.
21164         (sin_test): Likewise.
21165         (sin_test_tonearest): Likewise.
21166         (sin_test_towardzero): Likewise.
21167         (sin_test_downward): Likewise.
21168         (sin_test_upward): Likewise.
21169         (sincos_test): Likewise.
21170         (sinh_test): Likewise.
21171         (sinh_test_tonearest): Likewise.
21172         (sinh_test_towardzero): Likewise.
21173         (sinh_test_downward): Likewise.
21174         (sinh_test_upward): Likewise.
21175         (sqrt_test): Likewise.
21176         (sqrt_test_tonearest): Likewise.
21177         (sqrt_test_towardzero): Likewise.
21178         (sqrt_test_downward): Likewise.
21179         (sqrt_test_upward): Likewise.
21180         (tan_test): Likewise.
21181         (tan_test_tonearest): Likewise.
21182         (tan_test_towardzero): Likewise.
21183         (tan_test_downward): Likewise.
21184         (tan_test_upward): Likewise.
21185         (tanh_test): Likewise.
21186         (tgamma_test): Likewise.
21187         (trunc_test): Likewise.
21188         (y0_test): Likewise.
21189         (y1_test): Likewise.
21190         (yn_test): Likewise.
21191         (significand_test): Likewise.
21193         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21194         individual tests in comment.
21195         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21196         (prev_max_error): New variable.
21197         (prev_real_max_error): Likewise.
21198         (prev_imag_max_error): Likewise.
21199         (compare_ulp_data): Don't refer to test names in comment.
21200         (find_test_ulps): Remove function.
21201         (find_function_ulps): Likewise.
21202         (find_complex_function_ulps): Likewise.
21203         (init_max_error): Take function name as argument.  Look up ulps
21204         for that function.
21205         (print_ulps): Remove function.
21206         (print_max_error): Use prev_max_error instead of calling
21207         find_function_ulps.
21208         (print_complex_max_error): Use prev_real_max_error and
21209         prev_imag_max_error instead of calling find_complex_function_ulps.
21210         (check_float_internal): Take max_ulp parameter instead of calling
21211         find_test_ulps.  Don't call print_ulps.
21212         (check_float): Update call to check_float_internal.
21213         (check_complex): Update calls to check_float_internal.
21214         (START): Pass argument to init_max_error.
21215         * math/gen-libm-test.pl (%results): Don't include "kind"
21216         information.
21217         (parse_ulps): Don't handle ulps of individual tests.
21218         (print_ulps_file): Likewise.
21219         (output_ulps): Likewise.
21220         * math/README.libm-test: Update.
21221         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21222         individual tests.
21223         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21224         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21225         * sysdeps/arm/libm-test-ulps: Likewise.
21226         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21227         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21228         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21229         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21230         * sysdeps/microblaze/libm-test-ulps: Likewise.
21231         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21232         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21234         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21236         * sysdeps/sh/libm-test-ulps: Likewise.
21237         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21238         * sysdeps/tile/libm-test-ulps: Likewise.
21239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21241 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21243         * math/libm-test.inc (print_complex_max_error): Check separately
21244         whether real and imaginary errors are within allowed range and
21245         pass 0 to print_complex_function_ulps instead of value within
21246         allowed range.
21248 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21250         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21251         formatting.
21252         (get_handles_fopen): Likewise.
21253         (do_write_test): Likewise.
21255         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21257         * libio/fileops.c (do_ftell): Use cached offset when
21258         available.
21259         * libio/iofwide.c (do_ftell_wide): Likewise.
21260         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21261         _IO_file_attach.
21262         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21264         [BZ #16532]
21265         * libio/libioP.h (get_file_offset): New function.
21266         * libio/fileops.c (get_file_offset): Likewise.
21267         (do_ftell): Likewise.
21268         (_IO_new_file_seekoff): Split out ftell logic.
21269         * libio/wfileops.c (do_ftell_wide): Likewise.
21270         (_IO_wfile_seekoff): Split out ftell logic.
21271         * libio/tst-ftell-active-handler.c: New test case.
21272         * libio/Makefile (tests): Add it.
21274 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21276         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21277         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21279 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         [BZ #16639]
21282         * nscd/connections.c (nscd_init): Call do_exit.
21283         (start_threads): Call do_exit and notify_parent.
21284         (begin_drop_privileges): Call do_exit.
21285         (finish_drop_privileges): Likewise.
21286         * nscd/selinux.c (preserve_capabilities): Likewise.
21287         (install_real_capabilities): Likewise.
21288         (nscd_selinux_enabled): Likewise.
21289         (avc_create_thread): Likewise.
21290         (avc_alloc_lock): Likewise.
21291         (nscd_avc_init): Likewise.
21292         * nscd/nscd.c (parent_fd): New static variable.
21293         (main): Create a pipe between parent and child processes.
21294         Skip closing parent_fd.
21295         (monitor_child): New function.
21296         (do_exit): Likewise.
21297         (notify_parent): Likewise.
21298         * nscd/nscd.h (notify_parent): Likewise.
21299         (do_exit): Likewise.
21301 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21303         * malloc/malloc.c (__libc_calloc): Revert last change.
21305 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21309 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21311         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21313         implementation.
21314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21315         (__libc_ifunc_impl_list): Likewise.
21316         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21317         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21319         * string/strrchr.c: Define STRRCHR.
21321 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21323         * benchtest/bench-strtok.c (simple_strtok): Delete.
21324         (strtok_string): Use as benchmark.
21325         * string/strtok (STRTOK): New macro.
21327 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21329         * manual/threads.texi: Add header and standard comments to all
21330         functions.
21332         * elf/dl-lookup.c (check_match): New function.
21333         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21334         (do_lookup_x): Remove nested function check_match. Use non-nested
21335         function check_match.
21337 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21339         * csu/Makefile (generated, before-compile): Use += rather than =.
21340         * catgets/Makefile (generated, generated-dirs): Likewise.
21341         * debug/Makefile (generated): Likewise.
21342         * dlfcn/Makefile (generated): Likewise.
21343         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21344         * iconvdata/Makefile (before-compile, generated): Likewise.
21345         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21346         * libio/Makefile (generated): Likewise.
21347         * malloc/Makefile (generated): Likewise.
21348         * manual/Makefile (generated, generated-dirs): Likewise.
21349         * misc/Makefile (generated): Likewise.
21350         * posix/Makefile (generated): Likewise.
21351         * resolv/Makefile (generated): Likewise.
21352         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21353         * timezone/Makefile (generated, generated-dirs): Likewise.
21355         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21357 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21360         power8 implementation.
21361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21362         file: POWER8 llround ifunc implementation.
21363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21364         (__lllround): Add POWER8 implementation.
21365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21366         POWER8 llround implementation.
21368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21369         power8 implementation.
21370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21371         file: POWER8 llrint ifunc implementation.
21372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21373         Add POWER8 implementation.
21374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21375         POWER8 llrint implementation.
21377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21378         power8 implementation.
21379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21380         file: POWER8 finite ifunc implementation.
21381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21382         Add POWER8 implementation.
21383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21384         Likewise.
21385         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21386         POWER8 finite implementation.
21387         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21390         power8 implementation.
21391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21392         file: POWER8 isinf ifunc implementation.
21393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21394         POWER8 implementation.
21395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21396         Likewise.
21397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21398         isinf implementation.
21399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21401         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21402         (INIT_ARCH): Add hwcap2 initialization.
21403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21404         power8 implementation.
21405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21406         file: POWER8 isnan ifunc implementation.
21407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21408         POWER8 implementation.
21409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21410         Likewise.
21411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21412         isnan implementation.
21413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21415 2014-02-27  Joey Ye  <joey.ye@arm.com>
21417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21418         (_FP_NANFRAC_Q): Set to zero.
21420 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21422         [BZ #16623]
21423         * math/auto-libm-test-in: New test inputs.
21424         * math/auto-libm-test-out: Regenerate.
21425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21426         and DA.
21427         (__cos): Likewise.
21428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21430 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21432         * scripts/evaluate-test.sh: Take new argument indicating whether
21433         failure is expected.
21434         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21435         indicating whether failure is expected.
21436         * conform/Makefile (test-xfail-run-conformtest): New variable.
21437         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21438         level.
21439         * posix/Makefile (test-xfail-annexc): New variable.
21440         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21442 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21444         * argp/Makefile: Include Makeconfig immediately after defining
21445         subdir.
21446         * assert/Makefile: Likewise.
21447         * benchtests/Makefile: Likewise.
21448         * catgets/Makefile: Likewise.
21449         * conform/Makefile: Likewise.
21450         * crypt/Makefile: Likewise.
21451         * csu/Makefile: Likewise.
21452         (all): Remove target.
21453         * ctype/Makefile: Include Makeconfig immediately after defining
21454         subdir.
21455         * debug/Makefile: Likewise.
21456         * dirent/Makefile: Likewise.
21457         * dlfcn/Makefile: Likewise.
21458         * gmon/Makefile: Likewise.
21459         * gnulib/Makefile: Likewise.
21460         * grp/Makefile: Likewise.
21461         * gshadow/Makefile: Likewise.
21462         * hesiod/Makefile: Likewise.
21463         * hurd/Makefile: Likewise.
21464         (all): Remove target.
21465         * iconvdata/Makefile: Include Makeconfig immediately after
21466         defining subdir.
21467         * inet/Makefile: Likewise.
21468         * intl/Makefile: Likewise.
21469         * io/Makefile: Likewise.
21470         * libio/Makefile: Likewise.
21471         (all): Remove target.
21472         * locale/Makefile: Include Makeconfig immediately after defining
21473         subdir.
21474         * login/Makefile: Likewise.
21475         * mach/Makefile: Likewise.
21476         (all): Remove target.
21477         * malloc/Makefile: Include Makeconfig immediately after defining
21478         subdir.
21479         (all): Remove target.
21480         * manual/Makefile: Include Makeconfig immediately after defining
21481         subdir.
21482         * math/Makefile: Likewise.
21483         * misc/Makefile: Likewise.
21484         * nis/Makefile: Likewise.
21485         * nss/Makefile: Likewise.
21486         * po/Makefile: Likewise.
21487         (all): Remove target.
21488         * posix/Makefile: Include Makeconfig immediately after defining
21489         subdir.
21490         * pwd/Makefile: Likewise.
21491         * resolv/Makefile: Likewise.
21492         * resource/Makefile: Likewise.
21493         * rt/Makefile: Likewise.
21494         * setjmp/Makefile: Likewise.
21495         * shadow/Makefile: Likewise.
21496         * signal/Makefile: Likewise.
21497         * socket/Makefile: Likewise.
21498         * soft-fp/Makefile: Likewise.
21499         * stdio-common/Makefile: Likewise.
21500         * stdlib/Makefile: Likewise.
21501         * streams/Makefile: Likewise.
21502         * string/Makefile: Likewise.
21503         * sunrpc/Makefile: Likewise.
21504         (all): Remove target.
21505         * sysvipc/Makefile: Include Makeconfig immediately after defining
21506         subdir.
21507         * termios/Makefile: Likewise.
21508         * time/Makefile: Likewise.
21509         * timezone/Makefile: Likewise.
21510         (all): Remove target.
21511         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21512         subdir.
21513         * wctype/Makefile: Likewise.
21515 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21517         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21518         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21519         (libc_feholdexcept_setround_mips): Ditto.
21520         (libc_feholdsetround): New.
21521         (libc_feholdsetroundf): New.
21522         (libc_feholdsetroundl): New.
21523         (libc_feupdateenv_test_mips): New.
21524         (libc_feupdateenv_test): New.
21525         (libc_feupdateenv_testf): New.
21526         (libc_feupdateenv_testl): New.
21527         (libc_feresetround): New.
21528         (libc_feresetroundf): New.
21529         (libc_feresetroundl): New.
21530         (libc_fetestexcept_mips): New.
21531         (libc_fetestexcept): New.
21532         (libc_fetestexceptf): New.
21533         (libc_fetestexceptl): New.
21534         (HAVE_RM_CTX): New.
21535         (libc_feholdexcept_setround_mips_ctx): New.
21536         (libc_feholdexcept_setround_ctx): New.
21537         (libc_feholdexcept_setroundf_ctx): New.
21538         (libc_feholdexcept_setroundl_ctx): New.
21539         (libc_fesetenv_mips_ctx): New.
21540         (libc_fesetenv_ctx): New.
21541         (libc_fesetenv_ctxf): New.
21542         (libc_fesetenv_ctxl): New.
21543         (libc_feupdateenv_mips_ctx): New.
21544         (libc_feupdateenv_ctx): New.
21545         (libc_feupdateenvf_ctx): New.
21546         (libc_feupdateenvl_ctx): New.
21547         (libc_feholdsetround_mips_ctx): New.
21548         (libc_feholdsetround_ctx): New.
21549         (libc_feholdsetroundf_ctx): New.
21550         (libc_feholdsetroundl_ctx): New.
21551         (libc_feresetround_mips_ctx): New.
21552         (libc_feresetround_ctx): New.
21553         (libc_feresetroundf_ctx): New.
21554         (libc_feresetroundl_ctx): New.
21556 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21558         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21560         * manual/ipc.texi: New file.
21561         * manual/Makefile (chapters): Add ipc.
21562         * manual/job.texi: Add "Inter-Process Communication" to next.
21563         * manual/process.texi: Add "Inter-Process Communication" to prev.
21565 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21569 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21571         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21573         * manual/arith.texi: Fix spaces after sentences.
21574         * manual/charset.texi: Likewise.
21575         * manual/errno.texi: Likewise.
21576         * manual/install.texi: Likewise.
21577         * manual/llio.texi: Likewise.
21578         * manual/locale.texi: Likewise.
21579         * manual/maint.texi: Likewise.
21580         * manual/math.texi: Likewise.
21581         * manual/memory.texi: Likewise.
21582         * manual/message.texi: Likewise.
21583         * manual/probes.texi: Likewise.
21584         * manual/resource.texi: Likewise.
21585         * manual/signal.texi: Likewise.
21586         * manual/socket.texi: Likewise.
21587         * manual/stdio.texi: Likewise.
21588         * manual/string.texi: Likewise.
21589         * manual/time.texi: Likewise.
21590         * manual/users.texi: Likewise.
21592 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21594         [BZ #16632]
21595         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21596         _DEFAULT_SOURCE is defined.
21598 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21599             Carlos O'Donell  <carlos@redhat.com>
21601         [BZ #16613]
21602         * elf/dl-tls.c (_dl_count_modids): New function.
21603         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21604         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21605         audit library and increment generation counter.
21606         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21607         * elf/tst-audit9.c: New file.
21608         * elf/tst-auditmod9a.c: New file.
21609         * elf/tst-auditmod9b.c: New file.
21610         * elf/Makefile: Add rules to build and run tst-audit9.
21612 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21614         [BZ #15347]
21615         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21617 2014-02-25  Will Newton  <will.newton@linaro.org>
21619         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21620         (__longjmp): Restore sp and lr before restoring callee
21621         saved registers.  Add longjmp and longjmp_target
21622         SystemTap probe point.
21623         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21624         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21625         Define to zero to match jmpbuf layout.
21626         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21627         (__sigsetjmp): Save sp and lr before saving callee
21628         saved registers.  Add setjmp SystemTap probe point.
21630 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21634 2014-02-24  Andreas Schwab  <schwab@suse.de>
21636         [BZ #15804]
21637         * elf/pldd.c (wait_for_ptrace_stop): New function.
21638         (main): Call it after attaching.
21640 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21642         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21643         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21644         Versions files is now verboten.
21645         * hurd/Versions (libc: GLIBC_2.0):
21646         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21647         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21648         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21649         * mach/Versions: Likewise.
21651         * csu/Versions: Remove unused %include.
21652         * resolv/Versions: Likewise.
21654 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21656         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21657         ($(objpfx)check-local-headers.out): Likewise.
21658         ($(objpfx)begin-end-check.out): Likewise.
21659         * Makerules (check-abi-%.out): Likewise.
21660         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21661         ($(objpfx)test2.cat): Likewise.
21662         ($(objpfx)de/libc.cat): Likewise.
21663         ($(objpfx)test-gencat.out): Likewise.
21664         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21665         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21666         ($(objpfx)noload-mem): Likewise.
21667         ($(objpfx)tst-pathopt.out): Likewise.
21668         ($(objpfx)tst-rtld-load-self.out): Likewise.
21669         ($(objpfx)tst-array1-cmp.out): Likewise.
21670         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21671         ($(objpfx)tst-array2-cmp.out): Likewise.
21672         ($(objpfx)tst-array3-cmp.out): Likewise.
21673         ($(objpfx)tst-array4-cmp.out): Likewise.
21674         ($(objpfx)tst-array5-cmp.out): Likewise.
21675         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21676         ($(objpfx)check-textrel.out): Likewise.
21677         ($(objpfx)check-execstack.out): Likewise.
21678         ($(objpfx)check-localplt.out): Likewise.
21679         ($(objpfx)order2-cmp.out): Likewise.
21680         ($(objpfx)tst-leaks1-mem): Likewise.
21681         ($(objpfx)tst-leaks1-static-mem): Likewise.
21682         ($(objpfx)tst-initorder-cmp.out): Likewise.
21683         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21684         ($(objpfx)tst-unused-dep.out): Likewise.
21685         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21686         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21687         * iconv/Makefile (test-iconvconfig): Likewise.
21688         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21689         ($(objpfx)iconv-test.out): Likewise.
21690         ($(objpfx)tst-tables.out): Likewise.
21691         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21692         ($(objpfx)tst-gettext.out): Likewise.
21693         ($(objpfx)tst-translit.out): Likewise.
21694         ($(objpfx)tst-gettext2.out): Likewise.
21695         ($(objpfx)tst-gettext4.out): Likewise.
21696         ($(objpfx)tst-gettext6.out): Likewise.
21697         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21698         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21699         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21700         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21701         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21702         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21703         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21704         ($(objpfx)wordexp-tst.out): Likewise.
21705         ($(objpfx)annexc.out): Likewise.
21706         ($(objpfx)tst-fnmatch-mem): Likewise.
21707         ($(objpfx)bug-regex2-mem): Likewise.
21708         ($(objpfx)bug-regex14-mem): Likewise.
21709         ($(objpfx)bug-regex21-mem): Likewise.
21710         ($(objpfx)bug-regex31-mem): Likewise.
21711         ($(objpfx)tst-vfork3-mem): Likewise.
21712         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21713         ($(objpfx)tst-pcre-mem): Likewise.
21714         ($(objpfx)tst-boost-mem): Likewise.
21715         ($(objpfx)tst-getconf.out): Likewise.
21716         ($(objpfx)bug-ga2-mem): Likewise.
21717         ($(objpfx)bug-glob2-mem): Likewise.
21718         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21719         ($(objpfx)mtrace-tst-leaks2): Likewise.
21720         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21721         ($(objpfx)tst-printf.out): Likewise.
21722         ($(objpfx)tst-setvbuf1.out): Likewise.
21723         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21724         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21725         ($(objpfx)tst-fmtmsg.out): Likewise.
21726         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21727         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21729         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21730         * bits/sigaction.h [__USE_MISC]: Likewise.
21731         * bits/waitstatus.h: Update #endif comments.
21732         * ctype/ctype.h: Likewise.
21733         * dirent/dirent.h: Likewise.
21734         [__USE_MISC]: Remove redundant conditionals.
21735         * grp/grp.h: Update #endif comments.
21736         [__USE_GNU]: Remove redundant conditionals.
21737         [__USE_MISC]: Likewise.
21738         * inet/netinet/in.h [__USE_GNU]: Likewise.
21739         * io/sys/stat.h [__USE_MISC]: Likewise.
21740         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21741         * libio/bits/stdio.h: Update #endif comments.
21742         [__USE_MISC]: Remove redundant conditionals.
21743         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21744         * libio/stdio.h: Update #endif comments.
21745         [__USE_MISC]: Remove redundant conditionals.
21746         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21747         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21748         * math/math.h: Update #else and #endif comments.
21749         [__USE_MISC]: Remove redundant conditionals.
21750         * misc/sys/uio.h: Update #endif comments.
21751         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21752         * posix/glob.h [__USE_MISC]: Likewise.
21753         * posix/sys/types.h: Update #endif comments.
21754         [__USE_MISC]: Remove redundant conditionals.
21755         * posix/sys/wait.h: Update #endif comments.
21756         [__USE_MISC]: Remove redundant conditionals.
21757         * posix/unistd.h: Update #endif comments.
21758         [__USE_MISC]: Remove redundant conditionals.
21759         * pwd/pwd.h [__USE_GNU]: Likewise.
21760         [__USE_MISC]: Likewise.
21761         * resolv/netdb.h [__USE_GNU]: Likewise.
21762         * signal/signal.h: Update #endif comments.
21763         [__USE_MISC]: Remove redundant conditionals.
21764         * stdlib/stdlib.h: Update #else and #endif comments.
21765         [__USE_MISC]: Remove redundant conditionals.
21766         [__USE_GNU]: Likewise.
21767         * string/bits/string2.h [__USE_MISC]: Likewise.
21768         * string/string.h: Update #endif comments.
21769         [__USE_MISC]: Remove redundant conditionals.
21770         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21771         Likewise.
21772         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21773         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21774         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21775         Likewise.
21776         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21777         Likewise.
21778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21779         comments.
21780         [__USE_MISC]: Remove redundant conditionals.
21781         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21782         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21783         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21784         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21785         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21786         Likewise.
21787         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21788         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21789         Likewise.
21790         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21791         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21792         Likewise.
21793         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21794         Likewise.
21795         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21797         Likewise.
21798         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21799         Likewise.
21800         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21801         * sysdeps/x86/bits/string.h: Update #endif comments.
21802         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21803         conditionals.
21804         * time/sys/time.h: Update #endif comments.
21805         * time/time.h: Likewise.
21806         [__USE_MISC]: Remove redundant conditionals.
21808 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21810         [BZ #16600]
21811         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21813 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21815         * Versions.def (librt): Add GLIBC_2.17.
21817 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21819         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21820         synonym for _SYS_AUXV_H to allow direct inclusion.
21821         * sysdeps/sparc/bits/hwcap.h: Likewise.
21822         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21823         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21824         * sysdeps/sparc/sysdep.h: Likewise.
21826 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21828         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21830 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21832         * benchtests/bench-strrchr.c: Print length instead of position.
21834 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21836         [BZ #16611]
21837         * sysdeps/unix/sysv/linux/kernel-features.h
21838         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21839         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21840         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21841         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21842         Likewise.
21843         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21844         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21845         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21846         (__ASSUME_SENDMMSG): Define instead of using previous
21847         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21848         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21849         (__ASSUME_SENDMMSG_SYSCALL): Define.
21850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21851         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21852         Likewise.
21853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21854         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21855         Likewise.
21856         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21857         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21858         Likewise.
21859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21860         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21861         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21862         [__ASSUME_SENDMMSG]: Change conditionals to
21863         [__ASSUME_SENDMMSG_SOCKETCALL].
21864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21865         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21866         Define.
21867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21868         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21869         Likewise.
21870         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21871         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21872         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21873         [!__ASSUME_SENDMMSG]: Change conditional to
21874         [!__ASSUME_SENDMMSG_SOCKETCALL].
21875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21877         Define.
21879         [BZ #16610]
21880         * sysdeps/unix/sysv/linux/kernel-features.h
21881         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21882         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21883         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21884         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21885         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21886         [__i386__ || __sparc__]
21887         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21888         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21889         (__ASSUME_RECVMMSG): Define instead of using previous
21890         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21891         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21892         (__ASSUME_RECVMMSG_SYSCALL): Define.
21893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21894         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21895         Likewise.
21896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21898         Likewise.
21899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21901         Likewise.
21902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21903         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21904         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21905         [__ASSUME_RECVMMSG]: Change condition to
21906         [__ASSUME_RECVMMSG_SOCKETCALL].
21907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21909         Define.
21910         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21912         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21913         Likewise.
21914         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21915         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21916         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21917         [!__ASSUME_RECVMMSG]: Change condition to
21918         [!__ASSUME_RECVMMSG_SOCKETCALL].
21919         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21920         (__ASSUME_RECVMMSG_SYSCALL): Define.
21922         [BZ #16609]
21923         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21924         __powerpc__ || __s390__ || __sh__ || __sparc__]
21925         (__ASSUME_SOCKETCALL): Define.
21926         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21927         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21928         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21929         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21930         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21931         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21932         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21933         (__ASSUME_ACCEPT4): Define instead of using previous
21934         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21935         __powerpc__ || __sparc__ || __s390__)] condition.
21936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21937         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21938         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21939         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21940         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21941         [!__ASSUME_ACCEPT4]: Change condition to
21942         [!__ASSUME_ACCEPT4_SOCKETCALL].
21943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21945         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21947         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21948         __ASSUME_ACCEPT4_SYSCALL.
21949         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21950         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21952         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21953         __ASSUME_ACCEPT4_SYSCALL.
21954         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21955         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21956         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21957         [__ASSUME_ACCEPT4]: Change condition to
21958         [__ASSUME_ACCEPT4_SOCKETCALL].
21959         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21960         (__ASSUME_SOCKETCALL): Define.
21961         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21963         (__ASSUME_SOCKETCALL): Define.
21964         (__ASSUME_ACCEPT4): Remove.
21965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21966         Define.
21967         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21968         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21969         Likewise.
21970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21971         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21973         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21974         macro.
21975         (HWCAP_ARM_LPAE): Likewise.
21976         (HWCAP_ARM_EVTSTRM): Likewise.
21977         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21978         Add vpfd32, lpae and evtstrm.
21979         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21980         Increase to 22.
21982 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21984         * math/auto-libm-test-in: Add tests of clog10.
21985         * math/auto-libm-test-out: Regenerated.
21986         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21987         * sysdeps/i386/fpu/libm-test-ulps: Update.
21988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21990 2014-02-18  Andreas Schwab  <schwab@suse.de>
21992         [BZ #16574]
21993         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21994         Store non-zero if the second buffer was newly allocated.
21995         (send_dg): Likewise.
21996         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21997         to send_vc and send_dg.
21998         (res_nsend): Pass NULL for ansp2_malloced.
21999         * resolv/res_query.c (__libc_res_nquery): Add parameter
22000         answerp2_malloced and pass it down to __libc_res_nsend.
22001         (res_nquery): Pass additional NULL to __libc_res_nquery.
22002         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22003         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22004         second answer buffer if answerp2_malloced was set.
22005         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22006         (__libc_res_nquerydomain): Add parameter
22007         answerp2_malloced and pass it down to __libc_res_nquery.
22008         (res_nquerydomain): Pass additional NULL to
22009         __libc_res_nquerydomain.
22010         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22011         additional NULL to __libc_res_nsend and __libc_res_nquery.
22012         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22013         additional NULL to __libc_res_nsearch.
22014         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22015         parameter of __libc_res_nsearch to check for separately allocated
22016         second buffer.
22017         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22018         __libc_res_nquery.
22019         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22020         additional NULL to __libc_res_nquery.
22021         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22022         __libc_res_nsearch.
22023         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22024         * include/resolv.h: Update prototypes of __libc_res_nquery,
22025         __libc_res_nsearch, __libc_res_nsend.
22027 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22029         * math/auto-libm-test-in: Add tests of fma.
22030         * math/auto-libm-test-out: Regenerated.
22031         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22032         (fma_towardzero_test_data): Likewise.
22033         (fma_downward_test_data): Likewise.
22034         (fma_upward_test_data): Likewise.
22035         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22036         mpc_mode.
22037         (rounding_modes): Add values for new field.
22038         (func_calc_method): Add value mpfr_fff_f.
22039         (func_calc_desc): Add mpfr_fff_f union field.
22040         (test_function): Add field exact_args.
22041         (FUNC): Add macro argument EXACT_ARGS.
22042         (FUNC_mpfr_f_f): Update call to FUNC.
22043         (FUNC_mpfr_f_f): Likewise.
22044         (FUNC_mpfr_ff_f): Likewise.
22045         (FUNC_mpfr_if_f): Likewise.
22046         (FUNC_mpc_c_f): Likewise.
22047         (FUNC_mpc_c_c): Likewise.
22048         (test_functions): Add fma.  Update calls to FUNC.
22049         (handle_input_arg): Add argument exact_args.
22050         (add_test): Update call to handle_input_arg.
22051         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22052         (output_for_one_input_case): Update call to calc_generic_results.
22053         Recalculate exact zero results in each rounding mode.
22055         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22056         non-negative before setting low bit.
22057         * math/auto-libm-test-in: Mark one asin test possibly having
22058         spurious underflow.
22059         * math/auto-libm-test-out: Regenerated.
22060         * sysdeps/i386/fpu/libm-test-ulps: Update.
22061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22063 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22065         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22066         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22067         ports/sysdeps/unix/sysv/linux/microblaze.
22068         * README: Add missing listing for microblaze*-*-linux-gnu.
22070 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22072         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22073         duplicate code
22075 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22077         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22078         * sysdeps/unix/sysv/linux/ia64: Move directory from
22079         ports/sysdeps/unix/sysv/linux/ia64.
22080         * README: Update listing for ia64-*-linux-gnu.
22082 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22083             Joseph Myers  <joseph@codesourcery.com>
22085         * Makeconfig (test-name): New variable.
22086         (evaluate-test): Likewise.
22087         * Makerules (do-test-clean): Remove .test-result files.
22088         (common-mostlyclean): Likewise.
22089         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22090         * scripts/evaluate-test.sh: New file.
22092 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22094         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22095         separate $(objpfx)tst-fopenloc-cmp.out and
22096         $(objpfx)tst-fopenloc-mem.out targets.
22097         (tests): Update dependencies.
22098         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22099         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22100         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22101         (tst-rxspencer-no-utf8-ARGS): New variable.
22102         (tst-rxspencer-no-utf8-ENV): Likewise.
22103         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22104         instead of $(objpfx)tst-rxspencer-mem.
22105         ($(objpfx)tst-rxspencer-mem): Change target to
22106         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22107         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22108         * posix/tst-rxspencer-no-utf8.c: New file.
22110         * elf/Makefile ($(objpfx)order.out): Remove rule.
22111         [$(run-built-tests) = yes] (tests): Depend on
22112         $(objpfx)order-cmp.out.
22113         ($(objpfx)order-cmp.out): New rule.
22114         [$(run-built-tests) = yes] (tests): Depend on
22115         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22116         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22117         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22118         $(objpfx)tst-array5-static-cmp.out.
22119         ($(objpfx)tst-array1.out): Remove rule.
22120         ($(objpfx)tst-array1-cmp.out): New rule.
22121         ($(objpfx)tst-array1-static.out): Remove rule.
22122         ($(objpfx)tst-array1-static-cmp.out): New rule.
22123         ($(objpfx)tst-array2.out): Remove rule.
22124         ($(objpfx)tst-array2-cmp.out): New rule.
22125         ($(objpfx)tst-array3.out): Remove rule.
22126         ($(objpfx)tst-array3-cmp.out): New rule.
22127         ($(objpfx)tst-array4.out): Remove rule.
22128         ($(objpfx)tst-array4-cmp.out): New rule.
22129         ($(objpfx)tst-array5.out): Remove rule.
22130         ($(objpfx)tst-array5-cmp.out): New rule.
22131         ($(objpfx)tst-array5-static.out): Remove rule.
22132         ($(objpfx)tst-array5-static-cmp.out): New rule.
22133         [$(run-built-tests) = yes] (tests): Depend on
22134         $(objpfx)order2-cmp.out.
22135         ($(objpfx)order2.out): Remove rule.
22136         ($(objpfx)order2-cmp.out): New rule.
22137         ($(objpfx)tst-initorder.out): Remove rule.
22138         [$(run-built-tests) = yes] (tests): Depend on
22139         $(objpfx)tst-initorder-cmp.out.
22140         ($(objpfx)tst-initorder-cmp.out): New rule.
22141         ($(objpfx)tst-initorder2.out): Remove rule.
22142         [$(run-built-tests) = yes] (tests): Depend on
22143         $(objpfx)tst-initorder2-cmp.out.
22144         ($(objpfx)tst-initorder2-cmp.out): New rule.
22145         [$(run-built-tests) = yes] (tests): Depend on
22146         $(objpfx)tst-unused-dep-cmp.out.
22147         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22148         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22149         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22150         on $(objpfx)tst-setvbuf1-cmp.out.
22151         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22152         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22153         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22154         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22155         ($(objpfx)tst-svc.out): Remove rule.
22156         ($(objpfx)tst-svc-cmp.out): New rule.
22158 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22160         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22161         * ctype/ctype.h [__USE_MISC]: Likewise.
22162         * dirent/dirent.h [__USE_MISC]: Likewise.
22163         * grp/grp.h [__USE_MISC]: Likewise.
22164         * io/fcntl.h [__USE_MISC]: Likewise.
22165         * io/sys/stat.h [__USE_MISC]: Likewise.
22166         * libio/stdio.h [__USE_MISC]: Likewise.
22167         * posix/unistd.h [__USE_MISC]: Likewise.
22168         * pwd/pwd.h [__USE_MISC]: Likewise.
22169         * stdlib.h [__USE_MISC]: Likewise.
22170         * string/bits/string2.h [__USE_MISC]: Likewise.
22171         * string/string.h [__USE_MISC]: Likewise.
22172         * time/time.h [__USE_MISC]: Likewise.
22174 2014-02-13  Andreas Schwab  <schwab@suse.de>
22176         [BZ #16574]
22177         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22178         second answer buffer if it was separately allocated.
22180 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22182         * sysdeps/mips/math-tests.h: Include <features.h>.
22183         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22184         (ROUNDING_TESTS_long_double): Do not define.
22185         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22186         (EXCEPTION_TESTS_long_double): Likewise.
22187         * sysdeps/mips/mips64/libm-test-ulps: Update.
22189         * include/features.h (__USE_BSD): Remove macro definitions.
22190         (__USE_SVID): Likewise.
22191         (_BSD_SOURCE): Likewise.
22192         (_SVID_SOURCE): Likewise.
22193         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22194         from definition of _DEFAULT_SOURCE.
22195         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22196         [_DEFAULT_SOURCE].
22197         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22198         * bits/mman.h [__USE_BSD]: Likewise.
22199         * bits/termios.h [__USE_BSD]: Likewise.
22200         * bits/waitstatus.h [__USE_BSD]: Likewise.
22201         * ctype/ctype.h [__USE_SVID]: Likewise.
22202         * dirent/dirent.h [__USE_BSD]: Likewise.
22203         * grp/grp.h [__USE_SVID]: Likewise.
22204         [__USE_BSD]: Likewise.
22205         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22206         * io/fcntl.h [__USE_BSD]: Likewise.
22207         * io/ftw.h [__USE_BSD]: Likewise.
22208         * io/sys/stat.h [__USE_BSD]: Likewise.
22209         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22210         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22211         * libio/stdio.h [__USE_SVID]: Likewise.
22212         [__USE_BSD]: Likewise.
22213         * math/math.h [__USE_SVID]: Likewise.
22214         [__USE_BSD]: Likewise.
22215         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22216         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22217         * misc/search.h [__USE_SVID]: Likewise.
22218         * misc/sys/mman.h [__USE_BSD]: Likewise.
22219         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22220         * misc/sys/uio.h [__USE_BSD]: Likewise.
22221         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22222         * posix/glob.h [__USE_BSD]: Likewise.
22223         * posix/regex.h [__USE_BSD]: Likewise.
22224         * posix/sys/types.h [__USE_BSD]: Likewise.
22225         [__USE_SVID]: Likewise.
22226         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22227         * posix/sys/wait.h [__USE_BSD]: Likewise.
22228         [__USE_SVID]: Likewise.
22229         * posix/unistd.h [__USE_BSD]: Likewise.
22230         [__USE_SVID]: Likewise.
22231         * pwd/pwd.h [__USE_SVID]: Likewise.
22232         * resolv/netdb.h [__USE_BSD]: Likewise.
22233         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22234         * signal/signal.h [__USE_BSD]: Likewise.
22235         [__USE_SVID]: Likewise.
22236         * socket/sys/socket.h [__USE_BSD]: Likewise.
22237         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22238         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22239         [__USE_SVID]: Likewise.
22240         * string/bits/string2.h [__USE_BSD]: Likewise.
22241         [__USE_SVID]: Likewise.
22242         * string/bits/string3.h [__USE_BSD]: Likewise.
22243         * string/endian.h [__USE_BSD]: Likewise.
22244         * string/string.h [__USE_SVID]: Likewise.
22245         [__USE_BSD]: Likewise.
22246         * string/strings.h [__USE_BSD]: Likewise.
22247         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22248         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22249         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22250         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22251         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22252         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22253         Likewise.
22254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22255         Likewise.
22256         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22257         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22258         Likewise.
22259         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22260         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22261         Likewise.
22262         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22263         Likewise.
22264         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22265         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22266         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22267         Likewise.
22268         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22269         Likewise.
22270         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22271         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22272         * termios/termios.h [__USE_BSD]: Likewise.
22273         * time/sys/time.h [__USE_BSD]: Likewise.
22274         * time/time.h [__USE_BSD]: Likewise.
22275         [__USE_SVID]: Likewise.
22277         * Makefile (subdir_targets): Remove subdir_lint.out.
22279         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22280         (do-tst-printf): Likewise.
22281         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22282         $(objpfx)tst-printf.out.
22284         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22286         * Makerules (check-abi-%): Change target to
22287         $(objpfx)check-abi-%.out.
22288         (check-abi target): Update dependencies.
22289         (check-abi-pattern variable): Redirect output of diff to $@.
22290         (check-abi variable): Likewise.
22291         * elf/Makefile (check-abi): Update dependencies.
22293         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22294         unused.
22295         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22296         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22297         subnormal range.
22298         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22299         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22300         value has largest subnormal exponent.
22301         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22302         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22303         * sysdeps/aarch64/soft-fp/sfp-machine.h
22304         (_FP_TININESS_AFTER_ROUNDING): New macro.
22305         * sysdeps/alpha/soft-fp/sfp-machine.h
22306         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22307         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22308         Likewise.
22309         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22310         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22311         * sysdeps/mips/soft-fp/sfp-machine.h
22312         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22313         * sysdeps/powerpc/soft-fp/sfp-machine.h
22314         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22315         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22316         Likewise.
22317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22318         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22321         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22322         Likewise.
22324 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22326         [BZ #16545]
22327         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22328         model 1.
22330 2014-02-12  Richard Henderson  <rth@redhat.com>
22332         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22333         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22334         * sysdeps/unix/sysv/linux/alpha: Move directory from
22335         ports/sysdeps/unix/sysv/linux/alpha.
22336         * README: Update listing for alpha-*-linux-gnu.
22338 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22340         * include/features.h: Update comment documenting feature test
22341         macros.
22342         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22343         _DEFAULT_SOURCE.
22344         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22345         (_SVID_SOURCE): Likewise.
22346         (_DEFAULT_SOURCE): Update description of default features.
22347         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22348         with _GNU_SOURCE.
22349         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22350         (S_ISVTX): Likewise.
22351         * manual/math.texi (Mathematical Constants): Likewise.
22352         * manual/signal.texi (Interrupted Primitives): Likewise.
22353         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22354         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22355         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22356         Don't refer to _SVID_SOURCE in warning text.
22358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22360         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22361         already defined.
22362         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22363         * sysdeps/mips/dl-lookup.c: Remove.
22364         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22366 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22368         [BZ #16447]
22369         * math/auto-libm-test-in: Add testcase for expl.
22370         * math/auto-libm-test-out: Regenerate.
22371         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22372         calculation of unsafe.
22373         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22375 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22377         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22378         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22379         ports/sysdeps/unix/sysv/linux/aarch64.
22380         * README: Update listing for aarch64*-*-linux-gnu.
22382 2014-02-11  Will Newton  <will.newton@linaro.org>
22384         * manual/probes.texi (Mathematical Function Probes): Use
22385         "triggered" instead of "hit".
22387         * manual/probes.texi (Internal Probes): Add documentation
22388         of setjmp, longjmp and longjmp_target probes.
22390         * include/stap-probe.h: Add comment about probe argument
22391         format.
22393         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22394         definition.  (tr_where, tr_freehook, tr_mallochook,
22395         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22397 2014-02-11  David S. Miller  <davem@davemloft.net>
22399         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22400         processing int_tests.
22402 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22404         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22405         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22406         * sysdeps/unix/sysv/linux/mips: Move directory from
22407         ports/sysdeps/unix/sysv/linux/mips.
22408         * README: Update listing for mips-*-linux-gnu and
22409         mips64-*-linux-gnu.
22411 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22413         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22414         * sysdeps/unix/sysv/linux/m68k: Move directory from
22415         ports/sysdeps/unix/sysv/linux/m68k.
22416         * README: Update listing for m68k-*-linux-gnu.
22418 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22420         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22421         * sysdeps/unix/sysv/linux/generic: Move directory from
22422         ports/sysdeps/unix/sysv/linux/generic.
22423         * sysdeps/unix/sysv/linux/tile: Move directory from
22424         ports/sysdeps/unix/sysv/linux/tile.
22425         * README: Update listing for tile*-*-linux-gnu.
22427 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22429         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22430         __builtin_expect.
22431         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22432         * catgets/open_catalog.c (__open_catalog): Likewise.
22433         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22434         * debug/confstr_chk.c: Likewise.
22435         * debug/fread_chk.c (__fread_chk): Likewise.
22436         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22437         * debug/getgroups_chk.c: Likewise.
22438         * debug/mbsnrtowcs_chk.c: Likewise.
22439         * debug/mbsrtowcs_chk.c: Likewise.
22440         * debug/mbstowcs_chk.c: Likewise.
22441         * debug/memcpy_chk.c: Likewise.
22442         * debug/memmove_chk.c: Likewise.
22443         * debug/mempcpy_chk.c: Likewise.
22444         * debug/memset_chk.c: Likewise.
22445         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22446         * debug/strcat_chk.c (__strcat_chk): Likewise.
22447         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22448         * debug/strncat_chk.c (__strncat_chk): Likewise.
22449         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22450         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22451         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22452         * debug/wcpncpy_chk.c: Likewise.
22453         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22454         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22455         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22456         * debug/wcsncpy_chk.c: Likewise.
22457         * debug/wcsnrtombs_chk.c: Likewise.
22458         * debug/wcsrtombs_chk.c: Likewise.
22459         * debug/wcstombs_chk.c: Likewise.
22460         * debug/wmemcpy_chk.c: Likewise.
22461         * debug/wmemmove_chk.c: Likewise.
22462         * debug/wmempcpy_chk.c: Likewise.
22463         * debug/wmemset_chk.c: Likewise.
22464         * dirent/scandirat.c (SCANDIRAT): Likewise.
22465         * dlfcn/dladdr1.c (dladdr1): Likewise.
22466         * dlfcn/dladdr.c (dladdr): Likewise.
22467         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22468         * dlfcn/dlerror.c (__dlerror): Likewise.
22469         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22470         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22471         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22472         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22473         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22474         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22475         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22476         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22477         Likewise.
22478         * elf/dl-conflict.c: Likewise.
22479         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22480         * elf/dl-dst.h: Likewise.
22481         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22482         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22483         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22484         * elf/dl-init.c (call_init, _dl_init): Likewise.
22485         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22486         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22487         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22488         Likewise.
22489         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22490         Likewise.
22491         * elf/dl-minimal.c (__libc_memalign): Likewise.
22492         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22493         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22494         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22495         * elf/dl-sym.c (do_sym): Likewise.
22496         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22497         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22498         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22499         * elf/dl-writev.h (_dl_writev): Likewise.
22500         * elf/ldconfig.c (search_dir): Likewise.
22501         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22502         (dl_main): Likewise.
22503         * elf/setup-vdso.h (setup_vdso): Likewise.
22504         * grp/compat-initgroups.c (compat_call): Likewise.
22505         * grp/fgetgrent.c (fgetgrent): Likewise.
22506         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22507         * grp/putgrent.c (putgrent): Likewise.
22508         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22509         Likewise.
22510         * hurd/hurdinit.c: Likewise.
22511         * iconvdata/8bit-gap.c (struct): Likewise.
22512         * iconvdata/ansi_x3.110.c : Likewise.
22513         * iconvdata/big5.c : Likewise.
22514         * iconvdata/big5hkscs.c : Likewise.
22515         * iconvdata/cp1255.c: Likewise.
22516         * iconvdata/cp1258.c : Likewise.
22517         * iconvdata/cp932.c : Likewise.
22518         * iconvdata/euc-cn.c: Likewise.
22519         * iconvdata/euc-jisx0213.c : Likewise.
22520         * iconvdata/euc-jp.c: Likewise.
22521         * iconvdata/euc-jp-ms.c : Likewise.
22522         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22523         * iconvdata/gb18030.c : Likewise.
22524         * iconvdata/gbbig5.c (const): Likewise.
22525         * iconvdata/gbgbk.c: Likewise.
22526         * iconvdata/gbk.c : Likewise.
22527         * iconvdata/ibm1364.c : Likewise.
22528         * iconvdata/ibm930.c : Likewise.
22529         * iconvdata/ibm932.c: Likewise.
22530         * iconvdata/ibm933.c : Likewise.
22531         * iconvdata/ibm935.c : Likewise.
22532         * iconvdata/ibm937.c : Likewise.
22533         * iconvdata/ibm939.c : Likewise.
22534         * iconvdata/ibm943.c: Likewise.
22535         * iconvdata/iso_11548-1.c: Likewise.
22536         * iconvdata/iso-2022-cn.c : Likewise.
22537         * iconvdata/iso-2022-cn-ext.c : Likewise.
22538         * iconvdata/iso-2022-jp-3.c: Likewise.
22539         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22540         * iconvdata/iso-2022-kr.c : Likewise.
22541         * iconvdata/iso646.c (gconv_end): Likewise.
22542         * iconvdata/iso_6937-2.c : Likewise.
22543         * iconvdata/iso_6937.c : Likewise.
22544         * iconvdata/iso8859-1.c: Likewise.
22545         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22546         * iconvdata/shift_jisx0213.c : Likewise.
22547         * iconvdata/sjis.c : Likewise.
22548         * iconvdata/t.61.c : Likewise.
22549         * iconvdata/tcvn5712-1.c : Likewise.
22550         * iconvdata/tscii.c: Likewise.
22551         * iconvdata/uhc.c : Likewise.
22552         * iconvdata/unicode.c (gconv_end): Likewise.
22553         * iconvdata/utf-16.c (gconv_end): Likewise.
22554         * iconvdata/utf-32.c (gconv_end): Likewise.
22555         * iconvdata/utf-7.c (base64): Likewise.
22556         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22557         * iconv/gconv_close.c (__gconv_close): Likewise.
22558         * iconv/gconv_open.c (__gconv_open): Likewise.
22559         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22560         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22561         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22562         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22563         (ucs4le_internal_loop_single): Likewise.
22564         * iconv/iconv.c (iconv): Likewise.
22565         * iconv/iconv_close.c: Likewise.
22566         * iconv/loop.c (SINGLE): Likewise.
22567         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22568         * include/atomic.h: Likewise.
22569         * inet/inet6_option.c (option_alloc): Likewise.
22570         * intl/bindtextdom.c (set_binding_values): Likewise.
22571         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22572         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22573         * intl/localealias.c (read_alias_file): Likewise.
22574         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22575         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22576         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22577         * libio/fmemopen.c (fmemopen): Likewise.
22578         * libio/iofgets.c (_IO_fgets): Likewise.
22579         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22580         * libio/iofgetws.c (fgetws): Likewise.
22581         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22582         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22583         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22584         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22585         * locale/findlocale.c (_nl_find_locale): Likewise.
22586         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22587         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22588         Likewise.
22589         * locale/setlocale.c (setlocale): Likewise.
22590         * login/programs/pt_chown.c (main): Likewise.
22591         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22592         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22593         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22594         (mmap, mmap64, mremap, munmap): Likewise.
22595         * math/e_exp2l.c: Likewise.
22596         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22597         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22598         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22599         * math/s_catan.c (__catan): Likewise.
22600         * math/s_catanf.c (__catanf): Likewise.
22601         * math/s_catanh.c (__catanh): Likewise.
22602         * math/s_catanhf.c (__catanhf): Likewise.
22603         * math/s_catanhl.c (__catanhl): Likewise.
22604         * math/s_catanl.c (__catanl): Likewise.
22605         * math/s_ccosh.c (__ccosh): Likewise.
22606         * math/s_ccoshf.c (__ccoshf): Likewise.
22607         * math/s_ccoshl.c (__ccoshl): Likewise.
22608         * math/s_cexp.c (__cexp): Likewise.
22609         * math/s_cexpf.c (__cexpf): Likewise.
22610         * math/s_cexpl.c (__cexpl): Likewise.
22611         * math/s_clog10.c (__clog10): Likewise.
22612         * math/s_clog10f.c (__clog10f): Likewise.
22613         * math/s_clog10l.c (__clog10l): Likewise.
22614         * math/s_clog.c (__clog): Likewise.
22615         * math/s_clogf.c (__clogf): Likewise.
22616         * math/s_clogl.c (__clogl): Likewise.
22617         * math/s_csin.c (__csin): Likewise.
22618         * math/s_csinf.c (__csinf): Likewise.
22619         * math/s_csinh.c (__csinh): Likewise.
22620         * math/s_csinhf.c (__csinhf): Likewise.
22621         * math/s_csinhl.c (__csinhl): Likewise.
22622         * math/s_csinl.c (__csinl): Likewise.
22623         * math/s_csqrt.c (__csqrt): Likewise.
22624         * math/s_csqrtf.c (__csqrtf): Likewise.
22625         * math/s_csqrtl.c (__csqrtl): Likewise.
22626         * math/s_ctan.c (__ctan): Likewise.
22627         * math/s_ctanf.c (__ctanf): Likewise.
22628         * math/s_ctanh.c (__ctanh): Likewise.
22629         * math/s_ctanhf.c (__ctanhf): Likewise.
22630         * math/s_ctanhl.c (__ctanhl): Likewise.
22631         * math/s_ctanl.c (__ctanl): Likewise.
22632         * math/w_pow.c: Likewise.
22633         * math/w_powf.c: Likewise.
22634         * math/w_powl.c: Likewise.
22635         * math/w_scalb.c (sysv_scalb): Likewise.
22636         * math/w_scalbf.c (sysv_scalbf): Likewise.
22637         * math/w_scalbl.c (sysv_scalbl): Likewise.
22638         * misc/error.c (error_tail): Likewise.
22639         * misc/pselect.c (__pselect): Likewise.
22640         * nis/nis_callback.c (__nis_create_callback): Likewise.
22641         * nis/nis_call.c (__nisfind_server): Likewise.
22642         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22643         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22644         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22645         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22646         * nis/nis_lookup.c (nis_lookup): Likewise.
22647         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22648         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22649         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22650         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22651         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22652         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22653         * nis/nss_compat/compat-initgroups.c (add_group)
22654         (internal_getgrent_r): Likewise.
22655         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22656         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22657         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22658         (internal_getspnam_r): Likewise.
22659         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22660         (_nss_nis_getaliasbyname_r): Likewise.
22661         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22662         (_nss_nis_getntohost_r): Likewise.
22663         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22664         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22665         (_nss_nis_getgrgid_r): Likewise.
22666         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22667         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22668         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22669         (_nss_nis_gethostbyname4_r): Likewise.
22670         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22671         (initgroups_netid): Likewise.
22672         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22673         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22674         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22675         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22676         (_nss_nis_getprotobynumber_r): Likewise.
22677         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22678         (_nss_nis_getsecretkey): Likewise.
22679         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22680         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22681         (_nss_nis_getpwuid_r): Likewise.
22682         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22683         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22684         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22685         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22686         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22687         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22688         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22689         Likewise.
22690         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22691         (_nss_nisplus_getntohost_r): Likewise.
22692         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22693         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22694         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22695         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22696         Likewise.
22697         * nis/nss_nisplus/nisplus-initgroups.c
22698         (_nss_nisplus_initgroups_dyn): Likewise.
22699         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22700         (_nss_nisplus_getnetbyaddr_r): Likewise.
22701         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22702         (_nss_nisplus_getprotobynumber_r): Likewise.
22703         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22704         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22705         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22706         Likewise.
22707         * nis/nss_nisplus/nisplus-service.c
22708         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22709         (_nss_nisplus_getservbyport_r): Likewise.
22710         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22711         (_nss_nisplus_getspnam_r): Likewise.
22712         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22713         Likewise.
22714         * nscd/aicache.c (addhstaiX): Likewise.
22715         * nscd/cache.c (cache_search, prune_cache): Likewise.
22716         * nscd/connections.c (register_traced_file, send_ro_fd)
22717         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22718         (main_loop_epoll): Likewise.
22719         * nscd/grpcache.c (addgrbyX): Likewise.
22720         * nscd/hstcache.c (addhstbyX): Likewise.
22721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22722         * nscd/mem.c (gc, mempool_alloc): Likewise.
22723         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22724         (addinnetgrX): Likewise.
22725         * nscd/nscd-client.h (__nscd_acquire_maplock)
22726         (__nscd_drop_map_ref): Likewise.
22727         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22728         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22729         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22730         Likewise.
22731         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22732         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22733         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22734         (__nscd_get_map_ref): Likewise.
22735         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22736         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22737         Likewise.
22738         * nscd/pwdcache.c (addpwbyX): Likewise.
22739         * nscd/selinux.c (preserve_capabilities): Likewise.
22740         * nscd/servicescache.c (addservbyX): Likewise.
22741         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22742         * posix/fnmatch.c (fnmatch): Likewise.
22743         * posix/getopt.c (_getopt_internal_r): Likewise.
22744         * posix/glob.c (glob, glob_in_dir): Likewise.
22745         * posix/wordexp.c (exec_comm_child): Likewise.
22746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22747         (getanswer_r, gaih_getanswer_slice): Likewise.
22748         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22749         * resolv/res_init.c: Likewise.
22750         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22751         * resolv/res_query.c (__libc_res_nquery): Likewise.
22752         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22753         Likewise.
22754         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22755         * stdio-common/perror.c (perror): Likewise.
22756         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22757         * stdio-common/tmpnam.c (tmpnam): Likewise.
22758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22759         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22760         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22761         Likewise.
22762         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22763         * stdlib/putenv.c (putenv): Likewise.
22764         * stdlib/setenv.c (__add_to_environ): Likewise.
22765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22766         * stdlib/strtol_l.c (INTERNAL): Likewise.
22767         * string/memmem.c (memmem): Likewise.
22768         * string/strerror.c (strerror): Likewise.
22769         * string/strnlen.c (__strnlen): Likewise.
22770         * string/test-memmem.c (simple_memmem): Likewise.
22771         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22772         * sunrpc/pm_getport.c (__get_socket): Likewise.
22773         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22774         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22775         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22776         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22777         Likewise.
22778         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22779         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22780         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22781         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22782         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22783         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22784         Likewise.
22785         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22786         Likewise.
22787         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22788         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22790         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22791         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22793         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22795         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22796         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22797         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22798         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22799         Likewise.
22800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22801         Likewise.
22802         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22803         Likewise.
22804         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22805         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22808         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22809         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22810         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22813         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22814         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22817         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22820         Likewise.
22821         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22822         Likewise.
22823         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22824         Likewise.
22825         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22826         Likewise.
22827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22829         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22830         Likewise.
22831         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22832         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22833         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22834         * sysdeps/posix/sleep.c: Likewise.
22835         * sysdeps/posix/tempname.c: Likewise.
22836         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22837         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22838         Likewise.
22839         * sysdeps/powerpc/powerpc32/dl-machine.h
22840         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22843         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22844         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22845         Likewise.
22846         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22847         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22848         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22849         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22850         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22851         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22852         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22853         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22854         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22855         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22857         (elf_machine_lazy_rel): Likewise.
22858         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22860         (elf_machine_lazy_rel): Likewise.
22861         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22862         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22863         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22864         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22865         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22867         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22869         Likewise.
22870         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22871         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22872         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22873         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22874         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22875         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22876         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22877         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22878         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22879         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22880         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22881         Likewise.
22882         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22883         (__posix_fallocate64_l64): Likewise.
22884         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22885         (posix_fallocate): Likewise.
22886         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22887         Likewise.
22888         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22889         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22890         (getifaddrs_internal): Likewise.
22891         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22892         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22893         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22894         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22895         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22896         (__posix_fallocate64_l64): Likewise.
22897         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22898         Likewise.
22899         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22900         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22901         (__get_clockfreq): Likewise.
22902         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22903         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22904         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22907         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22908         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22909         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22910         Likewise.
22911         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22912         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22913         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22915         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22916         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22917         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22918         Likewise.
22919         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22920         (posix_fallocate): Likewise.
22921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22922         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22923         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22924         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22925         (elf_machine_rela, elf_machine_rela_relative)
22926         (elf_machine_lazy_rel): Likewise.
22927         * time/asctime.c (asctime_internal): Likewise.
22928         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22929         * time/tzset.c (__tzset_parse_tz): Likewise.
22930         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22931         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22932         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22933         * wcsmbs/wcsmbsload.h: Likewise.
22935         [BZ #15894]
22936         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22938         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22939         (arena_get2): Remove THREAD_STATS conditionals.
22940         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22941         (__malloc_stats, int): Likewise.
22943 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22945         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22946         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22948         * manual/setjmp.texi: Fix typos/grammar errors.
22950         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22951         Only return early when n is <= 0.  Delete unused return statement.
22953         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22954         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22955         * debug/tst-longjmp_chk3.c: New file.
22957         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22958         (test_main): Replace code with set_fortify_handler call.
22959         * debug/test-strcpy_chk.c: Likewise.
22960         * debug/tst-chk1.c: Likewise.
22961         * debug/tst-longjmp_chk.c: Likewise.
22962         * test-skeleton.c: Include fcntl.h & paths.h
22963         (set_fortify_handler): Define.
22965         * debug/tst-longjmp_chk.c: Add header comment and include
22966         ../test-skeleton.c.
22967         (do_test): Mark static.
22968         (TEST_FUNCTION): Define.
22970         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22971         (IP_PMTUDISC_INTERFACE): Likewise.
22972         (IP_MULTICAST_IF): Likewise.
22973         (IP_MULTICAST_TTL): Likewise.
22974         (IP_MULTICAST_LOOP): Likewise.
22975         (IP_ADD_MEMBERSHIP): Likewise.
22976         (IP_DROP_MEMBERSHIP): Likewise.
22977         (IP_UNBLOCK_SOURCE): Likewise.
22978         (IP_BLOCK_SOURCE): Likewise.
22979         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22980         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22981         (IP_MSFILTER): Likewise.
22982         (MCAST_JOIN_GROUP): Likewise.
22983         (MCAST_BLOCK_SOURCE): Likewise.
22984         (MCAST_UNBLOCK_SOURCE): Likewise.
22985         (MCAST_LEAVE_GROUP): Likewise.
22986         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22987         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22988         (MCAST_MSFILTER): Likewise.
22989         (IP_MULTICAST_ALL): Likewise.
22990         (IP_UNICAST_IF): Likewise.
22992         * timezone/Makefile: Delete $(have-ksh) check.
22993         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22994         * timezone/tzselect.ksh: Add +x mode bits.
22996         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22997         (ANON_INODE_FS_MAGIC): Likewise.
22998         (BDEVFS_MAGIC): Likewise.
22999         (BINFMTFS_MAGIC): Likewise.
23000         (BTRFS_TEST_MAGIC): Likewise.
23001         (CRAMFS_MAGIC_WEND): Likewise.
23002         (DEBUGFS_MAGIC): Likewise.
23003         (ECRYPTFS_SUPER_MAGIC): Likewise.
23004         (EXT3_SUPER_MAGIC): Likewise.
23005         (EXT4_SUPER_MAGIC): Likewise.
23006         (FUTEXFS_SUPER_MAGIC): Likewise.
23007         (HOSTFS_SUPER_MAGIC): Likewise.
23008         (HUGETLBFS_MAGIC): Likewise.
23009         (MINIX3_SUPER_MAGIC): Likewise.
23010         (MTD_INODE_FS_MAGIC): Likewise.
23011         (NILFS_SUPER_MAGIC): Likewise.
23012         (OPENPROM_SUPER_MAGIC): Likewise.
23013         (PIPEFS_MAGIC): Likewise.
23014         (PSTOREFS_MAGIC): Likewise.
23015         (QNX6_SUPER_MAGIC): Likewise.
23016         (RAMFS_MAGIC): Likewise.
23017         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23018         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23019         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23020         (SECURITYFS_MAGIC): Likewise.
23021         (SELINUX_MAGIC): Likewise.
23022         (SMACK_MAGIC): Likewise.
23023         (SOCKFS_MAGIC): Likewise.
23024         (SQUASHFS_MAGIC): Likewise.
23025         (STACK_END_MAGIC): Likewise.
23026         (TMPFS_MAGIC): Likewise.
23027         (USBDEVICE_SUPER_MAGIC): Likewise.
23028         (V9FS_MAGIC): Likewise.
23029         (XENFS_SUPER_MAGIC): Likewise.
23030         (CRAMFS_MAGIC): Fix typo in comment.
23031         (EXT2_SUPER_MAGIC): Update comment.
23032         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23034 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23036         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23037         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23038         * sysdeps/unix/sysv/linux/arm: Move directory from
23039         ports/sysdeps/unix/sysv/linux/arm.
23040         * README: Update listing for arm-*-linux-gnueabi.
23042         * README: Remove mention of am33.
23044 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23046         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23047         than the comma operator, to avoid "rhs of comma has no effect"
23048         compiler warnings.
23049         (__sigfillset, __sigandset, __sigorset): Likewise.
23050         * include/signal.h (__sigemptyset): Likewise.
23051         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23053 2014-02-07  Allan McRae  <allan@archlinux.org>
23055         * version.h (RELEASE): Set to "development".
23056         (VERSION): Set to "2.19.90"
23057         * NEWS: Add 2.20 section.
23059 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23061         [BZ #16529]
23062         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23064 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23066         * manual/contrib.texi: Update entry for Carlos O'Donell,
23067         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23069 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23071         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23073         * sysdeps/unix/sysv/linux/kernel-features.h
23074         [__LINUX_KERNEL_VERSION >= 0x020621]
23075         (__ASSUME_PROC_PID_TASK_COMM): Define.
23077 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23079         [BZ #16398]
23080         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23081         conversion when destination buffer does not have enough space.
23082         * libio/tst-ftell-partial-wide.c: New test case.
23083         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23085         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23086         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23087         Leonard and Allan McRae.
23089 2014-02-04  David S. Miller  <davem@davemloft.net>
23091         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23092         32-bit.
23094 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23097         New file
23098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23099         New file
23100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23101         New file.
23102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23103         New file.
23104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23105         New file.
23106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23107         New file.
23108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23109         New file.
23110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23111         New file.
23112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23113         New file.
23114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23115         New file.
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23117         New file.
23118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23119         New file.
23120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23121         New file.
23123 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23125         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23126         * shlib-versions: Likewise.
23128 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23131         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23132         (abilist-pattern): New variable, set to %-le.abilist.
23134         * Makerules (abilist-pattern): New variable.
23135         (vpath): Use $(abilist-pattern) in place of %.abilist.
23136         (check-abi-% pattern rule): Likewise.
23137         (check-abi, update-abi): Likewise.
23139 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23143 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23145         * manual/startup.texi: Add next, previous, and top entries for
23146         the `Program Arguments' and `Environment Variables' nodes.
23148 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23150         * manual/macros.texi: Add comments before MTASC-safety macros.
23152         * manual/users.texi: Document MTASC-safety properties.
23154         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23155         (pthread_getspecific, pthread_setspecific): Format with
23156         @deftypefun, and add @safety note.
23157         * manual/signal.texi: Move comments that analyze the above
23158         functions to their home place.
23160 2014-02-03  Allan McRae  <allan@archlinux.org>
23162         * po/sl.po: Update Slovenian translation from translation project.
23164 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23166         * manual/time.texi (timegm): Add missing blank after @c.
23167         Reported by Joseph Myers <joseph@codesourcery.com>.
23169 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23171         * manual/check-safety.sh: New.
23172         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23174         * manual/terminal.texi: Document MTASC-safety properties.
23176         * manual/filesys.texi: Document MTASC-safety properties.
23178         * manual/errno.texi: Document MTASC-safety properties.
23180         * manual/intro.texi: Document safety identifiers and
23181         conditionals.
23183         * manual/string.texi (wcstok): Fix prototype.
23184         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23186         * manual/time.texi: Document MTASC-safety properties.
23188         * manual/string.texi: Document MTASC-safety properties.
23190         * manual/threads.texi: Document MTASC-safety properties.
23192         * manual/stdio.texi: Document MTASC-safety properties.
23194         * manual/syslog.texi: Document MTASC-safety properties.
23196         * manual/sysinfo.texi: Document MTASC-safety properties.
23198         * manual/startup.texi: Document MTASC-safety properties.
23200         * manual/socket.texi: Document MTASC-safety properties.
23202         * manual/signal.texi: Document MTASC-safety properties.
23204 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23206         * manual/setjmp.texi: Document MTASC-safety properties.
23208         * manual/search.texi: Document MTASC-safety properties.
23210         * manual/resource.texi: Document MTASC-safety properties.
23212         * manual/process.texi: Document MTASC-safety properties.
23214         * manual/platform.texi: Document MTASC-safety properties.
23216         * manual/pipe.texi: Document MTASC-safety properties.
23218         * manual/pattern.texi: Document MTASC-safety properties.
23220         * manual/message.texi: Document MTASC-safety properties.
23222         [BZ #12751]
23223         * manual/memory.texi: Document MTASC-safety properties.
23225         * manual/math.texi: Document MTASC-safety properties.
23227         * manual/locale.texi: Document MTASC-safety properties.
23229         * manual/llio.texi: Document MTASC-safety properties.
23231         * manual/libdl.texi: New.
23233         * manual/lang.texi: Document MTASC-safety properties.
23235         * manual/job.texi: Document MTASC-safety properties.
23237         * manual/getopt.texi: Document MTASC-safety properties.
23239         * manual/ctype.texi: Document MTASC-safety properties.
23241 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23243         [BZ #16046]
23244         * csu/libc-tls.c (static_map): Remove variable.
23245         (__libc_setup_tls): Use main executable's link map for TLS data.
23246         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23247         casing for LM_ID_BASE and GL(dl_nns).
23248         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23249         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23250         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23251         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23252         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23253         member.
23254         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23255         l_phnum members.
23257 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23259         * manual/debug.texi: Document MTASC-safety properties.
23261 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23263         [BZ #16510]
23264         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23265         of __x86_64__ when disabling x87 inline functions.
23267 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23269         * manual/charset.texi: Document MTASC-safety properties.
23271         * manual/crypt.texi: Document MTASC-safety properties.
23273         * manual/conf.texi: Document MTASC-safety properties.
23275         * manual/arith.texi: Document MTASC-safety properties.
23277         * manual/argp.texi: Document MTASC-safety properties.
23279         * manual/macros.texi: Introduce macros to document multi
23280         thread, asynchronous signal and asynchronous cancellation
23281         safety properties.
23282         * manual/intro.texi: Introduce the properties themselves.
23284 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23286         * sysdeps/sh/sh4/Makefile: New file.
23288 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23290         * math/gen-libm-test.pl ($srcdir): New variable.
23291         ($auto_input): Use it.
23293 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23295         [BZ #16506]
23296         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23297         access beyond array bounds when parsing netgroups file.
23299         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23300         the old buffer before realloc.
23302 2014-01-27  Allan McRae  <allan@archlinux.org>
23304         * po/fr.po: Update French translation from translation project.
23306 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23308         * sysdeps/sh/libm-test-ulps: Regenerate.
23310 2014-01-24  David S. Miller  <davem@davemloft.net>
23312         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23314 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23317         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23319 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23321         [BZ #16474]
23322         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23323         string pointers after reallocation.
23325 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23327         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23328         __SH4A__ instead of __SH_FPU_ANY__.
23330 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23332         * sysdeps/sh/fpu_control.h: New file.
23333         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23334         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23335         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23336         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23337         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23338         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23339         * sysdeps/sh/sys/ucontext.h: Remove.
23340         * sysdeps/sh/sys: Remove directory.
23342 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23344         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23345         s390/sys/ucontext.h.
23346         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23349 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23351         [BZ #15605]
23352         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23354 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23356         [BZ#16431]
23357         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23358         Adjust the vDSO correctly for internal calls.
23359         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23361 2014-01-20  Allan McRae  <allan@archlinux.org>
23363         * po/ca.po: Update Catalan translation from translation project.
23365 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23367         * sysdeps/s390/sotruss-lib.c: New file.
23369 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23371         [BZ#16430]
23372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23373         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23374         local calls issues by not having a PLT stub required for IFUNC calls.
23375         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23377 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23379         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23380         * math/test-fpucw-static.c: Likewise.
23382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23384         [BZ #16453]
23385         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23387 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23389         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23390         implementation for powerpc.
23392 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23394         [BZ #14782]
23395         * sysdeps/posix/system.c (__libc_system): Do not enable
23396         asynchronous cancellation.
23398 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23400         [BZ #16427]
23401         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23402         handling only for numbers special also in the IEEE case.
23404 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23406         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23408 2014-01-11  Allan McRae  <allan@archlinux.org>
23410         * po/bg.po: Update Bulgarian translation from translation project.
23412         * po/de.po: Update German translation from translation project.
23414 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23416         * sysdeps/generic/gcc-compat.h: New file.
23418 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23420         * benchtests/asin-inputs: Correct slow inputs.
23421         * benchtests/acos-inputs: Likewise.
23423 2014-01-10  Allan McRae  <allan@archlinux.org>
23425         * po:sv.po: Update Swedish translation from translation project.
23427         * po/vi.po: Update Vietnamese translation from translation project.
23429         * po/eo.po: Update Esperanto translation from translation project.
23431         * po/cs.po: Update Czech translation from translation project.
23433         * po/nl.po: Update Dutch translation from translation project.
23435         * po/pl.po: Update Polish translation from translation project.
23437         * po/ru.po: Update Russian translation from translation project.
23439         * po/uk.po: Update Ukrainian translation from translation project.
23441 2014-01-08  Brooks Moses  <bmoses@google.com>
23443         * elf/dl-load.c: Fix comment typo.
23445 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23447         * po/header.pot: Rename to...
23448         * po/pot.header: ... this.
23449         * po/Makefile: Use pot.header.
23451 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23452             Maxim Kuvyrkov  <maxim@kugelworks.com>
23454         [BZ #16394]
23455         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23456         SRC and DEST against LEN.
23458 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23460         [BZ #16414]
23461         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23462         implementation.
23463         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23465 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23469 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23471         [BZ #16408]
23472         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23473         for large positive arguments.
23475 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23477         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23479         * math/auto-libm-test-in: Mark various tests with
23480         xfail-rounding:ldbl-128ibm.
23481         * math/auto-libm-test-out: Regenerated.
23483         [BZ #16407]
23484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23485         Increase overflow threshold.
23487 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23489         [BZ #14286]
23490         * stdio-common/vfprintf.c: Check for integer overflow.
23492 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23494         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23495         the first argument and return value of __tls_get_addr_internal.
23497 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23499         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23500         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23502 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23504         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23505         * sysdeps/s390/rtld-global-offsets.sym: New file.
23506         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23507         GLIBC_2.19 symbol.
23508         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23511         ... this.
23512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23514         ... this.
23515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23516         Regenerate.
23517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23518         Regenerate.
23519         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23520         halfs of GPRs for high_gprs contexts.
23521         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23522         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23523         field.
23524         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23525         uc_flags field.
23526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23527         64 bit versions:
23528         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23529         for high GPRs (uc_high_gprs) and for future extensions
23530         (__reserved).
23531         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23532         for future extensions (__reserved).
23533         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23534         64 bit versions:
23535         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23536         SC_HIGHGPRS offset definition.
23537         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23538         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23540         * Versions.def: Add GLIBC_2.19 for libpthread.
23541         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23542         siglongjmp for libpthread with GLIBC_2.19 symver.
23543         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23544         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23545         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23546         * sysdeps/s390/__longjmp.c: New file.
23547         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23548         * sysdeps/s390/longjmp.c: New file.
23549         * sysdeps/s390/setjmp.S: New file.
23550         * sysdeps/s390/sigjmp.S: New file.
23551         * sysdeps/s390/v1-longjmp.c: New file.
23552         * sysdeps/s390/v1-setjmp.h: New file.
23553         * sysdeps/s390/v1-sigjmp.c: New file.
23554         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23555         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23556         GLIBC_2.19 version.
23557         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23558         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23559         versioned symbols for ____longjmp_chk.
23560         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23561         Likewise.
23562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23563         Regenerate.
23564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23565         Regenerate.
23566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23567         Regenerate.
23568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23569         Regenerate.
23570         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23571         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23572         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23573         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23574         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23575         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23576         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23577         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23578         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23579         * sysdeps/s390/rtld-__longjmp.c: New file.
23580         * sysdeps/s390/rtld-setjmp.S: New file.
23582 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23584         [BZ #16400]
23585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23586         Return -__logl (x) for small positive arguments without evaluating
23587         a polynomial.
23589 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23591         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23592         Rename to ...
23593         (__ptrace_peeksiginfo_args): ... this.
23594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23598 2014-01-06  Allan McRae  <allan@archlinux.org>
23600         * inet/netinet/in.h: Fix typo in comment.
23602 2014-01-05  Andreas Jaeger  <aj@suse.de>
23604         * sysdeps/i386/fpu/libm-test-ulps: Update.
23606 2014-01-05  Allan McRae  <allan@archlinux.org>
23608         * po/libc.pot: Regenerated.
23610         * malloc/memusagestat.c: Fix gettext call formatting.
23612 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23614         * nscd/nscd.c: Improve usage() output.
23616 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23618         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23619         * sysdeps/unix/sysv/linux/configure: Regenerated.
23620         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23621         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23623 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23625         [BZ #16390]
23626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23627         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23629 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23632         extra tokens at end of #undef directive.
23633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23634         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23635         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23637 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23639         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23641         * math/auto-libm-test-in: Mark various tests with
23642         xfail-rounding:ldbl-128ibm.
23643         * math/auto-libm-test-out: Regenerated.
23645 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23647         [BZ #16386]
23648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23649         numbers with subnormal high part when calculating exponent.
23651         [BZ #16385]
23652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23653         fabs.
23655         [BZ #16384]
23656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23657         M_LN2l.
23658         (__ieee754_acoshl): Use __log1pl not __log1p.
23660 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23662         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23663         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23664         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23665         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23666         (reused_arena, arena_get2): Convert to GNU style.
23667         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23668         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23669         (memalign_check, __malloc_set_state): Likewise.
23670         * malloc/mallocbug.c (main): Likewise.
23671         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23672         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23673         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23674         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23675         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23676         (__posix_memalign, malloc_info): Likewise.
23677         * malloc/malloc.h: Likewise.
23678         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23679         (mallochook, memalignhook, reallochook, mabort): Likewise.
23680         * malloc/mcheck.h: Likewise.
23681         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23682         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23683         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23684         * malloc/morecore.c (__default_morecore): Likewise.
23685         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23686         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23687         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23688         (print_and_abort): Likewise.
23689         * malloc/obstack.h: Likewise.
23690         * malloc/set-freeres.c (__libc_freeres): Likewise.
23691         * malloc/tst-mallocstate.c (main): Likewise.
23692         * malloc/tst-mtrace.c (main): Likewise.
23693         * malloc/tst-realloc.c (do_test): Likewise.
23695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23697         [BZ #16366]
23698         * nscd/netgroupcache.c (do_notfound): New function.
23699         (addgetnetgrentX): Use it.
23701         [BZ # 16365]
23702         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23703         NSS_STATUS_NOTFOUND.
23705 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23707         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23710 2014-01-01  Allan McRae  <allan@archlinux.org>
23712         * scripts/update-copyrights: Update configure input file suffix.
23714         * NEWS: Update copyright year.
23715         * catgets/gencat.c: Likewise.
23716         * csu/version.c: Likewise.
23717         * debug/catchsegv.sh: Likewise.
23718         * debug/pcprofiledump.c: Likewise.
23719         * debug/xtrace.sh: Likewise.
23720         * elf/ldconfig.c: Likewise.
23721         * elf/ldd.bash.in: Likewise.
23722         * elf/pldd.c: Likewise.
23723         * elf/sotruss.ksh: Likewise.
23724         * elf/sprof.c: Likewise.
23725         * iconv/iconv_prog.c: Likewise.
23726         * iconv/iconvconfig.c: Likewise.
23727         * locale/programs/locale.c: Likewise.
23728         * locale/programs/localedef.c: Likewise.
23729         * login/programs/pt_chown.c: Likewise.
23730         * malloc/memusage.sh: Likewise.
23731         * malloc/memusagestat.c: Likewise.
23732         * malloc/mtrace.pl: Likewise.
23733         * manual/libc.texinfo: Likewise.
23734         * nscd/nscd.c: Likewise.
23735         * nss/getent.c: Likewise.
23736         * nss/makedb.c: Likewise.
23737         * posix/getconf.c: Likewise.
23738         * scripts/test-installation.pl: Likewise.
23740         * All files with FSF copyright notices: Update copyright dates
23741         using scripts/update-copyrights.
23742         * intl/plural.c: Regenerated.
23743         * locale/programs/charmap-kw.h: Likewise.
23744         * locale/programs/locfile-kw.h: Likewise.
23746 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23748         * sysdeps/unix/sysv/linux/configure: Regenerated.
23749         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23750         the linux/fanotify.h header.
23751         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23752         HAVE_LINUX_FANOTIFY_H is defined.
23754 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23756         * benchtests/cos-inputs: New inputs.
23757         * benchtests/sin-inputs: Likewise.
23759         * benchtests/atan-inputs: New inputs. Fix name of multiple
23760         precision fallback inputs.
23762         * benchtests/atanh-inputs: New inputs.
23763         * benchtests/tanh-inputs: Likewise.
23765         * benchtests/acosh-inputs: New inputs.
23766         * benchtests/asinh-inputs: Likewise.
23768         * benchtests/cosh-inputs: New inputs.
23769         * benchtests/sinh-inputs: Likewise.
23771         * benchtests/acos-inputs: Add more inputs.
23772         * benchtests/asin-inputs: Likewise.
23774 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23776         [BZ #16375]
23777         * manual/arith.texi: Fix spelling.
23778         * manual/charset.texi: Likewise.
23779         * manual/errno.texi: Likewise.
23780         * manual/filesys.texi: Likewise.
23781         * manual/lang.texi: Likewise.
23782         * manual/llio.texi: Likewise.
23783         * manual/locale.texi: Likewise.
23784         * manual/message.texi: Likewise.
23785         * manual/resource.texi: Likewise.
23786         * manual/search.texi: Likewise.
23787         * manual/setjmp.texi: Likewise.
23788         * manual/stdio.texi: Likewise.
23789         * manual/string.texi: Likewise.
23790         * manual/sysinfo.texi: Likewise.
23791         * manual/time.texi: Likewise.
23793 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23795         * po/sl.po: New file.
23797 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23799         * .gitignore: Add core/.gdbinit/.gdb_history.
23801 2013-12-27  Allan McRae  <allan@archlinux.org>
23803         [BZ #16369]
23804         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23805         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23807 2013-12-24  Brooks Moses  <bmoses@google.com>
23809         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23810         all compilers that claim C++98 compliance, not just GCC.
23811         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23812         Likewise.
23814 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23816         * NEWS: Restore accidentally deleted bug-fix entries.
23818 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23819             Ondřej Bílka  <neleai@seznam.cz>
23821         [BZ #15073]
23822         * malloc/malloc.c (_int_free): Perform sanity check only if we
23823         have_lock.
23825 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23827         [BZ #12986]
23828         * manual/stdio.texi (String Input Conversions): Clarify that character
23829         classes are not supported.
23831 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23835 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23837         [BZ #16337]
23838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23839         Calculate results for small negative arguments directly rather
23840         than using reflection formula with special underflow handling.
23842         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23843         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23844         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23845         (fchflags): Likewise.
23846         (revoke): Likewise.
23847         (setlogin): Likewise.
23848         (sigaltstack): Likewise.
23849         (wait4): Likewise.
23850         (sigblock): Remove.
23851         (sigsetmask): Likewise.
23852         (wait3): Likewise.
23853         (waitpid): Likewise.
23854         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23855         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23856         file.
23857         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23858         * sysdeps/unix/bsd/Makefile: ... here.
23859         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23860         * sysdeps/unix/bsd/Versions: ... here.
23861         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23862         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23863         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23864         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23865         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23866         * sysdeps/unix/bsd/sigblock.c: ... here.
23867         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23868         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23869         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23870         * sysdeps/unix/bsd/sigvec.c: ... here.
23871         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23872         * sysdeps/unix/bsd/tcdrain.c: ... here.
23873         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23874         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23875         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23876         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23877         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23878         * sysdeps/unix/bsd/wait.c: ... here.
23879         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23880         * sysdeps/unix/bsd/wait3.c: ... here.
23881         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23882         * sysdeps/unix/bsd/waitpid.c: ... here.
23884 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23886         [BZ #16356]
23887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23888         round-to-nearest for [!USE_AS_EXPM1L].
23889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23890         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23891         more tests of exp and exp10.  Expect some exp10 tests to miss
23892         exceptions or fail in directed rounding modes.
23893         * math/auto-libm-test-out: Regenerated.
23894         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23895         (exp10_test_tonearest): New function.
23896         (exp10_towardzero_test_data): New array.
23897         (exp10_test_towardzero): New function.
23898         (exp10_downward_test_data): New array.
23899         (exp10_test_downward): New function.
23900         (exp10_upward_test_data): New array.
23901         (exp10_test_upward): New function.
23902         (main): Call the new functions.
23903         * sysdeps/i386/fpu/libm-test-ulps: Update.
23904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23906 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23908         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23909         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23910         * math/auto-libm-test-out: Regenerated.
23911         * math/libm-test.inc (acosh_test_data): Add more tests.
23912         (atanh_test_data): Likewise.
23913         (ceil_test_data): Likewise.
23914         (copysign_test_data): Likewise.
23915         * sysdeps/i386/fpu/libm-test-ulps: Update.
23916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23918         * timezone/checktab.awk: Update from tzcode 2013i.
23919         * timezone/private.h: Likewise.
23920         * timezone/scheck.c: Likewise.
23921         * timezone/tzfile.h: Likewise.
23922         * timezone/tzselect.ksh: Likewise.
23923         * timezone/zdump.c: Likewise.
23924         * timezone/zic.c: Likewise.
23926         * math/auto-libm-test-in: Add tests of cpow.
23927         * math/auto-libm-test-out: Regenerated.
23928         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23930         mpc_cc_c.
23931         (func_calc_desc): Add mpc_cc_c union field.
23932         (test_functions): Add cpow.
23933         (special_fill_2pi): New function.
23934         (special_real_inputs): Add 2pi.
23935         (calc_generic_results): Handle mpc_cc_c.
23936         * sysdeps/i386/fpu/libm-test-ulps: Update.
23937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23939         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23940         csqrt, ctan and ctanh.
23941         * math/auto-libm-test-out: Regenerated.
23942         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23943         (TEST_COND_x86): Likewise.
23944         (ccos_test_data): Use AUTO_TESTS_c_c.
23945         (ccosh_test_data): Likewise.
23946         (cexp_test_data): Likewise.
23947         (clog_test_data): Likewise.
23948         (csqrt_test_data): Likewise.
23949         (ctan_test_data): Likewise.
23950         (ctan_tonearest_test_data): Likewise.
23951         (ctan_towardzero_test_data): Likewise.
23952         (ctan_downward_test_data): Likewise.
23953         (ctan_upward_test_data): Likewise.
23954         (ctanh_test_data): Likewise.
23955         (ctanh_tonearest_test_data): Likewise.
23956         (ctanh_towardzero_test_data): Likewise.
23957         (ctanh_downward_test_data): Likewise.
23958         (ctanh_upward_test_data): Likewise.
23959         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23960         mpc_c_c.
23961         (func_calc_desc): Add mpc_c_c union field.
23962         (FUNC_mpc_c_c): New macro.
23963         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23964         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23965         ctanh.
23966         (special_fill_min_subnorm_p120): New function.
23967         (special_real_inputs): Add min_subnorm_p120.
23968         (calc_generic_results): Handle mpc_c_c.
23969         * sysdeps/i386/fpu/libm-test-ulps: Update.
23970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23972 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23975         (do_sin_slow): New functions.
23976         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23977         (cslow2, csloww1, csloww2): Use the new functions.
23979         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23980         Use M to change sign of result instead of X.  Assume X is
23981         positive.
23982         (csloww1): Likewise.
23983         (__sin): Adjust.
23984         (__cos): Adjust.
23986         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23987         arguments A and DA.
23988         (__sin): Adjust.
23989         (__cos): Likewise.
23991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23992         (__cos): Likewise.
23993         (sloww1): Don't adjust sign of DX.
23994         (csloww1): Likewise.
23995         (sloww2): Use X directly and don't adjust sign of DX.
23996         (csloww2): Likewise.
23998 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24000         * math/auto-libm-test-in: Add tests of cabs and carg.
24001         * math/auto-libm-test-out: Regenerated.
24002         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24003         (carg_test_data): Likewise.
24004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24005         mpc_c_f.
24006         (func_calc_desc): Add mpc_c_f union field.
24007         (test_functions): Add cabs and carg.
24008         (calc_generic_results): Handle mpc_c_f.
24010         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24011         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24012         as a macro and a compat symbol.
24013         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24014         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24015         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24016         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24017         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24018         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24019         not use .hidden.
24020         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24021         Likewise.
24022         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24023         Likewise.
24024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24025         Likewise.
24026         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24027         Likewise.
24028         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24029         Likewise.
24030         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24031         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24032         from GLIBC_2.3.2.
24034 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24038 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24040         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24041         trailing whitespace removed.
24042         * scripts/config.guess: Update to version 2013-11-29.
24043         * scripts/config.sub: Update to version 2013-10-01.
24045         * math/auto-libm-test-in: Add tests of sincos.
24046         * math/auto-libm-test-out: Regenerated.
24047         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24049         mpfr_f_11.
24050         (func_calc_desc): Add mpfr_f_11 union field.
24051         (test_functions): Add sincos.
24052         (calc_generic_results): Handle mpfr_f_11.
24053         * sysdeps/i386/fpu/libm-test-ulps: Update.
24054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24056 2013-12-19  Andreas Schwab  <schwab@suse.de>
24058         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24059         CALL_MCOUNT.
24060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24062         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24064 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24066         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24067         * sysdeps/i386/fpu/libm-test-ulps: Update.
24068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24070         [BZ #16293]
24071         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24072         round-to-nearest mode when using frndint.
24073         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24074         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24076         Likewise.
24077         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24078         sinh test to fail.
24079         * math/auto-libm-test-out: Regenerated.
24080         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24081         (TEST_COND_x86): Likewise.
24082         (expm1_tonearest_test_data): New array.
24083         (expm1_test_tonearest): New function.
24084         (expm1_towardzero_test_data): New array.
24085         (expm1_test_towardzero): New function.
24086         (expm1_downward_test_data): New array.
24087         (expm1_test_downward): New function.
24088         (expm1_upward_test_data): New array.
24089         (expm1_test_upward): New function.
24090         (main): Run the new test functions.
24091         * sysdeps/i386/fpu/libm-test-ulps: Update.
24092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24094         * include/features.h: Update comment documenting feature test
24095         macros.  Mention _DEFAULT_SOURCE in comment.
24096         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24097         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24098         _BSD_SOURCE and _SVID_SOURCE.
24099         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24100         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24101         !_SVID_SOURCE]: Likewise.
24102         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24103         (__USE_POSIX_IMPLICITLY): Define.
24104         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24105         (_POSIX_SOURCE): Undefine and redefine.
24106         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24107         (_POSIX_C_SOURCE): Likewise.
24108         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24109         (Feature Test Macros): Update documentation of default features.
24111 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24113         * benchtests/Makefile: Add bench-strtok.
24114         * benchtests/bench-strtok.c: New file: strtok benchtest.
24116 2013-12-19  Allan McRae  <allan@archlinux.org>
24118         * manual/install.texi: Suppress menu for plain text output.
24119         * INSTALL: Regenerated.
24121 2013-12-18  Brooks Moses  <bmoses@google.com>
24123         [BZ #15846]
24124         * misc/getauxval.c: Include errno.h.
24125         (__getauxval): Set errno to ENOENT if the requested type is not
24126         found.
24127         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24128         don't declare with __attribute_const__.
24129         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24130         * manual/startup.texi: Document that getauxval sets errno.
24132 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24134         * math/auto-libm-test-in: Add tests of jn and yn.
24135         * math/auto-libm-test-out: Regenerated.
24136         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24137         (yn_test_data): Likewise.
24138         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24139         mpfr_if_f.
24140         (func_calc_desc): Add mpfr_if_f union field.
24141         (FUNC_mpfr_if_f): New macro.
24142         (test_functions): Add jn and yn.
24143         (calc_generic_results): Assert type of second input for
24144         mpfr_ff_f.  Handle mpfr_if_f.
24145         (output_for_one_input_case): Disable all checking for arguments
24146         fitting floating-point types in case of an integer argument.
24147         * sysdeps/i386/fpu/libm-test-ulps: Update.
24148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24151         Don't expect fegetround reference in libm.so.
24153 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24155         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24156         $(config-cflags-nofma).
24158 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24160         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24161         * math/auto-libm-test-out: Regenerated.
24163         [BZ #16338]
24164         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24165         to determine exponent and adjust argument to have exponent of -1.
24166         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24167         log2.
24168         * math/auto-libm-test-out: Regenerated.
24169         * sysdeps/i386/fpu/libm-test-ulps: Update.
24170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24172 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24174         * manual/probes.texi: Remove cases when per-thread arenas are
24175         disabled.
24177 2013-12-18  Andreas Schwab  <schwab@suse.de>
24179         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24180         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24181         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24182         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24183         * sysdeps/i386/i686/multiarch/Makefile: Update.
24184         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24186 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24188         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24189         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24191 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24193         [BZ #15968]
24194         Support TZ transition times < 00:00:00.
24195         This is needed for version-3 tz-format files; it supports time
24196         stamps past 2037 for America/Godthab (the only entry in the tz
24197         database for which this change is relevant).
24198         * manual/time.texi (TZ Variable): Document transition times
24199         from -167:59:59 through -00:00:01.
24200         * time/tzset.c (tz_rule): Time of day is now signed.
24201         (__tzset_parse_tz): Parse negative time of day.
24203         Document TZ transition times >= 25:00:00.
24204         * manual/time.texi (TZ Variable): Document transition times from
24205         25:00:00 through 167:59:59.  These are already supported, and this
24206         support will help with version-3 tz-format files.
24208         * manual/time.texi (TZ Variable): Modernize North America example
24209         to reflect current (i.e., 2007-and-later) daylight saving rules.
24211         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24213 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24215         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24216         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24219         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24220         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24221         * sysdeps/unix/bsd/clock.c: Likewise.
24222         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24223         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24224         * sysdeps/unix/bsd/init-posix.c: Likewise.
24225         * sysdeps/unix/bsd/poll.c: Likewise.
24226         * sysdeps/unix/bsd/ptsname.c: Likewise.
24227         * sysdeps/unix/bsd/seekdir.c: Likewise.
24228         * sysdeps/unix/bsd/setegid.c: Likewise.
24229         * sysdeps/unix/bsd/seteuid.c: Likewise.
24230         * sysdeps/unix/bsd/setgid.c: Likewise.
24231         * sysdeps/unix/bsd/setrgid.c: Likewise.
24232         * sysdeps/unix/bsd/setruid.c: Likewise.
24233         * sysdeps/unix/bsd/setsid.c: Likewise.
24234         * sysdeps/unix/bsd/setuid.c: Likewise.
24235         * sysdeps/unix/bsd/sigaction.c: Likewise.
24236         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24237         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24238         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24239         * sysdeps/unix/bsd/telldir.c: Likewise.
24240         * sysdeps/unix/bsd/times.c: Likewise.
24241         * sysdeps/unix/bsd/usleep.c: Likewise.
24243         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24244         ($(objpfx)libbsd-compat.a): Remove rule.
24246         * include/features.h (__FAVOR_BSD): Do not define.
24247         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24248         features conflicting with POSIX.
24249         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24250         (_BSD_SOURCE): Remove description of not being a subset of other
24251         feature test macros.
24252         * manual/job.texi (getpgrp): Do not document BSD version.
24253         (getpgid): Do not document by reference to BSD getpgrp.
24254         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24255         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24256         * signal/signal.h [__FAVOR_BSD]: Likewise.
24257         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24258         instead of making contents conditional on [__FAVOR_BSD].
24259         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24261 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24265 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24267         [BZ #16314]
24268         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24269         values below 2**-450, not 2**-500.
24270         * math/auto-libm-test-in: Don't allow spurious underflow from
24271         hypot.
24272         * math/auto-libm-test-out: Regenerated.
24274         [BZ #16316]
24275         [BZ #16330]
24276         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24277         values of ha and hb and sort them after adjusting subnormal
24278         arguments.
24279         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24280         Likewise.
24281         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24282         values of ea and eb and sort them after adjusting subnormal
24283         arguments.
24284         * math/auto-libm-test-in: Do not expect some hypot tests of
24285         subnormals to fail.  Add more hypot tests.
24286         * math/auto-libm-test-out: Regenerated.
24288 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24290         [BZ #13304]
24291         * sysdeps/sh/s_fma.c: New file.
24292         * sysdeps/sh/s_fmaf.c: New file.
24293         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24294         version.
24295         * sysdeps/sh/Implies: Add sh/soft-fp.
24297 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24299         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24300         level of indirection to members `objname', `errstring', `malloced'.
24301         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24302         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24303         it as the __longjmp argument (just pass 1 instead).
24304         (_dl_catch_error): Initialize C with argument pointers and address of
24305         volatile local ERRCODE rather than copying values out of C at return.
24307 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24309         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24310         * math/auto-libm-test-out: Regenerated.
24311         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24312         (hypot_test_data): Likewise.
24313         (pow_test_data): Likewise.
24314         (pow_tonearest_test_data): Likewise.
24315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24316         mpfr_ff_f.
24317         (func_calc_desc): Add mpfr_ff_f union field.
24318         (FUNC_mpfr_ff_f): New macro.
24319         (test_functions): Add atan2, hypot and pow.
24320         (special_fill_min): New function.
24321         (special_fill_minus_min): Likewise.
24322         (special_fill_min_subnorm): Likewise.
24323         (special_fill_minus_min_subnorm): Likewise.
24324         (special_real_inputs): Add min, -min, min_subnorm and
24325         -min_subnorm.
24326         (calc_generic_results): Handle mpfr_ff_f.
24327         * sysdeps/i386/fpu/libm-test-ulps: Update.
24328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24330 2013-12-16  Will Newton  <will.newton@linaro.org>
24332         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24333         (Aligned Memory Blocks): Add documentation for aligned_alloc
24334         and suggest it as an alternative to posix_memalign.
24335         (Hooks for Malloc): Document __memalign_hook is also called
24336         for aligned_alloc.  (Summary of Malloc): Add summary for
24337         aligned alloc.  Document __memalign_hook is also called
24338         for aligned_alloc.
24340 2013-12-16  Will Newton  <will.newton@linaro.org>
24342         * manual/memory.texi (Malloc Examples): Clarify default
24343         alignment documentation.  Suggest posix_memalign rather
24344         than memalign or valloc.
24345         (Aligned Memory Blocks): Remove suggestion to use memalign
24346         or valloc.  Remove obsolete comment about BSD.
24347         Document memalign errno values and mark the function obsolete.
24348         Document posix_memalign returned error codes.  Mark valloc
24349         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24350         called for posix_memalign and valloc.
24351         (Summary of Malloc): Add posix_memalign to function summary.
24352         __memalign_hook is also called for posix_memalign and valloc.
24354 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24356         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24357         TAYLOR_SIN.
24358         (__sin): Adjust.
24359         (__cos): Likewise.
24360         (sloww): Use mynumber union.  Expand ternary operator into
24361         if-else statements.
24362         (cslow): use mynumber union.
24364 2013-12-16  Allan McRae  <allan@archlinux.org>
24366         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24367         * configure: Regenerated.
24369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24371         [BZ #14120]
24372         * configure.ac: Added --enable-maintainer-mode. Check for
24373         autoconf when enabled.
24374         * configure: Regenerated.
24376         * nscd/nscd.service: New file.
24377         * nscd/nscd.tmpfiles: New file.
24379 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24381         [BZ #12100]
24382         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24383         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24384         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24385         (strstr): Add __strstr_sse2_unaligned ifunc.
24386         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24387         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24388         (strcasestr): Remove __strcasestr_sse42 ifunc.
24389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24393 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24395         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24396         * sysdeps/sh/bits/fenv.h: ... here.
24397         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24399 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24401         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24404         hypotf multiarch implementations.
24405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24408         multiarch hypot for PPC64.
24409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24412         multiarch hypotf for PPC64.
24414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24415         modff multiarch implementations.
24416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24419         multiarch modf for PPC64.
24420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24423         multiarch modff for PPC64.
24425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24426         and logl multiarch implementations.
24427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24430         multiarch logb for PPC64.
24431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24434         multiarch logb for PPC64.
24435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24438         multiarch logb for PPC64.
24440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24441         isinff multiarch implementation.
24442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24443         file.
24444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24446         multiarch isinf for PPC64.
24447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24448         file.
24449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24450         multiarch isinff for PPC64.
24452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24453         finitef multiarch implementation.
24454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24455         file.
24456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24458         multiarch finite for PPC64.
24459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24460         file.
24461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24462         multiarch finitef for PPC64.
24464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24465         lrint multiarch implementation.
24466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24467         file.
24468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24470         multiarch llrint for PPC64.
24471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24472         multiarch lrint for PPC64.
24474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24475         copysignf multiarch implementation.
24476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24477         file.
24478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24479         file.
24480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24481         multiarch copysign for PPC64.
24482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24483         multiarch copysignf for PPC64.
24485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24486         multiarch implementation.
24487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24488         file.
24489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24490         file.
24491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24492         file.
24493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24494         file.
24495         multiarch llround for PPC64.
24496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24497         multiarch trunc for PPC64.
24498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24499         multiarch truncf for PPC64.
24501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24502         multiarch implementation.
24503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24504         file.
24505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24506         file.
24507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24508         file.
24509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24510         file.
24511         multiarch llround for PPC64.
24512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24513         multiarch round for PPC64.
24514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24515         multiarch roundf for PPC64.
24517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24518         multiarch implementation.
24519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24520         file.
24521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24522         file.
24523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24524         file.
24525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24526         file.
24527         multiarch llround for PPC64.
24528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24529         multiarch floor for PPC64.
24530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24531         multiarch floorf for PPC64.
24533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24534         multiarch implementation.
24535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24536         file.
24537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24538         file.
24539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24540         file.
24541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24542         file.
24543         multiarch llround for PPC64.
24544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24545         multiarch ceil for PPC64.
24546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24547         multiarch ceilf for PPC64.
24549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24550         multiarch implementation.
24551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24552         file.
24553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24554         file.
24555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24556         file.
24557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24558         multiarch llround for PPC64.
24559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24560         multiarch lround for PPC64.
24562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24563         multiarch implementation.
24564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24567         file.
24568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24571         multiarch isnan for PPC64.
24572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24573         multiarch isnanf for PPC64.
24575         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24576         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24577         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24578         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24579         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24582         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24583         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24588         multiarch implementations.
24589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24590         (__libc_ifunc_impl_list): Likewise.
24591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24594         multiarch stpcpy for PPC64.
24596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24597         multiarch implementations.
24598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24599         (__libc_ifunc_impl_list): Likewise.
24600         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24601         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24602         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24603         multiarch strcpy for PPC64.
24605         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24606         redefine function name.
24607         (_wordcopy_fwd_dest_aligned): Likewise.
24608         (_wordcopy_bwd_aligned): Likewise.
24609         (_wordcopy_bwd_dest_aligned): Likewise.
24610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24611         multiarch implementations.
24612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24613         (__libc_ifunc_impl_list): Likewise.
24614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24618         multiarch wcscpy for PPC64.
24620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24621         multiarch implementations.
24622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24623         (__libc_ifunc_impl_list): Likewise.
24624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24625         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24627         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24628         multiarch wcscpy for PPC64.
24630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24631         multiarch implementations.
24632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24633         (__libc_ifunc_impl_list): Likewise.
24634         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24635         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24637         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24638         multiarch wcsrchr for PPC64.
24640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24641         multiarch implementations.
24642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24643         (__libc_ifunc_impl_list): Likewise.
24644         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24646         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24647         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24648         multiarch wcschr for PPC64.
24650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24651         multiarch implementations.
24652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24653         (__libc_ifunc_impl_list): Likewise.
24654         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24657         multiarch strchrnul for PPC64.
24659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24660         implementations.
24661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24662         (__libc_ifunc_impl_list): Likewise.
24663         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24664         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24665         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24666         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24667         strchr for PPC64.
24669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24670         implementations.
24671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24672         (__libc_ifunc_impl_list): Likewise.
24673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24675         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24676         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24677         strncmp for PPC64.
24679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24680         multiarch implementations.
24681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24682         (__libc_ifunc_impl_list): Likewise.
24683         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24684         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24685         strncasecmp for PPC64.
24686         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24687         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24688         multiarch strncasecmp_l for PPC64.
24690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24691         multiarch implementations.
24692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24693         (__libc_ifunc_impl_list): Likewise.
24694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24696         multiarch strcasecmp for PPC64.
24697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24698         file.
24699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24700         multiarch strcasecmp_l for PPC64.
24702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24703         implementations.
24704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24705         (__libc_ifunc_impl_list): Likewise.
24706         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24707         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24708         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24709         strnlen for PPC64.
24711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24712         implementations.
24713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24714         (__libc_ifunc_impl_list): Likewise.
24715         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24716         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24717         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24718         strlen for PPC64.
24720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24721         implementations.
24722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24723         (__libc_ifunc_impl_list): Likewise.
24724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24727         rawmemrchr for PPC64.
24729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24730         implementation.
24731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24732         (__libc_ifunc_impl_list): Likewise.
24733         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24734         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24735         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24736         memrchr for PPC64.
24738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24739         implementation.
24740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24741         (__libc_ifunc_impl_list): Likewise.
24742         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24743         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24744         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24745         memchr for PPC64.
24747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24748         implementation.
24749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24750         (__libc_ifunc_impl_list): Likewise.
24751         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24753         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24754         mempcpy for PPC64.
24756         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24757         avoid cretion of __bzero symbol.
24758         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24759         Likewise.
24760         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24761         Likewise.
24762         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24763         Likewise.
24764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24765         multiarch implementations.
24766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24767         (__libc_ifunc_impl_list): Likewise.
24768         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24771         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24772         bzero for PPC32.
24773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24774         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24775         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24776         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24777         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24778         memset for PPC64.
24779         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24781         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24783         implementations.
24784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24785         (__libc_ifunc_impl_list): Likewise.
24786         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24787         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24789         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24790         memcmp for PPC64.
24792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24793         multiarch for POWER/PPC64.
24794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24795         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24802         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24803         memcpy for PPC64.
24805         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24806         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24807         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24808         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24809         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24810         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24811         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24812         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24813         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24814         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24815         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24816         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24817         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24818         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24819         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24828 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24830         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24832 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24834         * benchtests/Makefile (bench): Add exp2 and log2.
24835         (LDLIBS-bench-exp2): Add -lm.
24836         (LDLIBS-bench-log2): Likewise.
24837         * benchtests/exp2-inputs: New inputs file.
24838         * benchtests/log2-inputs: New inputs file.
24839         * benchtests/log-inputs: Add new inputs.
24840         * benchtests/tan-inputs: Likewise.
24842 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24845         definition...
24846         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24847         (csloww2): ... from here.
24849         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24850         instead of structures.
24851         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24852         (POLYNOMIAL): Likewise.
24853         (TAYLOR_SLOW): Likewise.
24854         (__sin): Likewise.
24855         (__cos): Likewise.
24856         (slow1): Likewise.
24857         (slow2): Likewise.
24858         (sloww): Likewise.
24859         (sloww1); Likewise.
24860         (sloww2): Likewise.
24861         (bsloww1): Likewise.
24862         (bsloww2): Likewise.
24863         (cslow2): Likewise.
24864         (csloww): Likewise.
24865         (csloww1): Likewise.
24866         (csloww2): Likewise.
24868 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24870         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24871         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24872         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24873         * malloc/hooks.c (realloc_check): Likewise.
24875         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24876         * malloc/arena.c: Remove PER_THREAD conditional.
24877         [!PER_THREAD]: Remove code.
24878         (ptmalloc_unlock_all2): Likewise.
24879         (ptmalloc_init): Likewise.
24880         (_int_new_arena): Likewise.
24881         (arena_get2): Likewise.
24882         * malloc/hooks.c (__malloc_get_state): Likewise.
24883         (__malloc_set_state): Likewise.
24884         * malloc/malloc.c: Likewise.
24885         (struct malloc_state): Likewise.
24886         (struct malloc_par): Likewise.
24887         (__libc_realloc): Likewise.
24888         (__libc_mallopt): Likewise.
24890 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24892         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24894 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24896         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24897         macro to a function.  Check for zero perturb_byte.
24898         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24900         * malloc/malloc.c: (force_reg): Remove.
24901         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24902         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24903         force_reg by atomic_forced_read.
24904         * malloc/arena.c (ptmalloc_init): Likewise.
24905         * malloc/hooks.c (top_check): Likewise.
24907 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24911 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24915 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24917         * math/auto-libm-test-in: Add tests of lgamma.
24918         * math/auto-libm-test-out: Regenerated.
24919         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24920         (M_LOG_2_SQRT_PIl): Likewise.
24921         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24923         mpfr_f_f1.
24924         (func_calc_desc): Add mpfr_f_f1 union field.
24925         (ARGS1): New macro.
24926         (ARGS2): Likewise.
24927         (ARGS3): Likewise.
24928         (ARGS4): Likewise.
24929         (RET1): Likewise.
24930         (RET2): Likewise.
24931         (CALC): Likewise.
24932         (FUNC): Likewise.
24933         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24934         (test_functions): Add lgamma.
24935         (calc_generic_results): Handle mpfr_f_f1.
24936         * sysdeps/i386/fpu/libm-test-ulps: Update.
24937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24939 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24941         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24942         __mpn_add_n for PowerPC64/POWER7.
24943         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24944         __mpn_sub_n for PowerPC64/POWER7.
24946         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24947         __mpn_addmul_1 for PowerPC64.
24948         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24949         __mpn_submul_1 for PowerPC64.
24950         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24951         for PowerPC64.
24952         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24953         for PowerPC64.
24955 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24957         [BZ #15089]
24958         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24960 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24962         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24964         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24965         add multiarch folders.
24966         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24967         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24968         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24969         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24970         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24971         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24972         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24973         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24974         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24975         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24976         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24985         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24987         New file.
24988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24989         New file.
24990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24991         multiarch __ieee754_hypot for PowerPC32.
24992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24993         New file.
24994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24995         New file.
24996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24997         multiarch __ieee754_hypotf for PowerPC32.
24999         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25000         long_double_symbol only if __logbl is defined.
25001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25002         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25004         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25006         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25007         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25008         path for implementation.
25009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25010         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25012         logb, and logbl multiarch implementations for PowerPC32.
25013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25014         file.
25015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25016         file.
25017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25018         multiarch logb for PowerPC32.
25019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25020         file.
25021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25022         file.
25023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25024         multiarch logbf for PowerPC32.
25025         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25027         file.
25028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25029         multiarch logbl implementation for PowerPC32.
25031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25032         and modff multiarch implementations.
25033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25034         New file.
25035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25036         New file.
25037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25038         multiarch modf for PowerPC32.
25039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25040         New file.
25041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25042         New file.
25043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25044         multiarch modff for PowerPC32.
25046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25047         and lrintf multiarch implementations.
25048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25049         New file.
25050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25051         New file.
25052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25053         multiarch lrint for PowerPC32.
25054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25055         file: multiarch lrintf for PowerPC32.
25057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25058         and lroundf multiarch implementations.
25059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25060         New file.
25061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25062         New file.
25063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25064         New file.
25065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25066         multiarch lround for PowerPC32.
25067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25068         file: multiarch lroundf for PowerPC32.
25070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25071         copysign and copysignf multiarch implementations.
25072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25073         New file.
25074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25075         New file.
25076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25077         file: multiarch copysign for PowerPC32.
25078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25079         file: multiarch copysignf for PowerPC32.
25081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25082         and truncf multiarch implementations.
25083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25084         New file.
25085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25086         file.
25087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25088         multiarch trunc for PowerPC32.
25089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25090         New file.
25091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25092         New file.
25093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25094         multiarch truncf for PowerPC32.
25096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25097         and roundf multiarch implementations.
25098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25099         New file.
25100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25101         file.
25102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25103         multiarch round for PowerPC32.
25104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25105         New file.
25106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25107         New file.
25108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25109         multiarch roundf for PowerPC32.
25111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25112         and floorf multiarch implementations.
25113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25114         New file.
25115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25116         file.
25117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25118         multiarch floor for PowerPC32.
25119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25120         New file.
25121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25122         New file.
25123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25124         multiarch floorf for PowerPC32.
25126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25127         and ceilf multiarch implementations.
25128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25129         New file.
25130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25131         file.
25132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25133         multiarch ceil for PowerPC32.
25134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25135         New file.
25136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25137         file.
25138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25139         multiarch ceilf for PowerPC32.
25141         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25142         is defined.
25143         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25144         FINITEF is defined.
25145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25146         and finitef multiarch implementations.
25147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25148         New file.
25149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25150         file.
25151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25152         multiarch finite for PowerPC32.
25153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25154         New file.
25155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25156         file: multiarch finitef for PowerPC32.
25158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25159         and isinff multiarch implementations.
25160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25161         file.
25162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25163         file.
25164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25165         multiarch isinf for PowerPC32.
25166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25167         New file.
25168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25169         multiarch isinff for PowerPC32.
25171         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25172         alias when __isnan is defined.
25173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25174         and isnanf multiarch implementations.
25175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25176         file.
25177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25178         file.
25179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25180         file.
25181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25182         file.
25183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25184         multiarch isnan for PowerPC32.
25185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25186         New file.
25187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25188         New file.
25189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25190         multiarch isnanf for PowerPC32.
25192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25193         and sqrtf multiarch implementations.
25194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25195         file.
25196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25197         file.
25198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25199         multiarch sqrt for PowerPC32.
25200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25201         file.
25202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25203         file.
25204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25205         multiarch sqrtf for PowerPC32.
25207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25208         and llroundf multiarch implementations.
25209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25210         New file.
25211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25212         New file.
25213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25214         New file.
25215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25216         file: multiarch llround for PowerPC32.
25217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25218         file: multiarch llroundf for PowerPC32.
25220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25221         multiarch PowerPC32 fpu implementations.
25222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25223         New file.
25224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25225         New file.
25226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25227         multiarch llrint for PowerPC32.
25228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25229         New file.
25230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25231         New file.
25232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25233         file.
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25237         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25238         file.
25239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25240         file.
25241         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25242         file.
25243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25244         multiarch wordcopy for PPC32.
25245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25246         wordcopy objects.
25247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25248         (__libc_ifunc_impl_list): Likewise.
25249         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25250         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25252         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25253         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25254         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25256         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25258         file.
25259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25260         file.
25261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25262         file.
25263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25264         multiarch wcscpy for PPC32.
25265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25266         multiarch objects.
25267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25268         (__libc_ifunc_impl_list): Likewise.
25269         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25270         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25271         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25272         sysdeps/powerpc/power6/wcscpy.c.
25274         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25276         file.
25277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25278         file.
25279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25280         file.
25281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25282         multiarch wcsrchr for PPC32.
25283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25284         multiarch objects.
25285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25286         (__libc_ifunc_impl_list): Likewise.
25287         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25288         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25289         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25290         sysdeps/powerpc/power6/wcsrchr.c.
25292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25293         file.
25294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25295         file.
25296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25298         multiarch wcschr for PPc32.
25299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25300         multiarch objects.
25301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25302         (__libc_ifunc_impl_list): Likewise.
25303         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25304         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25305         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25306         sysdeps/powerpc/power6/wcschr.c.
25308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25309         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25310         file.
25311         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25312         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25313         file: multiarch strchr for PPC32.
25314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25315         multiarch objects.
25316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25317         (__libc_ifunc_impl_list): Likewise.
25319         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25320         name.
25321         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25322         file.
25323         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25324         file.
25325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25326         multiarch strchrnul for PPC32.
25327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25328         multiarch objects.
25329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25330         (__libc_ifunc_impl_list): Likewise.
25332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25333         file.
25334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25335         multiarch strncasecmp for PPC32.
25336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25337         file.
25338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25339         multiarch strncasecmp_l for PPC32.
25340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25341         strncasecmp multiarch objects.
25342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25343         (__libc_ifunc_impl_list): Likewise.
25345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25346         file.
25347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25348         multiarch strncasecmp for PPC32.
25349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25350         New file.
25351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25352         multiarch strcasecmp_l for PPC32.
25353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25354         multiarch objects.
25355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25356         (__libc_ifunc_impl_list): Likewise.
25358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25359         file.
25360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25361         file.
25362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25363         multiarch strncmp for PPC32.
25364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25365         multiarch objects.
25366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25367         (__libc_ifunc_impl_list): Likewise.
25369         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25370         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25371         file.
25372         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25375         multiarch objects.
25376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25377         (__libc_ifunc_impl_list): Likewise.
25379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25380         file.
25381         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25382         file.
25383         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25385         multiarch objects.
25386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25387         (__libc_ifunc_impl_list): Likewise.
25389         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25390         file.
25391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25392         file.
25393         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25394         multiarch rawmemchr for PPC32.
25395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25396         multiarch objects.
25397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25398         (__libc_ifunc_impl_list): Likewise.
25400         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25401         file.
25402         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25403         file.
25404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25405         file: memrchr multiarch for PPC32.
25406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25407         multiarch objects.
25408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25409         (__libc_ifunc_impl_list): Likewise.
25411         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25412         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25413         file.
25414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25416         multiarch memchr for PPC32.
25417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25418         multiarch objects.
25419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25420         (__libc_ifunc_impl_list): Likewise.
25422         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25424         file.
25425         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25426         file.
25427         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25428         file: multiarch mempcpy for PPC32.
25429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25430         multiarch objects.
25431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25432         (__libc_ifunc_impl_list): Likewise.
25434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25438         multiarch bzero for PPC32.
25439         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25440         file.
25441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25442         file.
25443         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25444         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25445         file: multiarch memset for PPC32.
25446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25448         memset multiarch objects.
25449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25450         (__libc_ifunc_impl_list): Likewise.
25452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25453         file.
25454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25456         memcmp for PPC32.
25457         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25459         multiarch objects.
25460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25461         (__libc_ifunc_impl_list): Likewise.
25463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25466         file.
25467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25468         file.
25469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25470         file.
25471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25472         multiarch memcpy for PPC32.
25473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25474         multiarch objects.
25475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25476         (__libc_ifunc_impl_list): Likewise.
25478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25479         support multiarch for POWER/PPC32.
25480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25481         Likewise.
25482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25484         Implies file to make multiarch folder appers before the fpu and
25485         default folder for power4 configuration.
25487 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25489         * scripts/bench.pl: Append volatile keyword to type.
25491 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25493         * sysdeps/sh/sotruss-lib.c: New file.
25494         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25496 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25500 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25502         [BZ #6810]
25503         * math/w_tgamma.c: Include <errno.h>.
25504         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25505         * math/w_tgammaf.c: Include <errno.h>.
25506         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25507         * math/w_tgammal.c: Include <errno.h>.
25508         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25509         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25510         underflow.  Add more tgamma tests.
25511         * math/auto-libm-test-out: Regenerated.
25512         * sysdeps/i386/fpu/libm-test-ulps: Update.
25513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25515         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25516         sin, sinh, tan, tanh, tgamma, y0 and y1.
25517         * math/auto-libm-test-out: Regenerated.
25518         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25519         (TEST_COND_x86): Likewise.
25520         (M_E2l): Remove macro.
25521         (M_E3l): Likewise.
25522         (M_2_SQRT_PIl): Likewise.
25523         (M_SQRT_PIl): Likewise.
25524         (M_1_DIV_El): Likewise.
25525         (log_test_data): Use AUTO_TESTS_f_f.
25526         (log10_test_data): Likewise.
25527         (log1p_test_data): Likewise.
25528         (log2_test_data): Likewise.
25529         (sin_test_data): Likewise.
25530         (sin_tonearest_test_data): Likewise.
25531         (sin_towardzero_test_data): Likewise.
25532         (sin_downward_test_data): Likewise.
25533         (sin_upward_test_data): Likewise.
25534         (sinh_test_data): Likewise.
25535         (sinh_tonearest_test_data): Likewise.
25536         (sinh_towardzero_test_data): Likewise.
25537         (sinh_downward_test_data): Likewise.
25538         (sinh_upward_test_data): Likewise.
25539         (tan_test_data): Likewise.
25540         (tan_tonearest_test_data): Likewise.
25541         (tan_towardzero_test_data): Likewise.
25542         (tan_downward_test_data): Likewise.
25543         (tan_upward_test_data): Likewise.
25544         (tanh_test_data): Likewise.
25545         (tgamma_test_data): Likewise.
25546         (y0_test_data): Likewise.
25547         (y1_test_data): Likewise.
25548         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25549         (special_real_inputs): Add pi/4.
25550         * sysdeps/i386/fpu/libm-test-ulps: Update.
25551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25553 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25555         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25556         "longjmp_target" static probes.
25557         (__longjmp): Rename to __longjmp_symbol.
25558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25559         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25560         on which longjmp to generate.
25561         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25562         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25563         probe.
25564         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25565         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25566         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25567         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25568         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25569         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25571         __longjmp_symbol based on which __longjmp to generate.
25572         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25573         probe.
25574         (setjmp): Rename to setjmp_symbol.
25575         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25576         (_setjmp): Rename to _setjmp_symbol.
25577         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25578         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25579         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25580         which setjmp to generate.
25581         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25582         "longjmp_target" static probes.
25584 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25586         * benchtests/README: Add note about output arguments.
25587         * benchtests/bench-sincos.c: Remove file.
25588         * benchtests/sincos-inputs: New file.
25589         * scripts/bench.pl: Identify output arguments and define
25590         static variables for them.
25592         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25594         [BZ #15941]
25595         * Makefile (INSTALL): Add install-plain.texi as the primary
25596         dependency.
25597         * manual/install-plain.texi: New file.
25598         * manual/install.texi: Include node directive only for
25599         non-plaintext output.
25601 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25603         * stdlib/longlong.h: Update from GCC.
25605         [BZ #6807]
25606         [BZ #15901]
25607         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25608         * math/w_j0f.c (y0f): Likewise.
25609         * math/w_j0l.c (__y0l): Likewise.
25610         * math/w_j1.c (y1): Likewise.
25611         * math/w_j1f.c (y1f): Likewise.
25612         * math/w_j1l.c (__y1l): Likewise
25613         * math/w_jn.c (yn): Likewise.
25614         * math/w_jnf.c (ynf): Likewise.
25615         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25616         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25617         value for Bessel function domain errors outside _SVID_ mode.
25618         Adjust sign of return value for yn (negative integer, 0).
25619         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25620         by zero in return for negative x and set sign appropriately for
25621         negative n.
25622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25623         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25624         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25625         expectations in error cases.
25626         (y1_test_data): Likewise.
25627         (yn_test_data): Likewise.
25628         * sysdeps/i386/fpu/libm-test-ulps: Update.
25629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25631 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25633         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25634         "64" to "64-v1".  Add "64-v2".
25635         (abi-64-options): Rename to ...
25636         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25637         (abi-64-condition): Rename to ...
25638         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25639         (abi-64-ld-soname): Rename to ...
25640         (abi-64-v1-ld-soname): ... this.
25641         (abi-64-v2-options): Define.
25642         (abi-64-v2-condition): Likewise.
25643         (abi-64-v2-ld-soname): Likewise.
25644         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25645         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25650 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25651             Alan Modra  <amodra@gmail.com>
25653         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25654         New versions for use with the ELFv2 ABI.
25655         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25656         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25657         declaration.
25658         (struct La_ppc64v2_retval): Likewise.
25659         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25660         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25661         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25662         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25663         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25664         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25665         Do not save or restore CR.
25666         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25667         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25668         return values for ELFv2 ABI.  Fix location of FPR return registers.
25669         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25670         updated values for _CALL_ELF == 2.
25671         (La_regs, La_retval, int_retval): Likewise.
25673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25675         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25676         (FRAME_MIN_SIZE_PARM): Likewise.
25677         (FRAME_BACKCHAIN): Likewise.
25678         (FRAME_CR_SAVE): Likewise.
25679         (FRAME_LR_SAVE): Likewise.
25680         (FRAME_TOC_SAVE): Likewise.
25681         (FRAME_PARM_SAVE): Likewise.
25682         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25683         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25684         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25685         (call_mcount_parm_offset): New macro.
25686         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25687         (PROF): Use symbolic stack frame offsets.
25688         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25689         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25690         Redefine in terms of FRAME_MIN_SIZE.
25691         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25692         (_dl_profile_resolve): Likewise.  Update comment.
25693         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25694         symbols stack frame offsets.
25695         (__sigsetjmp): Likewise.
25696         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25697         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25698         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25699         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25702         (FRAME_BACKCHAIN): Remove.
25703         (FRAME_CR_SAVE): Likewise.
25704         (FRAME_LR_SAVE): Likewise.
25705         (FRAME_COMPILER_DW): Likewise.
25706         (FRAME_LINKER_DW): Likewise.
25707         (FRAME_TOC_SAVE): Likewise.
25708         (FRAME_PARM_SAVE): Likewise.
25709         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25710         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25711         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25713         (CHECK_SP): Use symbolic stack frame offsets.
25714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25715         zone" instead of caller's parameter save area for temp storage.
25716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25717         Likewise.  Also, use symbolic stack frame offsets.
25718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25719         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25720         our own stack frame instead of the caller's.
25721         (__socket): Use symbolic stack frame offsets.
25723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25724             Alan Modra  <amodra@gmail.com>
25726         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25727         Define.
25728         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25729         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25730         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25731         New function.
25732         (elf_machine_fixup_plt): Call it.
25733         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25734         reloc arguments.
25735         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25737         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25738         r2 before calling target.
25740 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25741             Alan Modra  <amodra@gmail.com>
25743         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25744         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25745         versions of macros to support ELFv2 ABI.
25746         (LOCALENTRY): New macro.
25747         (ENTRY, EALIGN): Use it.
25748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25749         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25750         fall through into ENTRY entry point.
25751         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25752         Only define if _CALL_ELF != 2.
25754         (elf_machine_matches_host): Verify ABI version matches.
25755         (RTLD_START): Use LOCALENTRY.
25756         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25757         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25758         (PLT_ENTRY_WORDS): New macro.
25759         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25760         (elf_machine_runtime_setup): Support ELFv2 ABI.
25761         (elf_machine_fixup_plt): Likewise.
25762         (elf_machine_plt_conflict): Likewise.
25763         (resolve_ifunc): Likewise.
25764         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25765         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25766         Likewise.
25767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25768         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25770         (makecontext): Support ELFv2 ABI.
25771         * elf/elf.h (EF_PPC64_ABI): Define.
25773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25775         * sysdeps/powerpc/powerpc64/sysdep.h
25776         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25777         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25778         (ENTRY) [ASSEMBLER]: ... but instead here ...
25779         (EALIGN) [ASSEMBLER]: ... and here.
25780         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25781         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25782         (ENTRY_2) [!ASSEMBLER]: Use it.
25783         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25784         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25786         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25787         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25789         Use PPC64_LOAD_FUNCPTR.
25791         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25793 2013-12-04  Alan Modra  <amodra@gmail.com>
25795         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25796         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25797         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25798         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25801         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25802         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25803         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25804         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25805         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25807 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25810         (__makecontext): Fix incorrect CFI when backtracing out of
25811         context created via makecontext.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25813         (__setcontext): Fix incorrect CFI during switch to new context.
25814         (__novec_setcontext): Likewise.
25816 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25818         [BZ #4772]
25819         * time/strptime_l.c (__strptime_internal): Allow modifiers
25820         in strptime.
25821         * time/tst-strptime.c (day_tests): Add testcase.
25823 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25825         * scripts/bench.pl: Skip over blank lines.
25827 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25829         [BZ #926]
25830         * manual/time.texi (Calendar Time): Clarify what timezone functions
25831         use.
25833 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25837 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25839         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25840         implementation.
25841         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25842         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25843         * debug/memset_chk.c (__memset_chk): Likewise.
25844         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25845         * debug/strncpy_chk.c: Likewise.
25847 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25849         [BZ #15268]
25850         [BZ #15425]
25851         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25852         (__ieee754_exp): For possibly underflowing results, check size of
25853         result and force underflow exception if required.
25854         * math/auto-libm-test-in: Add more tests of exp.
25855         * math/auto-libm-test-out: Regenerated.
25856         * sysdeps/i386/fpu/libm-test-ulps: Update.
25857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25859         [BZ #16283]
25860         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25861         * math/w_exp2f.c (__exp2f): Likewise.
25862         * math/w_exp2l.c (__exp2l): Likewise.
25863         * math/auto-libm-test-in: Do not allow missing errno on exp2
25864         underflow.
25865         * math/auto-libm-test-out: Regenerated.
25867 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25869         [BZ #16274]
25870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25871         handle filename validation.
25872         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25873         (do_open): Delete.
25875 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25877         [BZ #6786]
25878         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25879         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25880         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25881         <float.h>.
25882         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25884         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25886         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25888         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25889         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25890         Add more erfc tests.
25891         * math/auto-libm-test-out: Regenerated.
25892         * sysdeps/i386/fpu/libm-test-ulps: Update.
25893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25895         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25896         exp2, expm1, j0 and j1.
25897         * math/auto-libm-test-out: Regenerated.
25898         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25899         (erfc_test_data): Likewise.
25900         (exp_test_data): Likewise.
25901         (exp_tonearest_test_data): Likewise.
25902         (exp_towardzero_test_data): Likewise.
25903         (exp_downward_test_data): Likewise.
25904         (exp_upward_test_data): Likewise.
25905         (exp10_test_data): Likewise.
25906         (exp2_test_data): Likewise.
25907         (expm1_test_data): Likewise.
25908         (j0_test_data): Likewise.
25909         (j1_test_data): Likewise.
25910         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25911         (input_flag_type): Add flag_xfail_rounding.
25912         (input_flags): Add xfail-rounding.
25913         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25914         (output_for_one_input_case): Handle flag_xfail_rounding.
25915         * sysdeps/i386/fpu/libm-test-ulps: Update.
25916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25918 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25920         [BZ #16289]
25921         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25922         division by 0.
25924 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25926         [BZ #16195]
25927         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25928         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25929         (STAP_PROBE0): New macro.
25930         (STAP_PROBE1): Likewise.
25931         (STAP_PROBE2): Likewise.
25932         (STAP_PROBE3): Likewise.
25933         (STAP_PROBE4): Likewise.
25935 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25937         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25939 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25941         * benchtests/Makefile (bench): Add sqrt.
25942         (LDLIBS-bench-sqrt): New.
25943         * benchtests/sqrt-input: New.
25945 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25947         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25948         (GAIH_EAI): Likewise.
25949         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25950         (gaih_inet): Likewise.
25951         (getaddrinfo): Don't use GAIH_EAI.
25953         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25954         (struct gaih): Remove definition.
25956 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25958         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25959         Use HERRNOP directly.
25961 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25965 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25967         * math/gen-auto-libm-tests.c (test_functions): Add more
25968         single-argument functions.
25969         (special_fill_pi_2): New function.
25970         (special_fill_minus_pi_2): Likewise.
25971         (special_fill_pi_6): Likewise.
25972         (special_fill_minus_pi_6): Likewise.
25973         (special_fill_pi_3): Likewise.
25974         (special_fill_2pi_3): Likewise.
25975         (special_fill_e): Likewise.
25976         (special_fill_1_e): Likewise.
25977         (special_fill_e_minus_1): Likewise.
25978         (special_real_inputs): Add more special inputs.
25979         (output_for_one_input_case): Do not require ERANGE on underflow to
25980         zero if round-to-nearest result does not underflow to zero, unless
25981         exact results required.
25982         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25983         atan, atanh, cbrt, cos and cosh.
25984         * math/auto-libm-test-out: Regenerated.
25985         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25986         (acos_tonearest_test_data): Likewise.
25987         (acos_towardzero_test_data): Likewise.
25988         (acos_downward_test_data): Likewise.
25989         (acos_upward_test_data): Likewise.
25990         (acosh_test_data): Likewise.
25991         (asin_test_data): Likewise.
25992         (asin_tonearest_test_data): Likewise.
25993         (asin_towardzero_test_data): Likewise.
25994         (asin_upward_test_data): Likewise.
25995         (asinh_test_data): Likewise.
25996         (atan_test_data): Likewise.
25997         (atanh_test_data): Likewise.
25998         (cbrt_test_data): Likewise.
25999         (cos_test_data): Likewise.
26000         (cos_tonearest_test_data): Likewise.
26001         (cos_towardzero_test_data): Likewise.
26002         (cos_downward_test_data): Likewise.
26003         (cos_upward_test_data): Likewise.
26004         (cosh_test_data): Likewise.
26005         (cosh_tonearest_test_data): Likewise.
26006         (cosh_towardzero_test_data): Likewise.
26007         (cosh_downward_test_data): Likewise.
26008         (cosh_upward_test_data): Likewise.
26009         * sysdeps/i386/fpu/libm-test-ulps: Update.
26010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26012 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26014         [BZ #6787]
26015         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26016         * math/w_exp10f.c (__exp10f): Likewise.
26017         * math/w_exp10l.c (__exp10l): Likewise.
26018         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26019         errno settings in existing tests.
26021         [BZ #14032]
26022         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26023         precision control set to double precision.
26024         * sysdeps/i386/fpu/w_sqrt.c: New file.
26025         * math/auto-libm-test-in: Add more tests.
26026         * math/auto-libm-test-out: Update.
26028         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26029         (sqrt_test_tonearest): New function.
26030         (sqrt_towardzero_test_data): New variable.
26031         (sqrt_test_towardzero): New function.
26032         (sqrt_downward_test_data): New variable.
26033         (sqrt_test_downward): New function.
26034         (sqrt_upward_test_data): New variable.
26035         (sqrt_test_upward): New function.
26036         (main): Call the new functions.
26038         * math/gen-auto-libm-tests.c: New file.
26039         * math/auto-libm-test-in: Likewise.
26040         * math/auto-libm-test-out: New generated file.
26041         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26042         variables.
26043         (%beautify): Add generated representations of zero.
26044         (top level): Set $auto_input and call parse_auto_input.
26045         (beautify): Remove trailing "f" from hex float constants.
26046         (parse_args): Handle XFAIL_TEST.
26047         (convert_condition): New function.
26048         (or_value): Likewise.
26049         (or_cond_value): Likewise.
26050         (generate_testfile): Handle AUTO_TESTS_* lines.
26051         (parse_auto_input): New function.
26052         * math/libm-test.inc (XFAIL_TEST): New macro.
26053         (ERRNO_UNCHANGED): Update value.
26054         (ERRNO_EDOM): Likewise.
26055         (ERRNO_ERANGE): Likewise.
26056         (IGNORE_RESULT): Likewise.
26057         (TEST_COND_flt_32): New macro.
26058         (TEST_COND_dbl_64): Likewise.
26059         (TEST_COND_ldbl_96_intel): Likewise.
26060         (TEST_COND_ldbl_96_m68k): Likewise.
26061         (TEST_COND_ldbl_128): Likewise.
26062         (TEST_COND_ldbl_128ibm): Likewise.
26063         (TEST_COND_long32): Likewise.
26064         (TEST_COND_long64): Likewise.
26065         (TEST_COND_before_rounding): Likewise.
26066         (TEST_COND_after_rounding): Likewise.
26067         (enable_test): Handle XFAIL_TEST flag.
26068         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26069         with finite results.
26070         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26071         auto-libm-test-out.
26073 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26076         [BZ #16214]
26077         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26078         __tls_get_addr_internal instead of __tls_get_offset in order to
26079         avoid GOT pointer dependency.  Make rtld export
26080         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26081         __tls_get_addr since we are a __tls_get_offset platform.
26082         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26083         GOT pointer being set up before.
26084         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26086 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26088         * manual/math.texi (Errors in Math Functions): Document accuracy
26089         goals.
26091         [BZ #15004]
26092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26094         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26100         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26107         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26109         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26110         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26111         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26112         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26113         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26114         Likewise.
26115         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26116         Likewise.
26117         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26118         Likewise.
26119         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26120         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26121         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26122         atomic-feupdateenv and flt-rounds.
26123         * sysdeps/powerpc/nofpu/Versions (libc): Add
26124         __atomic_feholdexcept, __atomic_feclearexcept,
26125         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26127         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26129         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26130         here.
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26132         Update.
26134         * manual/arith.texi (FP Exceptions): Document that exceptions may
26135         not be raised when matherr is used.
26136         (Math Error Reporting): Document overflow in directed rounding
26137         modes.  Document that errno may not be set when finite values are
26138         returned on overflow.  Document intent to set errno on underflow
26139         only for underflow to zero.
26141         [BZ #16271]
26142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26143         round-to-nearest then adjust result for other rounding modes.
26144         * include/fenv.h (fegetround): Use libm_hidden_proto.
26145         * math/fegetround.c (fegetround): Use libm_hidden_def.
26146         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26147         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26148         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26150         Likewise.
26151         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26153         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26154         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26156 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26158         [BZ #16077]
26159         * nss/Versions (libnss_files): Add
26160         _nss_files_gethostbyname3_r.
26161         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26162         New function.
26163         (HOST_DB_LOOKUP): Remove macro.
26164         (_nss_files_gethostbyname_r): Implement function without the
26165         HOST_DB_LOOKUP macro.
26166         (_nss_files_gethostbyname2_r): Likewise.
26168 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26170         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26172 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26174         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26175         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26176         warning.
26178 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26180         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26181         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26182         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26183         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26185         __fe_nomask_env_priv and attribute_hidden.
26186         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26187         (libc_feupdateenv_test_ppc): Likewise.
26188         (libc_feresetround_ppc): Likewise.
26189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26190         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26191         compat_symbol macro.
26192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26193         (__fe_nomask_env): Likewise.
26194         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26196 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26198         * string/Makefile: Remove ifunc tests.
26199         * string/test-string.h: Define TEST_IFUNC.
26200         * string/test-bcopy-ifunc.c: Remove.
26201         * string/test-bzero-ifunc.c: Likewise.
26202         * string/test-memccpy-ifunc.c: Likewise.
26203         * string/test-memchr-ifunc.c: Likewise.
26204         * string/test-memcmp-ifunc.c: Likewise.
26205         * string/test-memcpy-ifunc.c: Likewise.
26206         * string/test-memmem-ifunc.c: Likewise.
26207         * string/test-memmove-ifunc.c: Likewise.
26208         * string/test-mempcpy-ifunc.c: Likewise.
26209         * string/test-memrchr-ifunc.c: Likewise.
26210         * string/test-memset-ifunc.c: Likewise.
26211         * string/test-rawmemchr-ifunc.c: Likewise.
26212         * string/test-stpcpy-ifunc.c: Likewise.
26213         * string/test-stpncpy-ifunc.c: Likewise.
26214         * string/test-strcasecmp-ifunc.c: Likewise.
26215         * string/test-strcasestr-ifunc.c: Likewise.
26216         * string/test-strcat-ifunc.c: Likewise.
26217         * string/test-strchr-ifunc.c: Likewise.
26218         * string/test-strchrnul-ifunc.c: Likewise.
26219         * string/test-strcmp-ifunc.c: Likewise.
26220         * string/test-strcpy-ifunc.c: Likewise.
26221         * string/test-strcspn-ifunc.c: Likewise.
26222         * string/test-strlen-ifunc.c: Likewise.
26223         * string/test-strncasecmp-ifunc.c: Likewise.
26224         * string/test-strncat-ifunc.c: Likewise.
26225         * string/test-strncmp-ifunc.c: Likewise.
26226         * string/test-strncpy-ifunc.c: Likewise.
26227         * string/test-strnlen-ifunc.c: Likewise.
26228         * string/test-strpbrk-ifunc.c: Likewise.
26229         * string/test-strrchr-ifunc.c: Likewise.
26230         * string/test-strspn-ifunc.c: Likewise.
26231         * string/test-strstr-ifunc.c: Likewise.
26233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26235         * benchtests/Makefile: Remove ifunc tests.
26236         * benchtests/bench-string.h: Define TEST_IFUNC.
26237         * benchtests/bench-bcopy-ifunc.c: Remove.
26238         * benchtests/bench-bzero-ifunc.c: Likewise.
26239         * benchtests/bench-memccpy-ifunc.c: Likewise.
26240         * benchtests/bench-memchr-ifunc.c: Likewise.
26241         * benchtests/bench-memcmp-ifunc.c: Likewise.
26242         * benchtests/bench-memcpy-ifunc.c: Likewise.
26243         * benchtests/bench-memmem-ifunc.c: Likewise.
26244         * benchtests/bench-memmove-ifunc.c: Likewise.
26245         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26246         * benchtests/bench-memrchr-ifunc.c: Likewise.
26247         * benchtests/bench-memset-ifunc.c: Likewise.
26248         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26249         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26250         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26251         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26252         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26253         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26254         * benchtests/bench-strcat-ifunc.c: Likewise.
26255         * benchtests/bench-strchr-ifunc.c: Likewise.
26256         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26257         * benchtests/bench-strcmp-ifunc.c: Likewise.
26258         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26259         * benchtests/bench-strcpy-ifunc.c: Likewise.
26260         * benchtests/bench-strcspn-ifunc.c: Likewise.
26261         * benchtests/bench-strlen-ifunc.c: Likewise.
26262         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26263         * benchtests/bench-strncat-ifunc.c: Likewise.
26264         * benchtests/bench-strncmp-ifunc.c: Likewise.
26265         * benchtests/bench-strncpy-ifunc.c: Likewise.
26266         * benchtests/bench-strnlen-ifunc.c: Likewise.
26267         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26268         * benchtests/bench-strrchr-ifunc.c: Likewise.
26269         * benchtests/bench-strsep-ifunc.c: Likewise.
26270         * benchtests/bench-strspn-ifunc.c: Likewise.
26271         * benchtests/bench-strstr-ifunc.c: Likewise.
26273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26275         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26279         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26280         * rt/aio.h: Likewise.
26281         * sysdeps/gnu/bits/utmp.h: Likewise.
26282         * sysdeps/gnu/bits/utmpx.h: Likewise.
26283         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26284         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26285         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26286         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26287         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26288         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26289         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26290         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26291         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26293         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26294         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26295         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26298         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26299         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26300         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26301         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26302         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26303         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26304         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26305         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26306         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26307         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26310         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26311         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26312         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26313         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26314         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26315         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26316         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26317         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26318         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26319         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26321         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26322         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26323         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26324         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26326 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26328         [BZ #16245]
26329         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26330         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26332 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26334         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26335         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26336         Likewise.
26338 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26341         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26342         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26343         (__fesetround): Remove define.
26344         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26345         rounding and exceptions handling.
26346         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26347         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26348         (__fe_nomask_env): Likewise.
26349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26350         __fegetround instead of fegetround.
26351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26352         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26354 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26356         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26357         it's there.
26359         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26361 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26363         [BZ #11157]
26364         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26365         (encrypt_r): Likewise.
26366         * malloc/obstack.h (obstack_free): Likewise.
26367         * posix/unistd.h (encrypt): Likewise.
26369 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26371         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26372         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26373         DL_CALL_DT_FINI() that call the functions directly.
26374         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26375         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26376         * elf/dl-fini.c: Likewise.
26378 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26380         * malloc/hooks.c (memalign_check): Add alignment rounding.
26381         * malloc/malloc.c (_mid_memalign): New function.
26382         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26383         Implement by calling _mid_memalign.
26384         * manual/probes.texi (Memory Allocation Probes): Remove
26385         memory_valloc_retry and memory_pvalloc_retry.
26387 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26389         * locale/programs/locarchive.c (open_archive): Add const
26390         qualifier to ARCHIVEFNAME and copy default fname to
26391         DEFAULT_FNAME.
26393         [BZ #15601]
26394         * libio/tst-widetext.input: Rename Oriya to Odia.
26395         * locale/iso-639.def: Likewise.
26397         * manual/probes.texi (Mathematical Function Probes): Add
26398         documentation for sin, cos, asin and acos probes.
26399         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26400         (__sin32): Add slowasin probe.
26401         (__cos32): Add slowacos probe.
26402         (__mpsin): Add slowsin probe.
26403         (__mpcos): Add slowcos probe.
26405 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26407         [BZ #15483]
26408         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26409         thread-local __sim_exceptions_thread and global
26410         __sim_exceptions_global.
26411         (__sim_disabled_exceptions): Change to thread-local
26412         __sim_disabled_exceptions_thread and global
26413         __sim_disabled_exceptions_global.
26414         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26415         and global __sim_round_mode_global.
26416         (__simulate_exceptions): Use thread-local floating-point state and
26417         set global state from it as needed.
26418         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26419         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26420         __sim_round_mode_thread.
26421         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26422         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26423         and global __sim_exceptions_global.
26424         (__sim_disabled_exceptions): Change to thread-local
26425         __sim_disabled_exceptions_thread and global
26426         __sim_disabled_exceptions_global.
26427         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26428         and global __sim_round_mode_global.
26429         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26430         (SIM_SET_GLOBAL): Likewise.
26431         * sysdeps/powerpc/soft-fp/sfp-machine.h
26432         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26433         __sim_round_mode_thread.
26434         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26435         __sim_disabled_exceptions_thread.
26436         (__sim_exceptions): Change to __sim_exceptions_thread.
26437         (__sim_disabled_exceptions): Change to
26438         __sim_disabled_exceptions_thread.
26439         (__sim_round_mode): Change to __sim_round_mode_thread.
26440         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26441         thread-local floating-point state and set global state from it as
26442         needed.
26443         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26444         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26445         (__sim_disabled_exceptions): Remove extern declaration.
26446         (feenableexcept): Use thread-local floating-point state and set
26447         global state from it as needed.
26448         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26449         extern declaration.
26450         (__sim_disabled_exceptions): Likewise.
26451         (__sim_round_mode): Likewise.
26452         (__fegetenv): Use thread-local floating-point state.
26453         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26455         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26456         floating-point state and set global state from it as needed.
26457         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26458         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26459         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26460         Likewise.
26461         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26462         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26463         Likewise.
26464         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26465         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26466         Use __sim_round_mode_thread.
26467         * math/test-fenv-tls.c: New file.
26468         * math/Makefile (tests): Add test-fenv-tls.
26469         ($(objpfx)test-fenv-tls): Depend on
26470         $(common-objpfx)nptl/libpthread.so.
26472 2013-11-19  Andreas Schwab  <schwab@suse.de>
26474         * locale/programs/locale.c (show_info): Decode wordarray elements.
26475         * locale/categories.def (LC_MONETARY): Add element for
26476         _NL_MONETARY_CRNCYSTR.
26477         * locale/C-monetary.c (conversion_rate): New variable.
26478         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26479         element.
26481 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26483         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26484         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26486 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26488         * elf/Makefile (tst-auxv): New test.
26489         * elf/tst-auxv.c: New
26490         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26492 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26494         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26495         (hidden_proto): Caller changed.
26496         (hidden_tls_proto): New macro.
26497         (libc_hidden_tls_proto): Likewise.
26498         (rtld_hidden_tls_proto): Likewise.
26499         (libm_hidden_tls_proto): Likewise.
26500         (libresolv_hidden_tls_proto): Likewise.
26501         (librt_hidden_tls_proto): Likewise.
26502         (libdl_hidden_tls_proto): Likewise.
26503         (libnss_files_hidden_tls_proto): Likewise.
26504         (libnsl_hidden_tls_proto): Likewise.
26505         (libnss_nisplus_hidden_tls_proto): Likewise.
26506         (libutil_hidden_tls_proto): Likewise.
26508 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26510         [BZ #10253]
26511         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26512         (decompose_rpath): Defer expansion to fillin_rpath.
26513         (_dl_init_paths): Pass linkmap to fillin_rpath.
26515 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26517         * benchtests/Makefile: Add strsep.
26518         * benchtests/bench-strsep.c: New file: strsep benchtest.
26519         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26521 2013-11-18  Andreas Schwab  <schwab@suse.de>
26523         * locale/programs/locale.c (show_info) [case byte]: Check for
26524         '\377' instead of '\177'.
26525         * locale/C-monetary.c (not_available): Always use "\377".
26526         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26527         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26528         detect unavailable sign_posn locale elements.
26529         * locale/localeconv.c (__localeconv): For grouping and
26530         mon_grouping handle "\177" and "\377" like no grouping.
26531         (INT_ELEM): New macro.  Use it to set all numeric members.
26532         * locale/programs/ld-monetary.c (monetary_read)
26533         <tok_mon_grouping>: Normalize single -1 to the empty string.
26534         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26535         Likewise.
26537 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26539         [BZ #16055]
26540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26541         when we match (nil).
26542         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26544 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26546         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26547         (NO_TEST_INLINE): Update value.
26548         (ERRNO_UNCHANGED): Likewise.
26549         (ERRNO_EDOM): Likewise.
26550         (ERRNO_ERANGE): Likewise.
26551         (IGNORE_RESULT): Likewise.
26552         (check_float_internal): Check signs of NaN results if
26553         TEST_NAN_SIGN used.
26554         (check_complex): Pass TEST_NAN_SIGN flag through to second
26555         check_float_internal call.
26556         (copysign_test_data): Add tests with quiet NaNs as second
26557         argument.  Use TEST_NAN_SIGN.
26558         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26559         TEST_NAN_SIGN.
26560         (signbit_test_data): Add tests of quiet NaN argument.
26561         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26563         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26564         $ignore_result.
26565         (parse_args): Handle function results specified as IGNORE.
26566         * math/libm-test.inc (IGNORE_RESULT): New macro.
26567         (check_float_internal): Do not check numerical result if flag
26568         IGNORE_RESULT set.
26569         (check_complex): Pass through IGNORE_RESULT to second
26570         check_float_internal call.
26571         (check_int): Do not check numerical result if flag IGNORE_RESULT
26572         set.
26573         (check_long): Likewise.
26574         (check_bool): Likewise.
26575         (check_longlong): Likewise.
26576         (lrint_test_data): Add tests of infinite and NaN arguments.
26577         (lrint_tonearest_test_data): Likewise.
26578         (lrint_towardzero_test_data): Likewise.
26579         (lrint_downward_test_data): Likewise.
26580         (lrint_upward_test_data): Likewise.
26581         (llrint_test_data): Likewise.
26582         (llrint_tonearest_test_data): Likewise.
26583         (llrint_towardzero_test_data): Likewise.
26584         (llrint_downward_test_data): Likewise.
26585         (llrint_upward_test_data): Likewise.
26586         (lround_test_data): Likewise.
26587         (llround_test_data): Likewise.
26589         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26590         (ERRNO_UNCHANGED): Update value.
26591         (ERRNO_EDOM): Likewise.
26592         (ERRNO_ERANGE): Likewise.
26593         (NO_TEST_INLINE_FLOAT): New macro.
26594         (NO_TEST_INLINE_DOUBLE): Likewise.
26595         (enable_test): New function.
26596         (RUN_TEST_f_f): Check enable_test before running test.
26597         (RUN_TEST_2_f): Likewise.
26598         (RUN_TEST_fff_f): Likewise.
26599         (RUN_TEST_c_f): Likewise.
26600         (RUN_TEST_f_f1): Likewise.
26601         (RUN_TEST_fF_f1): Likewise.
26602         (RUN_TEST_fI_f1): Likewise.
26603         (RUN_TEST_ffI_f1): Likewise.
26604         (RUN_TEST_c_c): Likewise.
26605         (RUN_TEST_cc_c): Likewise.
26606         (RUN_TEST_f_i): Likewise.
26607         (RUN_TEST_f_i_tg): Likewise.
26608         (RUN_TEST_ff_i_tg): Likewise.
26609         (RUN_TEST_f_b): Likewise.
26610         (RUN_TEST_f_b_tg): Likewise.
26611         (RUN_TEST_f_l): Likewise.
26612         (RUN_TEST_f_L): Likewise.
26613         (RUN_TEST_fFF_11): Likewise.
26614         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26615         conditionals.
26616         (cosh_test_data): Likewise.
26617         (exp_test_data): Likewise.
26618         (expm1_test_data): Likewise.
26619         (hypot_test_data): Likewise.
26620         (pow_test_data): Likewise.
26621         (sinh_test_data): Likewise.
26622         (tanh_test_data): Likewise.
26623         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26624         flags argument.
26626         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26627         tests with quiet NaN input and output.
26628         (acosh_test_data): Likewise.
26629         (asin_test_data): Likewise.
26630         (asinh_test_data): Likewise.
26631         (atan_test_data): Likewise.
26632         (atanh_test_data): Likewise.
26633         (atan2_test_data): Likewise.
26634         (cbrt_test_data): Likewise.
26635         (cos_test_data): Likewise.
26636         (cosh_test_data): Likewise.
26637         (erf_test_data): Likewise.
26638         (erfc_test_data): Likewise.
26639         (exp_test_data): Likewise.
26640         (exp10_test_data): Likewise.
26641         (exp2_test_data): Likewise.
26642         (expm1_test_data): Likewise.
26643         (hypot_test_data): Likewise.
26644         (j0_test_data): Likewise.
26645         (j1_test_data): Likewise.
26646         (jn_test_data): Likewise.
26647         (lgamma_test_data): Likewise.
26648         (log_test_data): Likewise.
26649         (log10_test_data): Likewise.
26650         (log1p_test_data): Likewise.
26651         (log2_test_data): Likewise.
26652         (pow_test_data): Likewise.
26653         (scalb_test_data): Likewise.
26654         (sin_test_data): Likewise.
26655         (sincos_test_data): Likewise.
26656         (sinh_test_data): Likewise.
26657         (tan_test_data): Likewise.
26658         (tanh_test_data): Likewise.
26659         (tgamma_test_data): Likewise.
26660         (y0_test_data): Likewise.
26661         (y1_test_data): Likewise.
26662         (yn_test_data): Likewise.
26664         [BZ #16167]
26665         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26666         argument being NaN and avoid computations with second argument in
26667         that case.
26668         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26669         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26670         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26672 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26674         * locale/iso-639.def: Add Chitwani Tharu (the).
26676 2013-11-14  Andreas Schwab  <schwab@suse.de>
26678         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26679         word instead of empty string.
26681 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26684         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26686         (__fe_nomask_env): Likewise.
26688 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26690         * benchtests/bench-timing.h: Include time.h.
26692 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26694         [BZ #15997]
26695         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26696         to 3.4.0 for x32.
26697         * sysdeps/unix/sysv/linux/configure: Regenerated.
26699 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26701         [BZ #16151]
26702         * stdlib/strtod_l.c (round_and_return): Do not consider
26703         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26704         exponent one less than half the least subnormal exponent.
26705         * stdlib/test-strtod-round-data: Add more tests.
26706         * stdlib/tst-strtod-round.c (tests): Regenerated.
26708 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26710         [BZ #14143]
26711         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26712         (__fe_mask_env): Likewise.
26713         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26714         libm_hidden_proto and add function prototype.
26715         (__fe_mask_env): Add function prototype.
26716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26717         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26719         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26721         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26723 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26725         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26726         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26728 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26730         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26731         of htab_find_slot().
26733 2013-11-11  David S. Miller  <davem@davemloft.net>
26735         [BZ #16150]
26736         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26737         symbol in the non-vis3 case in static builds.
26738         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26740         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26741         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26743 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26745         [BZ #387]
26746         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26747         it is empty.
26749 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26751         * benchtests/Makefile: Add bench-strtod.
26752         * benchtests/bench-strtod.c: New file: strtod benchtest
26754 2013-11-11  Andreas Schwab  <schwab@suse.de>
26756         [BZ #16153]
26757         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26758         terminating NUL in key length.
26760 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26763         Add artificial ODP entry for vDSO symbol for PPC64.
26764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26765         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26767 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26769         [BZ #15374]
26770         * nss/getent.c (services_keys): Recognize services starting with digit.
26772 2013-11-06  David S. Miller  <davem@davemloft.net>
26774         [BZ #15985]
26775         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26776         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26778 2013-11-06  Will Newton  <will.newton@linaro.org>
26780         * manual/memory.texi (Malloc Examples): Remove register
26781         keyword from examples.
26783 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26785         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26787 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26789         [BZ #6981]
26790         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26791         depending on [__GCC_IEC_559 > 0].
26792         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26793         depending on [__GCC_IEC_559_COMPLEX > 0].
26795 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26797         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26798         to iso-639.def.
26800 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26802         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26804 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26806         [BZ #16112]
26807         * malloc/malloc (malloc_info): Do not handle first bin as
26808         special case.
26810 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26812         * locale/iso-639.def: Add Central Nahuatl (nhn).
26814 2013-11-01  Bruno Haible  <bruno@clisp.org>
26816         [BZ #7003]
26817         * manual/math.texi (BSD Random): Specify range upper bound as
26818         in POSIX.
26820 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26822         * locale/iso-639.def: Add Meadow Mari (mhr).
26824 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26826         [BZ #14752], [BZ #15763]
26827         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26828         Validate name.
26829         * rt/tst_shm.c: Add test for escaping directory.
26831 2013-10-31  Andreas Schwab  <schwab@suse.de>
26833         [BZ #15917]
26834         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26835         followed by 'x' as part of digit sequence.
26836         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26838 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26840         [BZ #16037]
26841         * configure.ac: allow GNU Make 4.0 and greater.
26842         * configure: Regenerated.
26844 2013-10-30  Will Newton  <will.newton@linaro.org>
26846         [BZ #16038]
26847         * malloc/hooks.c (memalign_check): Limit alignment to the
26848         maximum representable power of two.
26849         * malloc/malloc.c (__libc_memalign): Likewise.
26850         * malloc/tst-memalign.c (do_test): Add test for very
26851         large alignment values.
26852         * malloc/tst-posix_memalign.c (do_test): Likewise.
26854 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26856         [BZ #11087]
26857         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26858         (munmap_chunk): Likewise.
26859         (mremap_chunk): Likewise.
26861 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26863         [BZ #15799]
26864         * stdlib/div.c (div): Remove obsolete code.
26865         * stdlib/ldiv.c (ldiv): Likewise.
26866         * stdlib/lldiv.c (lldiv): Likewise.
26868 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870         [BZ #16071]
26871         * nss/nss_files/files-XXX.c (get_contents_ret): New
26872         enumerator.
26873         (get_contents): New function.
26874         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26876 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26878         * configure.in: Moved to ...
26879         * configure.ac: ... here. Change reference to configure.in
26880         to configure.ac.
26881         * sysdeps/arm/preconfigure.ac: ... here.
26882         configure.in to configure.ac.
26883         * sysdeps/gnu/configure.in: Moved to ...
26884         * sysdeps/gnu/configure.ac: ... here.
26885         * sysdeps/i386/configure.in: Moved to ...
26886         * sysdeps/i386/configure.ac: ... here.
26887         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26888         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26889         * sysdeps/mach/configure.in: Moved to ...
26890         * sysdeps/mach/configure.ac: ... here.
26891         * sysdeps/mach/hurd/configure.in: Moved to ...
26892         * sysdeps/mach/hurd/configure.ac: ... here.
26893         * sysdeps/powerpc/configure.in: Moved to ...
26894         * sysdeps/powerpc/configure.ac: ... here.
26895         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26896         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26897         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26898         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26899         * sysdeps/s390/s390-32/configure.in: Moved to ...
26900         * sysdeps/s390/s390-32/configure.ac: ... here.
26901         * sysdeps/s390/s390-64/configure.in: Moved to ...
26902         * sysdeps/s390/s390-64/configure.ac: ... here.
26903         * sysdeps/sh/configure.in: Moved to ...
26904         * sysdeps/sh/configure.ac: ... here.
26905         * sysdeps/sparc/configure.in: Moved to ...
26906         * sysdeps/sparc/configure.ac: ... here.
26907         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26908         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26909         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26910         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26911         * sysdeps/x86_64/configure.in: Moved to ...
26912         * sysdeps/x86_64/configure.ac: ... here.
26913         * sysdeps/x86_64/preconfigure.in: Moved to ...
26914         * sysdeps/x86_64/preconfigure.ac: ... here.
26915         * aclocal.m4: Change reference to configure.in to configure.ac.
26916         * config.h.in: Likewise.
26917         * manual/install.texi: Likewise.
26918         * manual/maint.texi: Likewise.
26919         * Makefile: Likewise.
26920         * malloc/Makefile: Likewise.
26921         * nscd/Makefile: Likewise.
26922         * Makeconfig: Change reference to configure.in and
26923         preconfigure.in to configure.ac and preconfigure.ac
26924         respectively.
26925         * INSTALL: Regenerated.
26926         * configure: Likewise.
26927         * sysdeps/gnu/configure: Likewise.
26928         * sysdeps/i386/configure: Likewise.
26929         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26930         * sysdeps/mach/configure: Likewise.
26931         * sysdeps/mach/hurd/configure: Likewise.
26932         * sysdeps/powerpc/configure: Likewise.
26933         * sysdeps/powerpc/powerpc32/configure: Likewise.
26934         * sysdeps/powerpc/powerpc64/configure: Likewise.
26935         * sysdeps/s390/s390-32/configure: Likewise.
26936         * sysdeps/s390/s390-64/configure: Likewise.
26937         * sysdeps/sh/configure: Likewise.
26938         * sysdeps/sparc/configure: Likewise.
26939         * sysdeps/unix/sysv/linux/configure: Likewise.
26940         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26941         * sysdeps/x86_64/configure: Likewise.
26942         * sysdeps/x86_64/preconfigure: Likewise.
26944 2013-10-29  Andreas Schwab  <schwab@suse.de>
26946         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26948 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26950         * benchtests/pow-inputs: Add new inputs.
26952         * benchtests/exp-inputs: Add new inputs.
26954         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26955         conditional check for return value.
26956         (__cos32): Likewise.
26958 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26960         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26961         to provide a boost for large inputs with word alignment.
26962         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26963         implementation based on optimized PPC64 strcpy.
26964         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26965         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26966         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26967         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26969 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26971         [BZ #2801]
26972         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26974 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26976         [BZ #14876]
26977         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26978         * time/tst-strptime.c (day_tests): Add testcase.
26980 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26982         [BZ #14029]
26983         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26985 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26987         [BZ #16074]
26988         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26989         MAP_FAILED on error.
26991 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26993         [BZ #16072]
26994         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26995         heap for large requests.
26997 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26999         [BZ #9954]
27000         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27001         result if the result has no associated interface.
27002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27003         interface for all 127.X.Y.Z addresses.
27005 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27007         * locale/iso-639.def: Add Ligurian (lij)
27009 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27011         [BZ #15825]
27012         * sunrpc/rpc_main.c: Document rpcgen -5.
27014 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27016         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27018 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27020         [BZ #10278]
27021         * posix/glob.c: Match only directories when trailing slash is present.
27022         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27023         (main): Add testcase.
27025 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27027         [BZ #15670]
27028         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27030 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27032         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27033         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27034         AUTH_DES and cindex for FIPS 140-2.
27035         (DES Encryption): Add cindex FIPS 46-3.
27037         * locale/locarchive.h (struct locarhandle): Add fname.
27038         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27039         if an optional argument was specified to --list-archive,
27040         otherwise NULL.
27041         * locale/programs/locarchive.c (show_archive_content): Take new
27042         argument fname and pass it via ah.fname to open_archive.
27043         * locale/programs/localedef.h: Update decl.
27044         (open_archive): If AH->fname is non-null, open that file
27045         rather than the default file name, and don't ignore ENOENT.
27046         (create_archive): Set AH.fname to NULL.
27047         (delete_locales_from_archive): Likewise.
27048         (add_locales_to_archive): Likewise.
27049         * locale/programs/locfile.c (write_all_categories): Likewise.
27051 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27052             Aldy Hernandez  <aldyh@redhat.com>
27054         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27055         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27056         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27057         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27058         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27059         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27062         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27065         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27066         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27067         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27068         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27069         Likewise.
27070         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27071         Likewise.
27072         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27073         Likewise.
27074         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27075         Likewise.
27076         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27077         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27078         Likewise.
27079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27080         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27081         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27082         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27083         Likewise.
27084         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27085         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27086         * sysdeps/powerpc/preconfigure: Likewise.
27087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27088         Likewise.
27089         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27090         Replace contents of file by #include of <fenv_libc.h>.
27091         * sysdeps/powerpc/soft-fp/sfp-machine.h
27092         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27093         and <sys/prctl.h>.
27094         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27107         Allow copysignl PLT reference to be missing.
27109 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27110             Joseph Myers  <joseph@codesourcery.com
27112         [BZ #15948]
27113         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27114         single character.
27115         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27117 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27119         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27120         * elf/tst-tls1.c: Likewise.
27121         * elf/tst-tls10.h: Likewise.
27122         * elf/tst-tls14.c: Likewise.
27123         * elf/tst-tls2.c: Likewise.
27124         * elf/tst-tls3.c: Likewise.
27125         * elf/tst-tls4.c: Likewise.
27126         * elf/tst-tls5.c: Likewise.
27127         * elf/tst-tls6.c: Likewise.
27128         * elf/tst-tls7.c: Likewise.
27129         * elf/tst-tls8.c: Likewise.
27130         * elf/tst-tls9.c: Likewise.
27131         * elf/tst-tlsmod1.c: Likewise.
27132         * elf/tst-tlsmod13.c: Likewise.
27133         * elf/tst-tlsmod13a.c: Likewise.
27134         * elf/tst-tlsmod14a.c: Likewise.
27135         * elf/tst-tlsmod16a.c: Likewise.
27136         * elf/tst-tlsmod16b.c: Likewise.
27137         * elf/tst-tlsmod2.c: Likewise.
27138         * elf/tst-tlsmod3.c: Likewise.
27139         * elf/tst-tlsmod4.c: Likewise.
27140         * elf/tst-tlsmod5.c: Likewise.
27141         * elf/tst-tlsmod6.c: Likewise.
27143 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27145         [BZ #12486]
27146         * malloc/malloc.c: remove checks for statistics.
27148 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27150         [BZ #15277]
27151         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27152         * inet/tst-network.c: Add testcase.
27154 2013-10-17  Andreas Schwab  <schwab@suse.de>
27156         [BZ #15218]
27157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27158         to determine canonical name.
27160 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27162         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27163         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27167         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27169         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27170         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27177         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27179         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27180         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27181         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27182         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27185         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27186         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27188         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27189         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27190         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27191         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27192         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27193         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27194         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27195         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27196         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27197         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27198         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27199         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27200         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27202         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27203         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27204         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27205         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27206         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27209         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27210         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27212         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27215         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27216         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27217         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27219         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27221 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27223         [BZ #16041]
27224         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27225         make result into a quiet NaN.
27227 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27229         * soft-fp/adddf3.c: Fix horizontal whitespace.
27230         * soft-fp/addsf3.c: Likewise.
27231         * soft-fp/addtf3.c: Likewise.
27232         * soft-fp/divdf3.c: Likewise.
27233         * soft-fp/divsf3.c: Likewise.
27234         * soft-fp/divtf3.c: Likewise.
27235         * soft-fp/double.h: Likewise.
27236         * soft-fp/eqdf2.c: Likewise.
27237         * soft-fp/eqsf2.c: Likewise.
27238         * soft-fp/eqtf2.c: Likewise.
27239         * soft-fp/extenddftf2.c: Likewise.
27240         * soft-fp/extended.h: Likewise.
27241         * soft-fp/extendsfdf2.c: Likewise.
27242         * soft-fp/extendsftf2.c: Likewise.
27243         * soft-fp/extendxftf2.c: Likewise.
27244         * soft-fp/fixdfdi.c: Likewise.
27245         * soft-fp/fixdfsi.c: Likewise.
27246         * soft-fp/fixdfti.c: Likewise.
27247         * soft-fp/fixsfdi.c: Likewise.
27248         * soft-fp/fixsfsi.c: Likewise.
27249         * soft-fp/fixsfti.c: Likewise.
27250         * soft-fp/fixtfdi.c: Likewise.
27251         * soft-fp/fixtfsi.c: Likewise.
27252         * soft-fp/fixtfti.c: Likewise.
27253         * soft-fp/fixunsdfdi.c: Likewise.
27254         * soft-fp/fixunsdfsi.c: Likewise.
27255         * soft-fp/fixunsdfti.c: Likewise.
27256         * soft-fp/fixunssfdi.c: Likewise.
27257         * soft-fp/fixunssfsi.c: Likewise.
27258         * soft-fp/fixunssfti.c: Likewise.
27259         * soft-fp/fixunstfdi.c: Likewise.
27260         * soft-fp/fixunstfsi.c: Likewise.
27261         * soft-fp/fixunstfti.c: Likewise.
27262         * soft-fp/floatdidf.c: Likewise.
27263         * soft-fp/floatdisf.c: Likewise.
27264         * soft-fp/floatditf.c: Likewise.
27265         * soft-fp/floatsidf.c: Likewise.
27266         * soft-fp/floatsisf.c: Likewise.
27267         * soft-fp/floatsitf.c: Likewise.
27268         * soft-fp/floattidf.c: Likewise.
27269         * soft-fp/floattisf.c: Likewise.
27270         * soft-fp/floattitf.c: Likewise.
27271         * soft-fp/floatundidf.c: Likewise.
27272         * soft-fp/floatundisf.c: Likewise.
27273         * soft-fp/floatunditf.c: Likewise.
27274         * soft-fp/floatunsidf.c: Likewise.
27275         * soft-fp/floatunsisf.c: Likewise.
27276         * soft-fp/floatunsitf.c: Likewise.
27277         * soft-fp/floatuntidf.c: Likewise.
27278         * soft-fp/floatuntisf.c: Likewise.
27279         * soft-fp/floatuntitf.c: Likewise.
27280         * soft-fp/fmadf4.c: Likewise.
27281         * soft-fp/fmasf4.c: Likewise.
27282         * soft-fp/fmatf4.c: Likewise.
27283         * soft-fp/gedf2.c: Likewise.
27284         * soft-fp/gesf2.c: Likewise.
27285         * soft-fp/getf2.c: Likewise.
27286         * soft-fp/ledf2.c: Likewise.
27287         * soft-fp/lesf2.c: Likewise.
27288         * soft-fp/letf2.c: Likewise.
27289         * soft-fp/muldf3.c: Likewise.
27290         * soft-fp/mulsf3.c: Likewise.
27291         * soft-fp/multf3.c: Likewise.
27292         * soft-fp/negdf2.c: Likewise.
27293         * soft-fp/negsf2.c: Likewise.
27294         * soft-fp/negtf2.c: Likewise.
27295         * soft-fp/op-1.h: Likewise.
27296         * soft-fp/op-2.h: Likewise.
27297         * soft-fp/op-4.h: Likewise.
27298         * soft-fp/op-8.h: Likewise.
27299         * soft-fp/op-common.h: Likewise.
27300         * soft-fp/quad.h: Likewise.
27301         * soft-fp/single.h: Likewise.
27302         * soft-fp/soft-fp.h: Likewise.
27303         * soft-fp/sqrtdf2.c: Likewise.
27304         * soft-fp/sqrtsf2.c: Likewise.
27305         * soft-fp/sqrttf2.c: Likewise.
27306         * soft-fp/subdf3.c: Likewise.
27307         * soft-fp/subsf3.c: Likewise.
27308         * soft-fp/subtf3.c: Likewise.
27309         * soft-fp/truncdfsf2.c: Likewise.
27310         * soft-fp/trunctfdf2.c: Likewise.
27311         * soft-fp/trunctfsf2.c: Likewise.
27312         * soft-fp/trunctfxf2.c: Likewise.
27313         * soft-fp/unorddf2.c: Likewise.
27314         * soft-fp/unordsf2.c: Likewise.
27315         * soft-fp/unordtf2.c: Likewise.
27317 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27319         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27320         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27322 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27324         * elf/dl-libc.c: Clear initfini list after freeing.
27326 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27328         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27329         * soft-fp/addsf3.c: Likewise.
27330         * soft-fp/addtf3.c: Likewise.
27331         * soft-fp/divdf3.c: Likewise.
27332         * soft-fp/divsf3.c: Likewise.
27333         * soft-fp/divtf3.c: Likewise.
27334         * soft-fp/double.h: Likewise.
27335         * soft-fp/eqdf2.c: Likewise.
27336         * soft-fp/eqsf2.c: Likewise.
27337         * soft-fp/eqtf2.c: Likewise.
27338         * soft-fp/extenddftf2.c: Likewise.
27339         * soft-fp/extended.h: Likewise.
27340         * soft-fp/extendsfdf2.c: Likewise.
27341         * soft-fp/extendsftf2.c: Likewise.
27342         * soft-fp/extendxftf2.c: Likewise.
27343         * soft-fp/fixdfdi.c: Likewise.
27344         * soft-fp/fixdfsi.c: Likewise.
27345         * soft-fp/fixdfti.c: Likewise.
27346         * soft-fp/fixsfdi.c: Likewise.
27347         * soft-fp/fixsfsi.c: Likewise.
27348         * soft-fp/fixsfti.c: Likewise.
27349         * soft-fp/fixtfdi.c: Likewise.
27350         * soft-fp/fixtfsi.c: Likewise.
27351         * soft-fp/fixtfti.c: Likewise.
27352         * soft-fp/fixunsdfdi.c: Likewise.
27353         * soft-fp/fixunsdfsi.c: Likewise.
27354         * soft-fp/fixunsdfti.c: Likewise.
27355         * soft-fp/fixunssfdi.c: Likewise.
27356         * soft-fp/fixunssfsi.c: Likewise.
27357         * soft-fp/fixunssfti.c: Likewise.
27358         * soft-fp/fixunstfdi.c: Likewise.
27359         * soft-fp/fixunstfsi.c: Likewise.
27360         * soft-fp/fixunstfti.c: Likewise.
27361         * soft-fp/floatdidf.c: Likewise.
27362         * soft-fp/floatdisf.c: Likewise.
27363         * soft-fp/floatditf.c: Likewise.
27364         * soft-fp/floatsidf.c: Likewise.
27365         * soft-fp/floatsisf.c: Likewise.
27366         * soft-fp/floatsitf.c: Likewise.
27367         * soft-fp/floattidf.c: Likewise.
27368         * soft-fp/floattisf.c: Likewise.
27369         * soft-fp/floattitf.c: Likewise.
27370         * soft-fp/floatundidf.c: Likewise.
27371         * soft-fp/floatundisf.c: Likewise.
27372         * soft-fp/floatunsidf.c: Likewise.
27373         * soft-fp/floatunsisf.c: Likewise.
27374         * soft-fp/floatuntidf.c: Likewise.
27375         * soft-fp/floatuntisf.c: Likewise.
27376         * soft-fp/floatuntitf.c: Likewise.
27377         * soft-fp/fmadf4.c: Likewise.
27378         * soft-fp/fmasf4.c: Likewise.
27379         * soft-fp/fmatf4.c: Likewise.
27380         * soft-fp/gedf2.c: Likewise.
27381         * soft-fp/gesf2.c: Likewise.
27382         * soft-fp/getf2.c: Likewise.
27383         * soft-fp/ledf2.c: Likewise.
27384         * soft-fp/lesf2.c: Likewise.
27385         * soft-fp/letf2.c: Likewise.
27386         * soft-fp/muldf3.c: Likewise.
27387         * soft-fp/mulsf3.c: Likewise.
27388         * soft-fp/multf3.c: Likewise.
27389         * soft-fp/negdf2.c: Likewise.
27390         * soft-fp/negsf2.c: Likewise.
27391         * soft-fp/negtf2.c: Likewise.
27392         * soft-fp/op-1.h: Likewise.
27393         * soft-fp/op-2.h: Likewise.
27394         * soft-fp/op-4.h: Likewise.
27395         * soft-fp/op-8.h: Likewise.
27396         * soft-fp/op-common.h: Likewise.
27397         * soft-fp/quad.h: Likewise.
27398         * soft-fp/single.h: Likewise.
27399         * soft-fp/soft-fp.h: Likewise.
27400         * soft-fp/sqrtdf2.c: Likewise.
27401         * soft-fp/sqrtsf2.c: Likewise.
27402         * soft-fp/sqrttf2.c: Likewise.
27403         * soft-fp/subdf3.c: Likewise.
27404         * soft-fp/subsf3.c: Likewise.
27405         * soft-fp/subtf3.c: Likewise.
27406         * soft-fp/truncdfsf2.c: Likewise.
27407         * soft-fp/trunctfdf2.c: Likewise.
27408         * soft-fp/trunctfsf2.c: Likewise.
27409         * soft-fp/trunctfxf2.c: Likewise.
27410         * soft-fp/unorddf2.c: Likewise.
27411         * soft-fp/unordsf2.c: Likewise.
27412         * soft-fp/unordtf2.c: Likewise.
27414 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27416         [BZ #15672]
27417         * misc/error.c (error_tail): Fix possible buffer overflow.
27419 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27421         [BZ #13028]
27422         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27423         address.
27425 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27427         [BZ #832]
27428         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27429         testing pipefail option.
27431 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27433         * soft-fp/double.h: Indent preprocessor directives inside #if.
27434         * soft-fp/extended.h: Likewise.
27435         * soft-fp/op-2.h: Likewise.
27436         * soft-fp/op-4.h: Likewise.
27437         * soft-fp/op-common.h: Likewise.
27438         * soft-fp/quad.h: Likewise.
27439         * soft-fp/single.h: Likewise.
27440         * soft-fp/soft-fp.h: Likewise.
27442 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27444         * iconv/iconv_prog.c: Fix typos.
27445         * stdio-common/psiginfo-data.h: Likewise.
27447 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27449         [BZ #15764]
27450         * locale/setlocale.c: Fix typo.
27452 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27454         [BZ #16036]
27455         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27456         signaling NaN arguments.
27457         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27458         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27460         [BZ #14910]
27461         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27462         unordered operands.
27463         * soft-fp/gesf2.c (__gesf2): Likewise.
27464         * soft-fp/getf2.c (__getf2): Likewise.
27465         * soft-fp/ledf2.c (__ledf2): Likewise.
27466         * soft-fp/lesf2.c (__lesf2): Likewise.
27467         * soft-fp/letf2.c (__letf2): Likewise.
27469         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27470         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27471         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27472         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27473         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27474         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27475         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27476         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27477         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27478         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27479         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27480         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27481         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27482         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27483         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27484         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27485         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27486         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27487         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27488         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27489         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27490         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27491         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27492         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27493         * soft-fp/floattidf.c (__floattidf): Likewise.
27494         * soft-fp/floattisf.c (__floattisf): Likewise.
27495         * soft-fp/floattitf.c (__floattitf): Likewise.
27496         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27497         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27498         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27499         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27500         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27501         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27502         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27503         * soft-fp/gesf2.c (__gesf2): Likewise.
27504         * soft-fp/getf2.c (__getf2): Likewise.
27505         * soft-fp/ledf2.c (__ledf2): Likewise.
27506         * soft-fp/lesf2.c (__lesf2): Likewise.
27507         * soft-fp/letf2.c (__letf2): Likewise.
27509         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27510         Undefine and redefine.
27511         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27512         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27513         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27514         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27515         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27516         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27517         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27518         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27519         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27520         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27521         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27522         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27523         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27524         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27525         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27527         [BZ #16032]
27528         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27529         without decrementing exponent if mantissa >= that for the
27530         denominator, not >.
27531         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27532         denominator, not >.  Decrement exponent in < case instead of
27533         incrementing in >= case.
27534         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27535         without decrementing exponent if mantissa >= that for the
27536         denominator, not >.
27538         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27539         computing saturated result for unsigned overflow.
27541 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27542             Jeff Law  <law@redhat.com>
27544         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27545         (atan2Mp): Add systemtap probe marker.
27546         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27547         (__ieee754_log): Add systemtap probe marker.
27548         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27549         (atanMp): Add systemtap probe marker.
27550         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27551         (tanMp): Add systemtap probe marker.
27552         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27553         (__slowexp): Add systemtap probe marker.
27554         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27555         (__slowpow): Add systemtap probe marker.
27556         * manual/probes.texi: Document probes.
27558 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27560         [BZ #15362]
27561         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27562         written.
27563         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27564         written.
27565         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27566         written to buffer but not flushed.
27567         * libio/iofwrite_u.c:  Likewise.
27568         * libio/iopadn.c:  Return bytes returned even if EOF was
27569         encountered.
27570         * libio/iowpadn.c:  Likewise.
27571         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27572         if _IO_padn does not write the whole buffer.
27573         [!COMPILE_WPRINTF] (PAD): Likewise.
27575 2013-10-10  David S. Miller  <davem@davemloft.net>
27577         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27578         directory block.
27580 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27582         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27583         instead of FSF address.
27584         * soft-fp/fixdfti.c: Likewise.
27585         * soft-fp/fixsfti.c: Likewise.
27586         * soft-fp/fixtfti.c: Likewise.
27587         * soft-fp/fixunsdfti.c: Likewise.
27588         * soft-fp/fixunssfti.c: Likewise.
27589         * soft-fp/fixunstfti.c: Likewise.
27590         * soft-fp/floattidf.c: Likewise.
27591         * soft-fp/floattisf.c: Likewise.
27592         * soft-fp/floattitf.c: Likewise.
27593         * soft-fp/floatuntidf.c: Likewise.
27594         * soft-fp/floatuntisf.c: Likewise.
27595         * soft-fp/floatuntitf.c: Likewise.
27596         * soft-fp/trunctfxf2.c: Likewise.
27598         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27599         * soft-fp/fixdfti.c: Likewise.
27600         * soft-fp/fixsfti.c: Likewise.
27601         * soft-fp/fixtfti.c: Likewise.
27602         * soft-fp/fixunsdfti.c: Likewise.
27603         * soft-fp/fixunssfti.c: Likewise.
27604         * soft-fp/fixunstfti.c: Likewise.
27605         * soft-fp/floattidf.c: Likewise.
27606         * soft-fp/floattisf.c: Likewise.
27607         * soft-fp/floattitf.c: Likewise.
27608         * soft-fp/floatuntidf.c: Likewise.
27609         * soft-fp/floatuntisf.c: Likewise.
27610         * soft-fp/floatuntitf.c: Likewise.
27611         * soft-fp/trunctfxf2.c: Likewise.
27613 2013-10-10  David S. Miller  <davem@davemloft.net>
27615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27617 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27619         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27620         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27621         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27622         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27623         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27624         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27625         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27628         for NaNs before doing comparisons on argument.
27629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27630         Likewise.
27632 2013-10-10  Will Newton  <will.newton@linaro.org>
27634         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27635         passed to _int_memalign does not overflow.
27637 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27639         * scripts/bench.pl: Add include-sources directive.
27640         * benchtests/README: Update documentation.
27642 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27644         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27645         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27646         instead of FP_INIT_ROUNDMODE.
27647         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27648         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27650         [BZ #16034]
27651         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27652         copy class of input value.
27653         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27654         not handle exceptions.
27655         * soft-fp/negsf2.c (__negsf2): Likewise.
27656         * soft-fp/negtf2.c (__negtf2): Likewise.
27657         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27659 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27661         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27662         semicolon.  From Linux kernel.
27664 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27668 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27670         [BZ #156]
27671         * manual/socket.texi: Added statement about buffer
27672         for gethostbyname2_r.
27674 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27676         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27677         Use .p2align directive instead, throughout.
27678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27679         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27680         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27683         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27684         * sysdeps/x86_64/strchr.S: Likewise.
27685         * sysdeps/x86_64/strrchr.S: Likewise.
27687 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27689         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27691         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27693         * sysdeps/generic/math_private.h (__mpsin1): Remove
27694         declaration.
27695         (__mpcos1): Likewise.
27696         (__mpsin): New argument __range_reduce.
27697         (__mpcos): Likewise.
27698         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27699         (slow): Use __mpsin and __mpcos.
27700         (slow1): Likewise.
27701         (slow2): Likewise.
27702         (sloww): Likewise.
27703         (sloww1): Likewise.
27704         (sloww2): Likewise.
27705         (bsloww): Likewise.
27706         (bsloww1): Likewise.
27707         (bsloww2): Likewise.
27708         (cslow2): Likewise.
27709         (csloww): Likewise.
27710         (csloww1): Likewise.
27711         (csloww2): Likewise.
27712         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27713         range_reduce.  Merge in __mpsin1.
27714         (__mpcos): Likewise.
27715         (__mpsin1): Remove.
27716         (__mpcos1): Likewise.
27718 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27720         * locale/loadlocale.c (_nl_intern_locale_data): Use
27721         LOCFILE_ALIGNED_P.
27722         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27723         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27724         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27725         obstack data is appropriately aligned.
27726         (obstack_int32_grow_fast): Likewise.
27727         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27728         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27729         (add_locale_uint32_array): Likewise.
27731 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27733         * benchtests/Makefile: Remove ARGLIST and RET variables.
27734         ($(objpfx)bench-%.c): Pass only function name to the script.
27735         * benchtests/README: Update documentation.
27736         * benchtests/acos-inputs: Add new directives.
27737         * benchtests/acosh-inputs: Likewise.
27738         * benchtests/asin-inputs: Likewise.
27739         * benchtests/asinh-inputs: Likewise.
27740         * benchtests/atan-inputs: Likewise.
27741         * benchtests/atanh-inputs: Likewise.
27742         * benchtests/cos-inputs: Likewise.
27743         * benchtests/cosh-inputs: Likewise.
27744         * benchtests/exp-inputs: Likewise.
27745         * benchtests/log-inputs: Likewise.
27746         * benchtests/pow-inputs: Likewise.
27747         * benchtests/rint-inputs: Likewise.
27748         * benchtests/sin-inputs: Likewise.
27749         * benchtests/sinh-inputs: Likewise.
27750         * benchtests/tan-inputs: Likewise.
27751         * benchtests/tanh-inputs: Likewise.
27752         * scripts/bench.pl: Add support for new directives.
27754 2013-10-07  Alan Modra  <amodra@gmail.com>
27756         * README: Fix careless merge.
27758 2013-10-05  Alan Modra  <amodra@gmail.com>
27760         * NEWS: Mention powerpc64le support and bugs fixed.
27761         * README: Both big-endian and little-endian powerpc64 supported.
27763 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27765         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27766         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27767         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27768         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27770 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27772         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27773         match prototype.
27775 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27777         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27778         Move -mhard-float appending from
27779         ports/sysdeps/powerpc/powerpc32/Makefile.
27780         [$(with-fp) = yes] (ASFLAGS): Likewise.
27781         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27782         * sysdeps/powerpc/nofpu: Move directory from
27783         ports/sysdeps/powerpc/nofpu.
27784         * sysdeps/powerpc/soft-fp: Move directory from
27785         ports/sysdeps/powerpc/soft-fp.
27786         * sysdeps/powerpc/powerpc32/405: Move directory from
27787         ports/sysdeps/powerpc/powerpc32/405.
27788         * sysdeps/powerpc/powerpc32/440: Move directory from
27789         ports/sysdeps/powerpc/powerpc32/440.
27790         * sysdeps/powerpc/powerpc32/464: Move directory from
27791         ports/sysdeps/powerpc/powerpc32/464.
27792         * sysdeps/powerpc/powerpc32/476: Move directory from
27793         ports/sysdeps/powerpc/powerpc32/476.
27794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27795         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27797         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27799         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27801         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27803         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27804         * README: Update for powerpc-*-linux-gnu software floating point
27805         support in libc.
27807         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27808         case to powerpc/powerpc32*.
27809         * sysdeps/unix/sysv/linux/configure: Regenerated.
27811         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27812         (_FPU_MASK_OM): Define as 0x04.
27813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27815         0x00c10080.
27816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27817         0x0000003c.
27818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27821         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27822         getcontext_e500.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27824         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27825         setcontext_e500.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27827         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27828         and setcontext_e500.
27830 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27832         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27834 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27836         * manual/threads.texi (Default Thread Attributes): Fix typo.
27838 2013-10-04  Will Newton  <will.newton@linaro.org>
27840         * malloc/Makefile: Add tst-memalign.
27841         * malloc/tst-memalign.c: New file.
27843         * malloc/tst-posix_memalign.c: Add comments.
27844         (do_test): Add comments and call free on all potentially
27845         allocated pointers. Add space after cast.
27847         * malloc/tst-pvalloc.c: Add comments.
27848         (do_test): Add comments and call free on all potentially
27849         allocated pointers. Remove duplicate check for NULL pointer.
27850         Add space after cast.
27852         * malloc/tst-valloc.c: Add comments.
27853         (do_test): Add comments and call free on all potentially
27854         allocated pointers. Remove duplicate check for NULL pointer.
27855         Add space after cast.
27857 2013-10-04  Alan Modra  <amodra@gmail.com>
27859         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27860         Use stdint types in rather than __attribute__((mode())).
27861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27863 2013-10-04  Alan Modra  <amodra@gmail.com>
27865         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27866         Correct handling of unaligned relocs for little-endian.
27867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27869 2013-10-04  Alan Modra  <amodra@gmail.com>
27871         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27872         * configure: Regenerate.
27873         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27874         * shlib-versions: Likewise.
27876 2013-10-04  Alan Modra  <amodra@gmail.com>
27878         * string/tester.c (test_memrchr): Increment reported test cycle.
27880 2013-10-04  Alan Modra  <amodra@gmail.com>
27882         * string/test-memcpy.c (do_one_test): When reporting errors, print
27883         string address and don't overrun end of string.
27885 2013-10-04  Alan Modra  <amodra@gmail.com>
27887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27888         insrdi.  Make better use of reg selection to speed exit slightly.
27889         Schedule entry path a little better.  Remove useless "are we done"
27890         checks on entry to main loop.  Handle wrapping around zero address.
27891         Correct main loop count.  Handle single left-over word from main
27892         loop inline rather than by using loop_small.  Remove extra word
27893         case in loop_small caused by wrong loop count.  Add little-endian
27894         support.
27895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27897         cache hint.
27898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27900         support.  Avoid rlwimi.
27901         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27903 2013-10-04  Alan Modra  <amodra@gmail.com>
27905         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27906         insrdi.  Formatting.
27907         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27908         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27909         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27910         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27911         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27912         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27914 2013-10-04  Alan Modra  <amodra@gmail.com>
27916         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27918         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27919         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27920         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27921         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27925         use of regs.  Use power7 mtocrf.  Tidy function tails.
27927 2013-10-04  Alan Modra  <amodra@gmail.com>
27929         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27930         Formatting.  Consistently use rXXX register defines or rN defines.
27931         Use early exit labels that avoid restoring unused non-volatile regs.
27932         Make cr field use more consistent with rWORDn compares.  Rename
27933         regs used as shift registers for unaligned loop, using rN defines
27934         for short lifetime/multiple use regs.
27935         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27936         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27937         addi 1,1,64 to pop stack frame.  Simplify return value code.
27938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27940 2013-10-04  Alan Modra  <amodra@gmail.com>
27942         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27943         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27944         rather than rlwimi.
27945         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27947         little-endian support.  Correct typos.
27948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27949         rather than rlwimi.
27950         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27951         in loop and entry code to keep "and." results.
27952         (strchr): Add little-endian support.  Comment.  Move cntlzd
27953         earlier in tail.
27954         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27956 2013-10-04  Alan Modra  <amodra@gmail.com>
27958         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27959         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27960         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27961         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27963 2013-10-04  Alan Modra  <amodra@gmail.com>
27965         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27966         (rTMP): Define as r11.
27967         (strcmp): Add little-endian support.  Optimise tail.
27968         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27969         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27970         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27972         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27974         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27976 2013-10-04  Alan Modra  <amodra@gmail.com>
27978         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27979         little-endian support.  Remove unnecessary "are we done" tests.
27980         Handle "s" wrapping around zero and extremely large "size".
27981         Correct main loop count.  Handle single left-over word from main
27982         loop inline rather than by using small_loop.  Correct comments.
27983         Delete "zero" tail, use "end_max" instead.
27984         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27986 2013-10-04  Alan Modra  <amodra@gmail.com>
27988         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27989         support.  Don't branch over align.
27990         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27991         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27992         support.  Rearrange tmp reg use to suit.  Comment.
27993         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27995 2013-10-04  Alan Modra  <amodra@gmail.com>
27997         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27999 2013-10-04  Alan Modra  <amodra@gmail.com>
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28002         conditional form of branch and link when obtaining pc.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28005 2013-10-04  Alan Modra  <amodra@gmail.com>
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28008         HIWORD/LOWORD.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28012 2013-10-04  Alan Modra  <amodra@gmail.com>
28014         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28015         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28016         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28017         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28018         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28020         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28022         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28023         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28025 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28026             Alistair Popple <alistair@ozlabs.au.ibm.com>
28027             Alan Modra <amodra@gmail.com>
28029         [BZ #15723]
28030         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28031         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28032         _dl_hwcap access for little-endian.
28033         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28034         destroy vmx regs when saving unaligned.
28035         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28036         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28037         destroy vmx regs when saving unaligned.
28039 2013-10-04  Alan Modra  <amodra@gmail.com>
28041         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28042         Don't use a union to pack hi/low value.
28044 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28046         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28047         for little-endian.
28048         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28049         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28050         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28051         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28054 2013-10-04  Alan Modra  <amodra@gmail.com>
28056         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28057         constants to usual value for .cst8 section, and remove redundant
28058         high address load.
28059         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28060         constant for 0x1p52.  Load little-endian words of double from
28061         correct stack offsets.
28063 2013-10-04  Alan Modra  <amodra@gmail.com>
28065         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28066         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28067         words of double from correct stack offsets.
28068         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28069         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28070         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28074         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28075         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28076         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28080         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28083         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28084         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28086 2013-10-04  Alan Modra  <amodra@gmail.com>
28088         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28089         64-bit int/double union.
28090         (_FPU_SETCW): Likewise.
28091         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28092         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28094 2013-10-04  Alan Modra  <amodra@gmail.com>
28096         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28097         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28099 2013-10-04  Alan Modra  <amodra@gmail.com>
28101         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28102         use vector int constants.
28103         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28107         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28108         array with long long.
28109         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28110         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28111         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28112         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28113         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28114         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28115         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28116         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28117         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28118         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28119         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28120         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28123 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28125         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28126         (__signbit): Likewise.  Correct for little-endian.
28127         (__signbitl): Call __signbit.
28128         (lrint): Correct for little-endian.
28129         (lrintf): Call lrint.
28131 2013-10-04  Alan Modra  <amodra@gmail.com>
28133         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28134         union 32-bit int array member with 64-bit int array.
28135         (t515, tm256): Double rather than long double.
28136         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28138 2013-10-04  Alan Modra  <amodra@gmail.com>
28140         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28141         Delete.
28142         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28144         version of math_ldbl.h.
28146 2013-10-04  Alan Modra  <amodra@gmail.com>
28148         [BZ #15734], [BZ #15735]
28149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28150         all uses of ieee875 long double macros and unions.  Simplify test
28151         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28152         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28153         normalize after ldbl_extract_mantissa, and don't add hidden bit
28154         already handled.  Don't treat low word of ieee854 mantissa like
28155         low word of IBM long double and mask off bit when testing for
28156         zero.
28157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28158         all uses of ieee875 long double macros and unions.  Simplify tests
28159         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28160         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28161         two1022, instead use their values.  Recognise that tests for large
28162         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28163         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28164         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28165         test for 0.0L and nan.  Correct negation.
28166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28167         ieee875 long double macros and unions.  Correct output for large
28168         magnitude x.  Correct absolute value calculation.
28169         (__erfcl): Likewise.
28170         * math/libm-test.inc: Add tests for errors discovered in IBM long
28171         double versions of fmodl, remainderl, erfl and erfcl.
28173 2013-10-04  Alan Modra  <amodra@gmail.com>
28175         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28176         all uses of ieee854 long double macros and unions.  Simplify tests
28177         for long doubles that are fully specified by the high double.
28178         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28179         Likewise.
28180         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28181         Remove dead code too.
28182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28183         (__ieee754_ynl): Likewise.
28184         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28187         Remove dead code too.
28188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28189         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28192         Simplify.
28193         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28194         Simplify.
28195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28198         Comment on variable precision.
28199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28200         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28201         Likewise.
28202         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28206         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28208 2013-10-04  Alan Modra  <amodra@gmail.com>
28210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28212         all uses of ieee854 long double macros and unions.
28213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28217         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28218         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28219         Likewise.
28220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28221         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28222         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28223         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28226         Simplify sign and nan test too.
28227         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28228         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28229         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28230         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28231         Likewise.
28232         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28233         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28234         Likewise.
28235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28236         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28237         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28238         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28239         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28242 2013-10-04  Alan Modra  <amodra@gmail.com>
28244         * stdio-common/printf_size.c (__printf_size): Don't use
28245         union ieee854_long_double in fpnum union.
28246         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28247         signbit macro to retrieve sign from long double.
28248         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28249         retrieve sign from long double.
28250         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28251         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28252         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28253         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28254         * math/test-misc.c (main): Don't use union ieee854_long_double.
28256 2013-10-04  Alan Modra  <amodra@gmail.com>
28258         [BZ #15680]
28259         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28260         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28261         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28262         calculation.  Remove unnecessary test for denormal exponent.
28263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28264         Correct handling of denormals.  Avoid undefined shift behaviour.
28265         Correct normalisation of low mantissa when low double is denormal.
28266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28267         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28268         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28269         Correct normalisation of low mantissa.  Test for overflow of high
28270         mantissa and normalise.
28271         (ldbl_nearbyint): Use more readable constant for two52.
28272         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28273         (__mpn_construct_long_double): Fix test for overflow of high
28274         mantissa and correct normalisation.  Avoid undefined shift.
28276 2013-10-04  Alan Modra  <amodra@gmail.com>
28278         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28279         (union ibm_extended_long_double): Define as an array of ieee754_double.
28280         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28281         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28282         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28287         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28289         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28290         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28292 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28294         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28295         page size instead of calling getpagesize.
28297         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28298         (LOCFILE_ALIGN_MASK): Likewise.
28299         (LOCFILE_ALIGN_UP): Likewise.
28300         (LOCFILE_ALIGNED_P): Likewise.
28301         * locale/programs/ld-collate.c (collate_output): Use the new
28302         macros instead of __alignof__ (int32_t).
28303         * locale/weight.h (findidx): Likewise.
28305 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28307         [BZ #431]
28308         * manual/string.texi: Fix strncat and wcsncat.
28310 2013-10-03  Brooks Moses  <bmoses@google.com>
28312         [BZ #15915]
28313         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28314         * Makerules: ...here, and adjust associated comments.
28316 2013-10-02  Will Newton  <will.newton@linaro.org>
28318         * malloc/Makefile: Add tst-pvalloc.
28319         * malloc/tst-pvalloc.c: New file.
28321 2013-10-02  Will Newton  <will.newton@linaro.org>
28323         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28324         improve test coverage.
28326 2013-10-02  Will Newton  <will.newton@linaro.org>
28328         * malloc/Makefile: Add tst-posix_memalign.
28329         * malloc/tst-posix_memalign.c: New file.
28331 2013-10-01  Eric Blake  <eblake@redhat.com>
28333         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28334         Use __THROWNL rather than __THROW on static functions.
28336 2013-09-30  Petr Machata  <pmachata@redhat.com>
28338         * elf/elf.h (R_AARCH64_ABS16): New macro.
28339         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28340         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28341         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28342         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28343         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28344         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28345         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28346         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28347         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28348         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28349         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28350         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28351         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28352         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28353         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28354         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28355         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28356         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28357         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28358         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28359         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28360         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28361         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28362         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28363         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28364         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28365         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28366         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28367         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28368         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28369         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28370         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28371         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28372         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28373         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28374         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28375         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28376         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28377         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28378         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28379         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28380         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28381         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28382         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28383         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28384         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28385         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28386         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28387         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28388         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28389         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28390         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28391         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28392         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28393         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28394         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28395         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28396         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28397         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28398         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28399         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28400         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28401         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28402         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28403         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28404         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28405         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28406         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28407         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28408         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28409         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28410         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28411         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28412         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28413         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28414         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28415         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28416         (R_AARCH64_TLSDESC_LDR): Likewise.
28417         (R_AARCH64_TLSDESC_ADD): Likewise.
28418         (R_AARCH64_TLSDESC_CALL): Likewise.
28420 2013-09-30  Andreas Schwab  <schwab@suse.de>
28422         [BZ #15048]
28423         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28424         the nss database lookup.
28425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28428 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28430         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28432 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28435         ${Bash-specific parameter/pattern/string} parameter expansion.
28436         * sysdeps/unix/make-syscalls.sh: Likewise.
28438 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28440         * sysdeps/sh/stackguard-macros.h: New file.
28442 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28446         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28447         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28448         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28449         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28451 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28453         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28454         Fix thread ID register.
28456 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28458         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28459         [POSIX || UNIX98]: Require rather than permitting all symbols from
28460         <time.h>.
28461         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28462         element of struct sched_param.
28463         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28464         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28465         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28466         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28467         constant.
28469 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28471         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28472         argument calculation.
28474 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28476         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28477         Expect macro.
28478         [POSIX] (pthread_attr_t): Do not require type.
28479         [POSIX] (pthread_cond_t): Likewise.
28480         [POSIX] (pthread_condattr_t): Likewise.
28481         [POSIX] (pthread_key_t): Likewise.
28482         [POSIX] (pthread_mutex_t): Likewise.
28483         [POSIX] (pthread_mutexattr_t): Likewise.
28484         [POSIX] (pthread_once_t): Likewise.
28485         [POSIX] (pthread_t): Likewise.
28486         [POSIX-based standards] (pthread_atfork): Expect function.
28488 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28489             Richard Sandiford  <richard@codesourcery.com>
28491         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28492         (swap_endianness_p): New extern variable.
28493         (set_big_endian): New inline function.
28494         (maybe_swap_uint32): Likewise.
28495         (maybe_swap_uint32_array): Likewise.
28496         (maybe_swap_uint32_obstack): Likewise.
28497         * locale/programs/locfile.c: Include <stdbool.h>.
28498         (swap_endianness_p): New variable.
28499         (add_locale_uint32): Call maybe_swap_uint32.
28500         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28501         (write_locale_data): Call maybe_swap_uint32_array.
28502         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28503         maybe_swap_uint32.
28504         (obstack_int32_grow_fast): Likewise.
28505         (output_weightwc): Call maybe_swap_uint32_obstack.
28506         (collate_output): Likewise.
28507         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28508         (OPT_LITTLE_ENDIAN): Likewise.
28509         (options): Add --little-endian and --big-endian options.
28510         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28511         * locale/programs/locarchive.c: Include "locfile.h".
28512         (GET): New macro.
28513         (SET): Likewise.
28514         (INC): Likewise.
28515         (create_archive): Use the new macros to access fields of
28516         structures directly mapped from or written to locale archives.
28517         (oldlocrecentcmp): Likewise.
28518         (enlarge_archive): Likewise.
28519         (insert_name): Likewise.
28520         (add_alias): Likewise.
28521         (add_locale): Likewise.
28522         (delete_locales_from_archive): Likewise.
28523         (show_archive_content): Likewise.
28524         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28525         locale data.
28527 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28529         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28530         http://www.gnu.org/doc/freemanuals.texi.
28531         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28533 2013-09-24  Will Newton  <will.newton@linaro.org>
28535         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28536         macro.
28538 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28540         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28541         unsigned char.
28543 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28545         * manual/threads.texi (POSIX Threads): Fix a typo.
28547 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28549         [BZ #14547]
28550         * string/tst-strcoll-overflow.c: New test case.
28551         * string/Makefile (xtests): Add tst-strcoll-overflow.
28552         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28553         cache if string sizes may cause integer overflow.
28555         [BZ #14547]
28556         * string/strcoll_l.c (coll_seq): New members rule, idx,
28557         save_idx and back_us.
28558         (get_next_seq_nocache): New function.
28559         (do_compare_nocache): New function.
28560         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28561         when malloc fails.
28563 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28565         [BZ #15754]
28566         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28567         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28568         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28570         [BZ #15754]
28571         * elf/Makefile (tests): Add tst-ptrguard1.
28572         (tests-static): Add tst-ptrguard1-static.
28573         (tst-ptrguard1-ARGS): Define.
28574         (tst-ptrguard1-static-ARGS): Define.
28575         * elf/tst-ptrguard1.c: New file.
28576         * elf/tst-ptrguard1-static.c: New file.
28577         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28578         * sysdeps/i386/stackguard-macros.h: Likewise.
28579         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28580         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28581         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28582         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28583         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28584         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28586 2013-09-23  Hector Marco  <hecmargi@upv.es>
28587             Ismael Ripoll  <iripoll@disca.upv.es>
28588             Carlos O'Donell  <carlos@redhat.com>
28590         [BZ #15754]
28591         * sysdeps/generic/stackguard-macros.h: Define
28592         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28593         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28594         Define __pointer_chk_guard_local.
28595         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28596         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28598 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28600         [BZ #15859]
28601         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28603 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28605         * include/string.h (__ffs): Declare as hidden.
28606         * string/ffs.c (__ffs): Define as hidden.
28607         * sysdeps/i386/ffs.c (__ffs): Likewise.
28608         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28609         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28610         * sysdeps/s390/ffs.c (__ffs): Likewise.
28611         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28613 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28615         * NEWS: Mention malloc probes.
28617         * malloc/arena.c (new_heap): New memory_heap_new probe.
28618         (grow_heap): New memory_heap_more probe.
28619         (shrink_heap): New memory_heap_less probe.
28620         (heap_trim): New memory_heap_free probe.
28621         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28622         (systrim): New memory_sbrk_less probe.
28623         * manual/probes.texi: Document them.
28625         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28626         * manual/probes.texi: Document it.
28628         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28629         (__libc_realloc): Add memory_realloc_retry probe.
28630         (__libc_memalign): Add memory_memalign_retry probe.
28631         (__libc_valloc): Add memory_valloc_retry probe.
28632         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28633         (__libc_calloc): Add memory_calloc_retry probe.
28634         * manual/probes.texi: Document them.
28636         * malloc/arena.c (get_free_list): Add probe
28637         memory_arena_reuse_free_list.
28638         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28639         and memory_arena_reuse.
28640         (arena_get2) [!PER_THREAD]: Likewise.
28641         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28642         memory_arena_reuse_realloc.
28643         * manual/probes.texi: Document them.
28645         * malloc/malloc.c (__libc_free): Add
28646         memory_mallopt_free_dyn_thresholds probe.
28647         (__libc_mallopt): Add multiple memory_mallopt probes.
28648         * manual/probes.texi: Document them.
28650         * malloc/malloc.c: Include stap-probe.h.
28651         (__libc_mallopt): Add memory_mallopt probe.
28652         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28653         * manual/probes.texi: New.
28654         * manual/Makefile (chapters): Add probes.
28655         * manual/threads.texi: Set next node.
28657 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28659         [BZ #15963, #13985]
28660         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28661         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28662         Add `Chinese' to `nan' entry name.
28664 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28666         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28667         (POLYNOMIAL): Likewise.
28668         (TAYLOR_SINCOS): Likewise.
28669         (TAYLOR_SLOW): Likewise.
28670         (__sin): Use TAYLOR_SINCOS.
28671         (__cos): Likewise.
28672         (slow): Use TAYLOR_SLOW.
28673         (sloww): Likewise.
28674         (bsloww): Likewise.
28675         (csloww): Likewise.
28677 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28679         * stdlib/strtod_l.c: Fix buffer overrun.
28681 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28683         * benchtests/Makefile (bench): Add sincos.
28684         * benchtests/bench-sincos.c: New file.
28686         * math/libm-test.inc (cos_test_data): New test inputs.
28687         (sin_test_data): Likewise.
28689         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28690         macro.
28691         (__sin): Use it.
28692         (__cos): Likewise.
28693         (slow1): Likewise.
28694         (slow2): Likewise.
28695         (sloww1): Likewise.
28696         (sloww2): Likewise.
28697         (bsloww1): Likewise.
28698         (bsloww2): Likewise.
28699         (cslow2): Likewise.
28700         (csloww1): Likewise.
28701         (csloww2): Likewise.
28703         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28704         function.
28705         (__sin): Use it.
28706         (__cos): Likewise.
28708         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28709         gotos.
28710         (__cos): Likewise.
28712 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28714         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28715         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28716         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28717         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28718         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28719         * elf/cache.c (print_entry): Handle the new cache flags.
28721 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28722             Aldy Hernandez  <aldyh@redhat.com>
28724         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28725         Change condition to [_SOFT_FLOAT].
28726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28738         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28741         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28742         declaration.
28744 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28746         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28747         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28748         (__longjmp): Use LOAD_GP to load saved GPRs.
28749         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28750         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28751         (__sigsetjmp): Use SAVE_GP to save GPRs.
28753         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28754         Do not append -msoft-float.
28755         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28757 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28759         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28761 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28763         [BZ #15966]
28764         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28765         (_FPU_GETCW): Use initial "__" on variable and field names but not
28766         on macro parameter name.
28767         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28768         parentheses around reference to macro parameter.
28770 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28772         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28773         prototype.
28774         (ctype_startup): Use uint32_t in cast and sizeof for
28775         ctype->charnames.
28777 2013-09-11  Jia Liu  <proljc@gmail.com>
28779         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28780         __daddr_t_defined.
28781         [__FreeBSD__]: Likewise.
28783 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28786         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28787         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28788         (strchr): Remove __strchr_sse42 ifunc selection.
28789         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28790         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28792 2013-09-11  Will Newton  <will.newton@linaro.org>
28794         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28795         parameter to RES. Remove hardcoded 1000 value.
28796         * benchtests/bench-skeleton.c (main): Pass RES parameter
28797         to TIMING_INIT and multiply result by 1000.
28799 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28803 2013-09-11  Andreas Schwab  <schwab@suse.de>
28805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28806         if not defined.
28807         (O_TMPFILE) [__USE_GNU]: Define.
28808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28809         Define.
28811 2013-09-11  Will Newton  <will.newton@linaro.org>
28813         [BZ #15857]
28814         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28815         does not overflow.
28817 2013-09-11  Will Newton  <will.newton@linaro.org>
28819         [BZ #15856]
28820         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28821         does not overflow.
28823 2013-09-11  Will Newton  <will.newton@linaro.org>
28825         [BZ #15855]
28826         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28827         does not overflow.
28829 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28831         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28832         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28833         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28834         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28835         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28837 2013-09-10  Allan McRae  <allan@archlinux.org>
28839         [BZ #15748]
28840         * manual/arith.texi (Parsing of Floats): Clarify
28841         cross-reference.
28843         [BZ #15849]
28844         * manual/install.texi (Running make install): Mention
28845         --enable-pt-chown.
28846         * INSTALL: Regenerated.
28848 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28850         * csu/init-first.c (_init): Remove the !SHARED condition around
28851         FPU control word initialization.
28852         * elf/dl-support.c (_dl_fpu_control): New variable.
28853         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28854         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28855         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28856         * math/test-fpucw-static.c: New file.
28857         * math/test-fpucw-ieee.c: New file.
28858         * math/test-fpucw-ieee-static.c: New file.
28859         * math/Makefile (tests): Add `test-fpucw-ieee' and
28860         `$(tests-static)'.
28861         (tests-static): New variable.
28862         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28863         dependency to...
28864         [($(build-shared),yes)]
28865         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28866         ... this.
28867         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28868         New dependency.
28870 2013-09-09  Allan McRae  <allan@archlinux.org>
28872         [BZ #15939]
28873         * manual/string.texi (Collation Functions): Fix typo in
28874         strcoll example.
28875         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28877         [BZ #15893]
28878         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28880         [BZ #15892]
28881         * libio/memstream.c (open_memstream): Fix memory leak.
28882         * libio/wmemstream.c (open_wmemstream): Likewise.
28884         [BZ #15895]
28885         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28887 2013-09-09  Will Newton  <will.newton@linaro.org>
28889         * malloc/Makefile: Add tst-realloc to tests.
28890         * malloc/tst-realloc.c: New file.
28892 2013-09-09  Allan McRae  <allan@archlinux.org>
28894         [BZ #15844]
28895         * COPYING: Update from GNU website to fix FSF address.
28896         * COPYING.LIB: Likewise.
28898 2013-09-06  David S. Miller  <davem@davemloft.net>
28900         * po/zh_TW.po: Update Chinese (traditional) translation from
28901         translation project.
28903 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28904             Joseph Myers  <joseph@codesourcery.com>
28906         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28907         "localeinfo.h".
28908         (obstack_chunk_alloc): New macro.
28909         (obstack_chunk_free): Likewise.
28910         (record_offset): New function.
28911         (init_locale_data): Likewise.
28912         (align_locale_data): Likewise.
28913         (add_locale_empty): Likewise.
28914         (add_locale_raw_data): Likewise.
28915         (add_locale_raw_obstack): Likewise.
28916         (add_locale_string): Likewise.
28917         (add_locale_wstring): Likewise.
28918         (add_locale_uint32): Likewise.
28919         (add_locale_uint32_array): Likewise.
28920         (add_locale_char): Likewise.
28921         (start_locale_structure): Likewise.
28922         (end_locale_structure): Likewise.
28923         (start_locale_prelude): Likewise.
28924         (end_locale_prelude): Likewise.
28925         (write_locale_data): Take locale_file structure rather than an
28926         iovec.
28927         * locale/programs/locfile.h: Include "obstack.h".
28928         (struct locale_file): Change to store locale file contents instead
28929         of header.
28930         (init_locale_data): New prototype.
28931         (align_locale_data): Likewise.
28932         (add_locale_empty): Likewise.
28933         (add_locale_raw_data): Likewise.
28934         (add_locale_raw_obstack): Likewise.
28935         (add_locale_string): Likewise.
28936         (add_locale_wstring): Likewise.
28937         (add_locale_uint32): Likewise.
28938         (add_locale_uint32_array): Likewise.
28939         (add_locale_char): Likewise.
28940         (start_locale_structure): Likewise.
28941         (end_locale_structure): Likewise.
28942         (start_locale_prelude): Likewise.
28943         (end_locale_prelude): Likewise.
28944         (write_locale_data): Update prototype.
28945         * locale/programs/3level.h (struct TABLE): Remove result field.
28946         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28947         Use new locale_file interface.
28948         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28949         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28950         * locale/programs/ld-address.c (address_output): Use new
28951         locale_file interface.
28952         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28953         NO_ADD_LOCALE.
28954         (collate_finish): Don't call collseq_table_finalize.
28955         (collate_output): Use new locale_file interface.
28956         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28957         in file.
28958         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28959         (TABLE): Move defines earlier in file.
28960         (ELEMENT): Likewise.
28961         (DEFAULT): Likewise.
28962         (wctrans_table_add): Move macro and inline function earlier in
28963         file.
28964         (struct wctype_table): Move type earlier in file.
28965         (add_locale_wctype_table): New static prototype.
28966         (struct locale_ctype_t): Use logical types instead of struct iovec
28967         pointers for members.
28968         (ctype_output): Use new locale_file interface.
28969         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28970         new locale_file interface.
28971         (allocate_arrays): Update for use of new locale_file interface.
28972         * locale/programs/ld-identification.c (identification_output): Use
28973         new locale_file interface.
28974         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28975         * locale/programs/ld-messages.c (messages_output): Likewise.
28976         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28977         * locale/programs/ld-name.c (name_output): Likewise.
28978         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28979         * locale/programs/ld-paper.c (paper_output): Likewise.
28980         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28981         * locale/programs/ld-time.c (time_output): Likewise.
28983 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28985         * benchtests/Makefile: Add memrchr benchmark.
28986         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28987         benchmark as memrchr.
28988         * benchtests/bench-memrchr-ifunc.c: New file.
28989         * benchtests/bench-memrchr.c: New file.
28991 2013-09-06   Will Newton  <will.newton@linaro.org>
28993         * benchtests/Makefile (string-bench): Add memcpy.
28995 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28996             Cong Wang  <amwang@redhat.com>
28998         [BZ #15850]
28999         * sysdeps/unix/sysv/linux/bits/in.h
29000         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29001         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29002         before __USE_KERNEL_IPV6_DEFS uses.
29003         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29004         IPPROTO_BEETPH.
29005         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29006         sockaddr_in6, or ipv6_mreq.
29008 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29010         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29011         memory access for final bytes in some large inputs.
29012         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29014 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29016         * string/test-memrchr.c: New file.
29017         * string/test-memrchr-ifunc.c: New file.
29018         * string/Makefile: Add new memrchr testcase.
29020 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29022         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29023         fanotify_init returns EPERM.
29025 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29027         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29028         errors.
29029         (top level): Treat second token from macro or constant entries for
29030         allowed headers as allowed.
29031         * include/complex.h: Condition internal declarations on
29032         [!_ISOMAC].
29033         * include/fenv.h: Condition include of <stdbool.h> and internal
29034         declarations on [!_ISOMAC].
29036 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29038         [BZ #15923]
29039         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29041 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29043         * configure.in (--enable-versioning): Remove configure option.
29044         (libc_cv_asm_symver_directive): Remove configure test.
29045         (libc_cv_ld_version_script_option): Likewise.
29046         (VERSIONING): Remove variable and AC_SUBST.
29047         (DO_VERSIONING): Remove AC_DEFINE.
29048         * configure: Regenerated.
29049         * config.h.in (DO_VERSIONING): Remove macro.
29050         * Makerules [$(versioning) = yes]: Change conditionals to
29051         [$(build-shared) = yes].
29052         * config.make.in (versioning): Remove variable.
29053         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29054         [$(build-shared) = yes].
29055         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29056         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29057         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29058         [$(build-shared) = yes].
29059         * extra-lib.mk [$(versioning) = yes]: Likewise.
29060         * hurd/Makefile [$(versioning) = yes]: Likewise.
29061         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29062         [SHARED].
29063         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29064         [SHARED].
29065         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29066         [SHARED && !NO_HIDDEN].
29067         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29068         [SHARED].
29069         [SHARED && DO_VERSIONING]: Likewise..
29070         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29071         [$(build-shared) = yes].
29072         * manual/install.texi (--disable-versioning): Remove
29073         documentation.
29074         * INSTALL: Regenerated.
29075         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29076         to [SHARED].
29077         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29078         [$(build-shared) = yes].
29079         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29080         * sysdeps/i386/i686/multiarch/strstr-c.c
29081         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29082         [SHARED && !NO_HIDDEN].
29083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29084         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29085         * sysdeps/powerpc/powerpc32/dl-machine.c
29086         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29087         * sysdeps/powerpc/powerpc32/sysdep.h
29088         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29089         to [SHARED && PIC && !NO_HIDDEN].
29090         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29091         conditional to [SHARED].
29093 2013-09-04   Will Newton  <will.newton@linaro.org>
29095         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29096         * benchtests/bench-string.h: Include bench-timing.h instead
29097         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29098         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29099         call to HP_TIMING_DIFF_INIT.
29100         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29101         instead of hp-timing.h macros.
29102         * benchtests/bench-memchr.c: Likewise.
29103         * benchtests/bench-memcmp.c: Likewise.
29104         * benchtests/bench-memcpy.c: Likewise.
29105         * benchtests/bench-memmem.c: Likewise.
29106         * benchtests/bench-memmove.c: Likewise.
29107         * benchtests/bench-memset.c: Likewise.
29108         * benchtests/bench-rawmemchr.c: Likewise.
29109         * benchtests/bench-strcasecmp.c: Likewise.
29110         * benchtests/bench-strcasestr.c: Likewise.
29111         * benchtests/bench-strcat.c: Likewise.
29112         * benchtests/bench-strchr.c: Likewise.
29113         * benchtests/bench-strcmp.c: Likewise.
29114         * benchtests/bench-strcpy.c: Likewise.
29115         * benchtests/bench-strcpy_chk.c: Likewise.
29116         * benchtests/bench-strlen.c: Likewise.
29117         * benchtests/bench-strncasecmp.c: Likewise.
29118         * benchtests/bench-strncat.c: Likewise.
29119         * benchtests/bench-strncmp.c: Likewise.
29120         * benchtests/bench-strncpy.c: Likewise.
29121         * benchtests/bench-strnlen.c: Likewise.
29122         * benchtests/bench-strpbrk.c: Likewise.
29123         * benchtests/bench-strrchr.c: Likewise.
29124         * benchtests/bench-strspn.c: Likewise.
29125         * benchtests/bench-strstr.c: Likewise.
29127 2013-09-04  Will Newton  <will.newton@linaro.org>
29129         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29131 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29133         [BZ #15427]
29134         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29135         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29136         * math/libm-test.inc (lgamma_test_data): Add more tests.
29137         * sysdeps/i386/fpu/libm-test-ulps: Update.
29138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29140 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29142         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29144         Add ifunc.
29145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29146         Add strcmp-sse2-unaligned
29147         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29149 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29151         * Versions.def (libc): Add GLIBC_2.19.
29153 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29155         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29156         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29158 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29160         [BZ #14155]
29161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29162         intermediate calculations in recurrence.
29163         (__ieee754_ynf): Likewise.
29164         * math/libm-test.inc (jn_test_data): Do not allow spurious
29165         underflow exception.  Add more tests.
29166         (yn_test_data): Add more tests.
29167         * sysdeps/i386/fpu/libm-test-ulps: Update.
29168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29170 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29172         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29174 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29176         * csu/init-first.c: Fix then/than typos.
29177         * locale/programs/ld-collate.c: Likewise.
29178         * locale/programs/linereader.h: Likewise.
29179         * manual/charset.texi: Likewise.
29180         * manual/filesys.texi: Likewise.
29181         * manual/stdio.texi: Likewise.
29182         * manual/string.texi: Likewise.
29183         * stdlib/fmtmsg.c: Likewise.
29184         * sysdeps/i386/stpncpy.S: Likewise.
29185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29186         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29188         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29190 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29192         * elf/dl-open.c: Fix typos.
29193         * iconvdata/gbbig5.c: Likewise.
29194         * iconvdata/iso-2022-jp.c: Likewise.
29195         * iconv/gconv_int.h: Likewise.
29196         * iconv/loop.c: Likewise.
29197         * nis/rpcsvc/nis.h: Likewise.
29198         * resolv/ns_name.c: Likewise.
29199         * stdio-common/vfscanf.c: Likewise.
29200         * streams/stropts.h: Likewise.
29201         * sunrpc/rpc_thread.c: Likewise.
29202         * sysdeps/i386/strpbrk.S: Likewise.
29203         * sysdeps/ieee754/k_standard.c: Likewise.
29204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29206         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29207         * sysdeps/mach/hurd/profil.c: Likewise.
29208         * sysdeps/s390/dl-procinfo.h: Likewise.
29209         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29210         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29211         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29212         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29213         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29215 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29217         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29220 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29222         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29223         aix specific files.
29224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29227         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29228         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29229         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29230         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29231         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29233 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29234             Roland McGrath  <roland@hack.frob.com>
29236         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29237         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29239 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29241         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29242         __executable_start symbol instead of _start.
29244 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29246         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29247         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29248         Move macros to...
29249         * sysdeps/gnu/ldsodefs.h: ... this new file.
29251         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29252         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29253         instead of ELFOSABI_LINUX.
29255         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29256         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29257         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29258         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29259         Likewise.
29260         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29261         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29262         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29263         Likewise.
29264         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29265         (ibm_extended_long_double): Add ieee_nan member.
29266         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29267         (do_test): New function.
29269         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29270         TEST_TRUNC.
29271         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29272         functions, renamed from truncdfsf_test, trunctfsf_test,
29273         trunctfdf_test.
29274         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29275         functions.
29276         (do_test): Run all these.
29278 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29280         * argp/argp-help.c: Fix typos.
29281         * argp/argp-parse.c: Likewise.
29282         * debug/backtracesyms.c: Likewise.
29283         * elf/elf.h: Likewise.
29284         * malloc/malloc.c: Likewise.
29285         * nis/nis_print.c: Likewise.
29286         * resolv/res_comp.c: Likewise.
29287         * stdlib/stdlib.h: Likewise.
29288         * sunrpc/clnt_tcp.c: Likewise.
29289         * sunrpc/clnt_udp.c: Likewise.
29290         * sunrpc/clnt_unix.c: Likewise.
29291         * sysdeps/unix/bsd/ptsname.c: Likewise.
29292         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29293         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29295         Likewise.
29296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29297         Likewise.
29298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29299         Likewise.
29300         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29302 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29304         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29307 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29309         [BZ #15897]
29310         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29311         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29312         ($(objpfx)bug-dl-leaf): New rule.
29313         ($(objpfx)bug-dl-leaf.so): Likewise.
29314         ($(objpfx)bug-dl-leaf.out): Likewise.
29315         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29316         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29317         * dlfcn/bug-dl-leaf.c: New test.
29318         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29319         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29320         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29321         (dlclose): Likewise.
29322         (dlmopen): Likewise.
29324 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29326         * include/netdb.h [!_ISOMAC]:
29327         Don't include <tls.h>.
29328         (h_errno, __libc_h_errno): Move declaration and macros out of
29329         [_LIBC_REENTRANT].
29331         * include/resolv.h [_RESOLV_H_]:
29332         Don't include <tls.h>.
29333         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29334         * resolv/res_libc.c: Don't include <tls.h>.
29335         (_res): Use __attribute__ ((nocommon)) in place of
29336         __attribute__ ((section (".bss"))).
29338         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29339         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29341         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29343         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29344         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29346         * resolv/res_mkquery.c: Include <sys/time.h>.
29348         * inet/ifreq.c: Moved to ...
29349         * sysdeps/unix/ifreq.c: ... here.
29350         * inet/ifreq.c: New file, true stub version.
29352         * socket/sa_len.c: New file.
29353         * socket/Makefile (aux): Add it.
29354         * sysdeps/unix/sysv/linux/Makefile
29355         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29356         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29357         and #include <socket/sa_len.c>.
29358         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29359         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29361         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29362         * bits/socket.h: ... here.
29364         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29365         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29366         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29368 2013-08-27  Andreas Schwab  <schwab@suse.de>
29370         [BZ #15736]
29371         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29372         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29373         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29374         * string/test-strcasecmp.c (test_main): Run tests in several
29375         locales.
29376         * string/test-strncasecmp.c (test_main): Likewise.
29378         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29379         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29380         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29382         (__strncasecmp_ssse3) [PIC]: Likewise.
29384 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29386         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29388         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29389         instead of explicitly declaring xdecrypt.
29390         * nis/nss_nis/nis-publickey.c: Likewise.
29392 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29394         [BZ #15890]
29395         * nscd/aicache.c: Include res_hconf.h.
29396         (addhstaiX): Initialize res_hconf.
29398 2013-08-26  Andreas Schwab  <schwab@suse.de>
29400         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29401         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29403 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29405         * nscd/aicache.c (addhstaiX): Fix indentation.
29407 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29409         * configure.ac: Quote $build_pt_chown test.
29410         * configure: Regenerated.
29412 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29414         [BZ #15532]
29415         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29416         * math/s_cexpf.c (__cexpf): Likewise.
29417         * math/s_cexpl.c (__cexpl): Likewise.
29418         * math/libm-test.inc (cexp_test_data): Correct expected return
29419         value for NaN + i0.  Add another test.
29421 2013-08-22  David S. Miller  <davem@davemloft.net>
29423         * po/ca.po: Update Catalan translation from translation project.
29424         * po/uk.po: Add Ukrainian translations from translation project.
29426 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29428         [BZ #15797]
29429         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29430         is infinite, not alongside NaN test.
29431         * math/s_fdimf.c (__fdimf): Likewise.
29432         * math/s_fdiml.c (__fdiml): Likewise.
29433         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29434         errno is unchanged.
29436 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29438         * argp/argp-help.c: Fix typos.
29439         * crypt/speeds.c: Likewise.
29440         * csu/check_fds.c: Likewise.
29441         * elf/dl-load.c: Likewise.
29442         * elf/dl-open.c: Likewise.
29443         * elf/reldep3.c: Likewise.
29444         * elf/reldep.c: Likewise.
29445         * elf/sprof.c: Likewise.
29446         * iconv/iconv_charmap.c: Likewise.
29447         * iconv/skeleton.c: Likewise.
29448         * iconv/strtab.c: Likewise.
29449         * io/lockf64.c: Likewise.
29450         * libio/libioP.h: Likewise.
29451         * resolv/gai_notify.c: Likewise.
29452         * resolv/ns_name.c: Likewise.
29453         * resolv/ns_samedomain.c: Likewise.
29454         * resolv/res_send.c: Likewise.
29455         * stdlib/random.c: Likewise.
29456         * sunrpc/rpc/xdr.h: Likewise.
29457         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29458         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29459         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29460         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29461         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29465         * sysdeps/mach/hurd/check_fds.c: Likewise.
29466         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29467         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29469         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29470         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29472         * sysdeps/pthread/aio_notify.c: Likewise.
29473         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29474         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29475         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29477         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29479 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29481         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29482         version if bit_Slow_SSE4_2 is set.
29483         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29486 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29488         [BZ #15867]
29489         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29490         trampoline stack frame information.
29491         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29493         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29494         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29495         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29496         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29497         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29498         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29499         sa_flags value.
29500         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29501         interrupting a syscall and set with option SA_SIGINFO.
29503 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29505         [BZ #15531]
29506         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29507         argument is infinite.
29508         * math/s_cprojf.c (__cprojf): Likewise.
29509         * math/s_cprojl.c (__cprojl): Likewise.
29510         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29511         * math/libm-test.inc (cproj_test_data): Add more tests.
29513         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29515         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29516         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29517         size.  Use __ffs to determine corresponding shift.
29519 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29520             Roland McGrath  <roland@hack.frob.com>
29522         * Makefile (INSTALL): Remove trailing blank lines from output of
29523         makeinfo.
29525 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29527         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29528         Align 32 bit compat elf_greg to 8 bytes.
29530 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29532         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29534 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29536         * string/strcoll_l.c (coll_seq): New structure.
29537         (get_next_seq_cached): New function.
29538         (get_next_seq): New function.
29539         (do_compare): New function.
29540         (STRCOLL): Use GNU style definition.  Simplify implementation
29541         by using get_next_seq, get_next_seq_cached and do_compare.
29543 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29545         [BZ #14699]
29546         CVE-2013-4237
29547         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29548         member.
29549         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29550         member.
29551         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29552         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29553         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29554         conditional.
29555         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29556         GETDENTS_64BIT_ALIGNED.
29557         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29558         * manual/filesys.texi (Reading/Closing Directory): Document
29559         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29560         strongly.
29561         * manual/conf.texi (Limits for Files): Add portability note to
29562         NAME_MAX, PATH_MAX.
29563         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29565 2013-08-13  Andreas Schwab  <schwab@suse.de>
29567         [BZ #15749]
29568         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29569         of fabs.
29570         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29571         LDBL_MAX_EXP >= 16384]: Add tests for it.
29573 2013-08-12  David S. Miller  <davem@davemloft.net>
29575         * version.h (RELEASE): Set to "development".
29576         (VERSION): Set to "2.18.90".
29577         * NEWS: Add 2.19 section.
29579 2013-08-03  David S. Miller  <davem@davemloft.net>
29581         * po/ko.po: Update Korean translation from translation project.
29583 2013-08-01  David S. Miller  <davem@davemloft.net>
29585         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29586         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29587         Bilka.
29589 2013-07-30  David S. Miller  <davem@davemloft.net>
29591         * po/fr.po: Update French translation from translation project.
29593 2013-07-28  David S. Miller  <davem@davemloft.net>
29595         * po/cs.po: Update Czech translation from translation project.
29597         * po/sv.po: Update Swedish translation from translation project.
29599 2013-07-27  David S. Miller  <davem@davemloft.net>
29601         * po/eo.po: Update Esperanto translation from translation project.
29603         * po/vi.po: Update Vietnamese translation from translation project.
29605         * po/de.po: Update German translation from translation project.
29607 2013-07-26  David S. Miller  <davem@davemloft.net>
29609         * po/bg.po: Update Bulgarian translation from translation project.
29611         * po/nl.po: Update Dutch translation from translation project.
29612         * po/pl.po: Update Polish translation from translation project.
29613         * po/ru.po: Update Russian translation from translation project.
29615 2013-07-24  David S. Miller  <davem@davemloft.net>
29617         * po/libc.pot: Update.
29619 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29621         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29622         variable page size.
29623         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29625         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29627 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29629         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29631 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29632             Andreas Schwab  <schwab@suse.de>
29633             Roland McGrath  <roland@hack.frob.com>
29634             Joseph Myers  <joseph@codesourcery.com>
29635             Carlos O'Donell  <carlos@redhat.com>
29637         [BZ #15755]
29638         * config.h.in: Define HAVE_PT_CHOWN.
29639         * config.make.in (build-pt-chown): New variable.
29640         * configure.in (--enable-pt_chown): New configure option.
29641         * configure: Regenerate.
29642         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29643         build-pt-chown is enabled.
29644         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29645         pt_chown to fix pty ownership.
29646         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29647         CLOSE_ALL_FDS.
29648         * manual/install.texi (Configuring and compiling): Mention
29649         --enable-pt_chown. Add @findex for grantpt.
29650         * INSTALL: Regenerate.
29652 2013-07-20  David S. Miller  <davem@davemloft.net>
29654         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29655         difference between 32-bit and 64-bit.
29657 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29659         [BZ #15711]
29660         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29661         Avoid system header dependency with -ffreestanding.
29662         ($(objpfx)bits/syscall%d): Likewise.
29664 2013-07-13  David S. Miller  <davem@davemloft.net>
29666         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29667         underflows from atanl/atan2l due to bug 15319.
29668         (casinh_test_data): Likewise.
29670 2013-07-07  David S. Miller  <davem@davemloft.net>
29672         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29674 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29676         * sysdeps/i386/fpu/libm-test-ulps: Update.
29677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29679 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29681         * configure.in (--enable-lock-elision): Fix message text.
29682         * INSTALL: Regenerate.
29683         * configure: Regenerate.
29685 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29689 2013-07-03  Andreas Jaeger  <aj@suse.de>
29691         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29692         define.
29693         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29694         (ptrace_peeksiginfo_args): Add.
29695         (__ptrace_peeksiginfo_flags): Add.
29696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29700 2013-07-03  Allan McRae  <allan@archlinux.org>
29702         * sysdeps/i386/fpu/libm-test-ulps: Update.
29704 2013-07-02  David S. Miller  <davem@davemloft.net>
29706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29708 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29712 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29714         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29717 2013-07-02  Andi Kleen <ak@linux.intel.com>
29719         * config.h.in (ENABLE_LOCK_ELISION): Add.
29720         * configure.in (--enable-lock-elision): Add option.
29721         * manual/install.texi: Document --enable lock elision.
29722         * configure: Regenerate
29723         * INSTALL: Regenerate.
29725 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29727         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29728         SSE4.2 strcasecmp for libc.a.
29729         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29731 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29733         [BZ #13304]
29734         * soft-fp/op-common.h (_FP_FMA): New macro.
29735         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29736         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29737         (_FP_MUL_MEAT_1_imm): ... here.
29738         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29739         (_FP_MUL_MEAT_1_wide): ... here.
29740         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29741         (_FP_MUL_MEAT_1_hard): ... here.
29742         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29743         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29744         (_FP_MUL_MEAT_2_wide): ... here.
29745         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29746         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29747         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29748         (_FP_MUL_MEAT_2_gmp): ... here.
29749         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29750         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29751         (_FP_MUL_MEAT_4_wide): ... here.
29752         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29753         (_FP_MUL_MEAT_4_gmp): ... here.
29754         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29755         (_FP_WFRACBITS_DW_S): Likewise.
29756         (_FP_WFRACXBITS_DW_S): Likewise.
29757         (_FP_HIGHBIT_DW_S): Likewise.
29758         (FP_FMA_S): Likewise.
29759         (_FP_FRAC_HIGH_DW_S): Likewise.
29760         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29761         (_FP_WFRACBITS_DW_D): Likewise.
29762         (_FP_WFRACXBITS_DW_D): Likewise.
29763         (_FP_HIGHBIT_DW_D): Likewise.
29764         (FP_FMA_D): Likewise.
29765         (_FP_FRAC_HIGH_DW_D): Likewise.
29766         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29767         (_FP_WFRACBITS_DW_E): Likewise.
29768         (_FP_WFRACXBITS_DW_E): Likewise.
29769         (_FP_HIGHBIT_DW_E): Likewise.
29770         (FP_FMA_E): Likewise.
29771         (_FP_FRAC_HIGH_DW_E): Likewise.
29772         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29773         (_FP_WFRACBITS_DW_Q): Likewise.
29774         (_FP_WFRACXBITS_DW_Q): Likewise.
29775         (_FP_HIGHBIT_DW_Q): Likewise.
29776         (FP_FMA_Q): Likewise.
29777         (_FP_FRAC_HIGH_DW_Q): Likewise.
29778         * soft-fp/fmasf4.c: New file.
29779         * soft-fp/fmadf4.c: Likewise.
29780         * soft-fp/fmatf4.c: Likewise.
29782 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29785         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29786         Silvermont.
29787         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29788         macro.
29789         (index_Slow_SSE4_2): Likewise.
29790         (index_Prefer_PMINUB_for_stringop): Likewise.
29791         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29792         bit_Slow_SSE4_2 is set.
29793         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29794         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29796 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29798         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29799         rtld_global._dl_hwcap2.
29800         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29801         POWER8.
29802         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29803         POWER8 feature descriptions defined in _dl_hwcap2.
29804         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29805         string handling for POWER8 feature bits.
29806         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29807         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29808         _dl_powerpc_cap_flags.
29809         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29810         * sysdeps/powerpc/rtld-global-offsets.sym
29811         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29812         _dl_hwcap2 in the rtld_global_ro structure.
29814 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29816         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29817         hardware capabilities in support of AT_HWCAP2.
29818         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29819         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29820         GLRO(dl_hwcap2).
29821         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29822         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29823         explicitly the unknown a_type display mechanism is used.
29824         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29825         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29826         struct member.
29827         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29828         to macro prototype for AT_HWCAP2 support.
29829         * sysdeps/i386/dl-procinfo.h: Likewise.
29830         * sysdeps/s390/dl-procinfo.h: Likewise.
29831         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29832         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29833         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29834         return -1 for unknown a_type display fallback.
29835         * sysdeps/sparc/dl-procinfo.h: Likewise.
29836         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29837         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29839 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29841         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29842         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29844 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29846         [BZ #12492]
29847         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29848         mprotect making __stack_prot writable.
29850 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29851             Joseph Myers  <joseph@codesourcery.com>
29853         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29854         as being properly aligned.
29856 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29858         * dlfcn/modstatic5.c: New file.
29859         * dlfcn/tststatic5.c: New file.
29860         * dlfcn/Makefile (tests): Add tststatic5.
29861         (tests-static): Likewise.
29862         (modules-names): Add modstatic5.
29863         (tststatic5-ENV): New variable.
29864         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29866         [BZ #15022]
29867         * elf/dl-support.c (_dl_main_map): New variable.
29868         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29869         (_dl_nns, _dl_load_adds): Set to 1.
29870         (_dl_initial_searchlist): Refer to _dl_main_map.
29871         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29872         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29873         call to _dl_get_origin.
29874         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29875         around call_map.
29876         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29877         * dlfcn/modstatic3.c: New file.
29878         * dlfcn/tststatic3.c: New file.
29879         * dlfcn/tststatic4.c: New file.
29880         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29881         (tests-static): Likewise.
29882         (modules-names): Add modstatic3.
29883         (tststatic3-ENV, tststatic4-ENV): New variables.
29884         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29885         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29887 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29889         * configure.in (CC): Require GCC version 4.4 or later.
29890         * configure: Regenerated.
29891         * manual/install.texi (Tools for Compilation): Update GCC version
29892         requirement.
29893         * INSTALL: Regenerated.
29895 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29897         [BZ #15674]
29898         * string/test-memcmp.c (check2): New.
29899         (main): Call check2.
29901         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29903 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29905         [BZ #15022]
29906         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29907         over to...
29908         (dl_open_worker) [!SHARED]: ... here.
29910 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29912         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29914 2013-06-25  Richard Henderson  <rth@redhat.com>
29916         * locale/programs/locarchive.c: Include <libc-internal.h>
29918 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29920         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29921         trailing whitespace removed.
29923 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29925         [BZ #10283]
29926         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29927         * locale/programs/locarchive.c: Include libc-mmap.h.
29928         (prepare_address_space): Take two new outputs (the mmap base and len).
29929         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29930         values.
29931         (create_archive): Declare new mmap base and len values for
29932         prepare_address_space, and store the result in ah.
29933         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29934         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29935         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29936         Declare new mmap base and len values for
29937         prepare_address_space, and store the result in new_ah.
29938         (open_archive): Declare new mmap base and len values for
29939         prepare_address_space, and store the result in ah.
29940         (close_archive): If ah->mmap_base is not NULL, use that and
29941         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29942         * sysdeps/generic/libc-mmap.h: New file.
29944 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29946         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29947         (ALIGN_UP): Likewise.
29948         (PTR_ALIGN_DOWN): Likewise.
29949         (PTR_ALIGN_UP): Likewise.
29951 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29953         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29954         entry mapped to PPC_PLATFORM_POWER8.
29955         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29956         POWER8.
29957         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29958         (_dl_string_platform): Add case for exporting platform position for
29959         POWER8.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29961         search path to sysdeps/powerpc/powerpc32/power8 directory.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29963         search path to sysdeps/powerpc/powerpc64/power8 directory.
29964         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29965         power7 directories.
29966         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29967         power7 directories.
29969 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29971         * INSTALL: Regenerate.
29973         * nscd/connections.c (nscd_init): Fix comment.
29975 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29977         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29979         [BZ #15667]
29980         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29981         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29983 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29985         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29986         DL_DST_REQ_STATIC.
29987         (DL_DST_REQ_STATIC): Remove macro.
29989 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29991         [BZ #7006]
29992         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29993         with a shift of 0 bits.
29995 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29997         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29998         $(tststatic-ENV).
30000 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30002         [BZ #15655]
30003         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30005 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30007         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30008         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30009         accepts -fno-tree-loop-distribute-patterns.
30010         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30011         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30012         recursive call.
30013         * string/memset.c (memset): Likewise.
30014         * string/test-memmove.c (simple_memmove): Disable loop transformation
30015         to library calls.
30016         * string/test-memset.c (simple_memset): Likewise.
30017         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30018         * benchtests/bench-memset.c (simple_memset): Likewise.
30019         * configure: Regenerated.
30021 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30023         * math/test-misc.c (main): Ignore fesetround failure when failures
30024         of subsequent rounding tests would be ignored.
30026         [BZ #15654]
30027         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30028         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30029         * math/fegetenv.c (__fegetenv): Return 0.
30030         * math/fegetexcept.c (fegetexcept): Return 0.
30031         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30032         FE_TONEAREST.
30033         * math/feholdexcpt.c (feholdexcept): Return 0.
30034         * math/fesetenv.c (__fesetenv): Return 0.
30035         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30036         argument FE_TONEAREST.
30037         * math/feupdateenv.c (__feupdateenv): Return 0.
30038         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30040 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30042         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30043         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30044         ($(objpfx)rtld-%.os rules): Use them.
30046 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30048         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30049         fields.
30051 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30053         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30054         length of target pattern, then descending length of dependency pattern.
30055         * configure.in (AWK): Require gawk 3.1.2 or newer.
30056         * manual/install.texi (Tools for Compilation): Say that we do.
30057         * configure: Regenerated.
30059         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30060         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30061         * scripts/sysd-rules.awk: ... this new script.
30062         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30063         than a glob-style pattern.
30065 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30067         * math/test-misc.c (main): Do not treat incorrectly rounded
30068         conversions as failure unless ROUNDING_TESTS passes.
30070 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30072         [BZ #15631]
30073         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30074         restore exception state around main square root computation, then
30075         check for inexactness explicitly.
30077         * math/libm-test.inc (fma_test_data): Add another test.
30079 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30081         * manual/threads.texi (Non-POSIX Extensions): New document
30082         node.  Document pthread_getattr_default_np and
30083         pthread_setattr_default_np.
30085         * Versions.def (libpthread): Add GLIBC_2.18.
30086         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30088         Likewise.
30089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30090         Likewise.
30091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30092         Likewise.
30093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30094         Likewise.
30095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30096         Likewise.
30097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30098         Likewise.
30099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30100         Likewise.
30101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30102         Likewise.
30103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30104         Likewise.
30106 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30109         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30111 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30112             H.J. Lu  <hjl.tools@gmail.com>
30114         [BZ #15627]
30115         * sysdeps/x86_64/rtld-memset.c: Remove file.
30116         * sysdeps/x86_64/rtld-memset.S: New file.
30118 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30120         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30121         (test_in_one_mode): Take arguments for whether the rounding mode
30122         is supported for each floating-point type.
30123         (do_test): Pass new arguments to test_in_one_mode using
30124         ROUNDING_TESTS.
30126 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30128         * posix/tst-waitid.c (do_test): Distinguish different instances of
30129         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30130         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30131         before entering the kernel for waitpid.
30133 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30135         * NEWS: Fix note on clock function precision.  Text by Roland
30136         McGrath.
30138 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30140         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30141         it into place only when and if the sanity check passes.
30143 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30145         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30146         output for whether conversion result is exact.  Take argument
30147         indicating whether type is IBM long double.
30148         (round_for_all): Change need_exact field to ibm_ld.
30149         * stdlib/tst-strtod-round.c (struct exactness): New type.
30150         (struct test): Change bool ld_ok field to struct exactness exact.
30151         (TEST): Update all definitions for change to field.
30152         (tests): Regenerate array contents.
30153         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30154         field value.  Check for IBM long double here.
30155         (do_test): Update calls to test_in_one_mode.
30157 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30159         [BZ #12515]
30160         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30161         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30163 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30165         [BZ #15605]
30166         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30167         generated by the compiler on loop optimizations.
30168         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30169         general definitions.
30171 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30173         * math/bug-nextafter.c: Include <math-tests.h>.
30174         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30175         the relevant type.
30176         * math/bug-nexttoward.c: Include <math-tests.h>.
30177         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30178         the relevant type.
30179         * math/test-misc.c: Include <math-tests.h>.
30180         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30181         the relevant type.
30183 2013-06-12  Andreas Jaeger  <aj@suse.de>
30185         * po/ia.po: Update Interlingua translation from translation
30186         project.
30188 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30190         * include/fenv.h: Include stdbool.h.
30191         (struct rm_ctx): New structure.
30192         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30193         Define macro.
30194         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30195         (SET_RESTORE_ROUNDF): Likewise.
30196         (SET_RESTORE_ROUNDL): Likewise.
30197         (SET_RESTORE_ROUND_NOEX): Likewise.
30198         (SET_RESTORE_ROUND_NOEXF): Likewise.
30199         (SET_RESTORE_ROUND_NOEXL): Likewise.
30200         (SET_RESTORE_ROUND_53BIT): Likewise.
30201         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30202         (libc_feresetround_noexf_ctx): Likewise.
30203         (libc_feresetround_noexl_ctx): Likewise.
30204         (libc_feholdsetround_53bit_ctx): Likewise.
30205         (libc_feresetround_53bit_ctx): Likewise.
30206         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30207         (libc_feholdexcept_setround_sse_ctx): New function.
30208         (libc_fesetenv_sse_ctx): Likewise.
30209         (libc_feupdateenv_sse_ctx): Likewise.
30210         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30211         (libc_feholdexcept_setround_387_ctx): Likewise.
30212         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30213         (libc_feholdsetround_387_prec_ctx): Likewise.
30214         (libc_feholdsetround_387_ctx): Likewise.
30215         (libc_feholdsetround_387_53bit_ctx): Likewise.
30216         (libc_feholdsetround_sse_ctx): Likewise.
30217         (libc_feresetround_sse_ctx): Likewise.
30218         (libc_feresetround_387_ctx): Likewise.
30219         (libc_feupdateenv_387_ctx): Likewise.
30220         (libc_feholdexcept_setroundf_ctx): Define macro.
30221         (libc_fesetenvf_ctx): Likewise.
30222         (libc_feupdateenvf_ctx): Likewise.
30223         (libc_feholdsetroundf_ctx): Likewise.
30224         (libc_feresetroundf_ctx): Likewise.
30225         (libc_feholdexcept_setround_ctx): Likewise.
30226         (libc_fesetenv_ctx): Likewise.
30227         (libc_feupdateenv_ctx): Likewise.
30228         (libc_feholdsetround_ctx): Likewise.
30229         (libc_feresetround_ctx): Likewise.
30230         (libc_feholdexcept_setroundl_ctx): Likewise.
30231         (libc_feupdateenvl_ctx): Likewise.
30232         (libc_feholdsetroundl_ctx): Likewise.
30233         (libc_feresetroundl_ctx): Likewise.
30234         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30235         (libc_feresetround_53bit_ctx): Likewise.
30237 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30239         * locale/iso-639.def: Convert to UTF-8.
30241 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30243         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30244         (EXCEPTION_TESTS_double): Likewise.
30245         (EXCEPTION_TESTS_long_double): Likewise.
30246         (EXCEPTION_TESTS): Likewise.
30247         * math/libm-test.inc (test_exceptions): Only test exceptions if
30248         EXCEPTION_TESTS (FLOAT).
30250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30252         * benchtests/Makefile (string-bench): Add strcpy_chk and
30253         stpcpy_chk.
30254         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30255         * benchtests/bench-stpcpy_chk.c: New file.
30256         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30257         * benchtests/bench-strcpy_chk.c: New file.
30258         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30259         code.
30260         (do_test): Likewise.
30262 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30264         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30265         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30266         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30267         with tabs where appropriate.
30268         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30269         dl-procinfo.h.
30270         [PPC_PLATFORM_PPC440]: Likewise.
30271         [PPC_PLATFORM_PPC464]: Likewise.
30272         [PPC_PLATFORM_PPC476]: Likewise.
30273         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30274         ppc464, and ppc476 platform strings merging from ports/
30275         dl-procinfo.h.
30277 2013-06-11  Andreas Schwab  <schwab@suse.de>
30279         [BZ #14991]
30280         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30281         (from_ucs4_idx): Regenerate.
30282         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30283         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30284         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30285         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30286         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30287         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30288         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30289         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30290         from FROM_LOOP and TO_LOOP specific macros.
30291         (BODY): Handle combining characters.
30292         * iconvdata/BIG5HKSCS.irreversible: Update.
30293         * iconvdata/BIG5HKSCS.precomposed: New file.
30294         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30295         characters.
30296         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30300         * include/sys/time.h: Fix indentation and add copyright header.
30302         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30303         (do_test): Likewise.
30304         * string/test-memchr.c (do_one_test): Likewise.
30305         (do_test): Likewise.
30306         * string/test-memcmp.c (do_one_test): Likewise.
30307         (do_test): Likewise.
30308         * string/test-memcpy.c (do_one_test): Likewise.
30309         (do_test): Likewise.
30310         * string/test-memmem.c (do_one_test): Likewise.
30311         (do_test): Likewise.
30312         (do_random_tests): Likewise.
30313         * string/test-memmove.c (do_one_test): Likewise.
30314         (do_test): Likewise.
30315         * string/test-memset.c (do_one_test): Likewise.
30316         (do_test): Likewise.
30317         * string/test-rawmemchr.c (do_one_test): Likewise.
30318         (do_test): Likewise.
30319         * string/test-strcasecmp.c (do_one_test): Likewise.
30320         (do_test): Likewise.
30321         * string/test-strcasestr.c (do_one_test): Likewise.
30322         (do_test): Likewise.
30323         * string/test-strcat.c (do_one_test): Likewise.
30324         (do_test): Likewise.
30325         * string/test-strchr.c (do_one_test): Likewise.
30326         (do_test): Likewise.
30327         * string/test-strcmp.c (do_one_test): Likewise.
30328         (do_test): Likewise.
30329         * string/test-strcpy.c (do_one_test): Likewise.
30330         (do_test): Likewise.
30331         * string/test-string.h: Likewise.
30332         (test_init): Likewise.
30333         * string/test-strlen.c (do_one_test): Likewise.
30334         (do_test): Likewise.
30335         * string/test-strncasecmp.c (do_one_test): Likewise.
30336         (do_test): Likewise.
30337         * string/test-strncat.c (do_one_test): Likewise.
30338         (do_test): Likewise.
30339         * string/test-strncmp.c (do_one_test): Likewise.
30340         (do_test_limit): Likewise.
30341         (do_test): Likewise.
30342         * string/test-strncpy.c (do_one_test): Likewise.
30343         (do_test): Likewise.
30344         * string/test-strnlen.c (do_one_test): Likewise.
30345         (do_test): Likewise.
30346         * string/test-strpbrk.c (do_one_test): Likewise.
30347         (do_test): Likewise.
30348         * string/test-strrchr.c (do_one_test): Likewise.
30349         (do_test): Likewise.
30350         * string/test-strspn.c (do_one_test): Likewise.
30351         (do_test): Likewise.
30352         * string/test-strstr.c (do_one_test): Likewise.
30353         (do_test): Likewise.
30355         * benchtests/Makefile (string-bench): Add string benchmarks.
30356         * benchtests/bench-bcopy-ifunc.c: New file.
30357         * benchtests/bench-bcopy.c: New file.
30358         * benchtests/bench-bzero-ifunc.c: New file.
30359         * benchtests/bench-bzero.c: New file.
30360         * benchtests/bench-memccpy-ifunc.c: New file.
30361         * benchtests/bench-memccpy.c: New file.
30362         * benchtests/bench-memchr-ifunc.c: New file.
30363         * benchtests/bench-memchr.c: New file.
30364         * benchtests/bench-memcmp-ifunc.c: New file.
30365         * benchtests/bench-memcmp.c: New file.
30366         * benchtests/bench-memmem-ifunc.c: New file.
30367         * benchtests/bench-memmem.c: New file.
30368         * benchtests/bench-memmove-ifunc.c: New file.
30369         * benchtests/bench-memmove.c: New file.
30370         * benchtests/bench-mempcpy-ifunc.c: New file.
30371         * benchtests/bench-mempcpy.c: New file.
30372         * benchtests/bench-memset-ifunc.c: New file.
30373         * benchtests/bench-memset.c: New file.
30374         * benchtests/bench-rawmemchr-ifunc.c: New file.
30375         * benchtests/bench-rawmemchr.c: New file.
30376         * benchtests/bench-stpcpy-ifunc.c: New file.
30377         * benchtests/bench-stpcpy.c: New file.
30378         * benchtests/bench-stpncpy-ifunc.c: New file.
30379         * benchtests/bench-stpncpy.c: New file.
30380         * benchtests/bench-strcasecmp-ifunc.c: New file.
30381         * benchtests/bench-strcasecmp.c: New file.
30382         * benchtests/bench-strcasestr-ifunc.c: New file.
30383         * benchtests/bench-strcasestr.c: New file.
30384         * benchtests/bench-strcat-ifunc.c: New file.
30385         * benchtests/bench-strcat.c: New file.
30386         * benchtests/bench-strchr-ifunc.c: New file.
30387         * benchtests/bench-strchr.c: New file.
30388         * benchtests/bench-strchrnul-ifunc.c: New file.
30389         * benchtests/bench-strchrnul.c: New file.
30390         * benchtests/bench-strcmp-ifunc.c: New file.
30391         * benchtests/bench-strcmp.c: New file.
30392         * benchtests/bench-strcpy-ifunc.c: New file.
30393         * benchtests/bench-strcpy.c: New file.
30394         * benchtests/bench-strcspn-ifunc.c: New file.
30395         * benchtests/bench-strcspn.c: New file.
30396         * benchtests/bench-strlen-ifunc.c: New file.
30397         * benchtests/bench-strlen.c: New file.
30398         * benchtests/bench-strncasecmp-ifunc.c: New file.
30399         * benchtests/bench-strncasecmp.c: New file.
30400         * benchtests/bench-strncat-ifunc.c: New file.
30401         * benchtests/bench-strncat.c: New file.
30402         * benchtests/bench-strncmp-ifunc.c: New file.
30403         * benchtests/bench-strncmp.c: New file.
30404         * benchtests/bench-strncpy-ifunc.c: New file.
30405         * benchtests/bench-strncpy.c: New file.
30406         * benchtests/bench-strnlen-ifunc.c: New file.
30407         * benchtests/bench-strnlen.c: New file.
30408         * benchtests/bench-strpbrk-ifunc.c: New file.
30409         * benchtests/bench-strpbrk.c: New file.
30410         * benchtests/bench-strrchr-ifunc.c: New file.
30411         * benchtests/bench-strrchr.c: New file.
30412         * benchtests/bench-strspn-ifunc.c: New file.
30413         * benchtests/bench-strspn.c: New file.
30414         * benchtests/bench-strstr-ifunc.c: New file.
30415         * benchtests/bench-strstr.c: New file.
30417         * benchtests/Makefile: Disable parallel execution of targets.
30418         (string-bench): Add memcpy.
30419         (benchset): New variable to store a list of benchmark sets.
30420         (bench-func): Renamed from bench.
30421         (bench-set): New target.
30422         (bench): Depend on bench-func and bench-set.
30423         * benchtests/README: Add section on benchmark sets.
30424         * benchtests/bench-memcpy-ifunc.c: New file.
30425         * benchtests/bench-memcpy.c: New file.
30426         * benchtests/bench-string.h: New file.
30428 2013-06-11  Andreas Schwab  <schwab@suse.de>
30430         [BZ #15577]
30431         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30432         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30433         values in the triple.
30434         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30435         terminator in the group key.
30437 2013-06-11  Andreas Jaeger  <aj@suse.de>
30439         * po/zh_TW.po: Update Chinese (traditional) translation from
30440         translation project.
30442 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30444         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30445         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30446         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30448         (clock_getcpuclockid): Likewise.
30449         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30450         Add weak_alias and libc_hidden_def.
30451         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30452         * rt/clock_gettime.c (clock_gettime): Rename to
30453         __clock_gettime.  Add weak_alias and libc_hidden_def.
30454         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30455         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30456         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30457         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30458         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30459         Likewise.
30460         * rt/clock_settime.c (clock_settime): Rename to
30461         __clock_settime.  Add weak_alias and libc_hidden_def.
30462         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30464 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30466         * mach/err_boot.sub: Remove trailing whitespace.
30467         * mach/err_ipc.sub: Likewise.
30468         * mach/err_mach.sub: Likewise.
30470         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30471         (ROUNDING_TESTS_double): Likewise.
30472         (ROUNDING_TESTS_long_double): Likewise.
30473         (ROUNDING_TESTS): Likewise.
30474         * math/libm-test.inc: Include <math-tests.h>.
30475         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30476         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30477         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30478         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30480 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30482         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30483         of assigning.
30485 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30487         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30488         otherwise empty TRANS lines.
30489         * sysdeps/gnu/errlist.c: Regenerated.
30491         * catgets/gencat.c (error_print): Use (void) in function
30492         definition.
30493         * crypt/crypt_util.c (__init_des): Likewise.
30494         * crypt/speeds.c (Stop): Likewise.
30495         (main): Likewise.
30496         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30497         * inet/ruserpass.c (token): Likewise.
30498         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30499         * intl/localealias.c (extend_alias_table): Likewise.
30500         * intl/plural-exp.c (init_germanic_plural): Likewise.
30501         * libio/fcloseall.c (__fcloseall): Likewise.
30502         * libio/genops.c (_IO_flush_all): Likewise.
30503         (_IO_flush_all_linebuffered): Likewise.
30504         (_IO_cleanup): Likewise.
30505         (_IO_iter_begin): Likewise.
30506         (_IO_iter_end): Likewise.
30507         (_IO_list_lock): Likewise.
30508         (_IO_list_unlock): Likewise.
30509         (_IO_list_resetlock): Likewise.
30510         * libio/getchar.c (getchar): Likewise.
30511         * libio/getchar_u.c (getchar_unlocked): Likewise.
30512         * libio/getwchar.c (getwchar): Likewise.
30513         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30514         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30515         * login/getpt.c (__getpt): Likewise.
30516         * login/tst-utmp.c (main): Likewise.
30517         * malloc/hooks.c (__malloc_check_init): Likewise.
30518         * malloc/malloc.c (__malloc_stats): Likewise.
30519         * malloc/mtrace.c (tr_break): Likewise.
30520         (mtrace): Likewise.
30521         (muntrace): Likewise.
30522         * misc/fstab.c (endfsent): Likewise.
30523         * misc/getclktck.c (__getclktck): Likewise.
30524         * misc/getdtsz.c (__getdtablesize): Likewise.
30525         * misc/gethostid.c (gethostid): Likewise.
30526         * misc/getpagesize.c (__getpagesize): Likewise.
30527         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30528         (__get_nprocs): Likewise.
30529         (__get_phys_pages): Likewise.
30530         (__get_avphys_pages): Likewise.
30531         * misc/getttyent.c (getttyent): Likewise.
30532         (setttyent): Likewise.
30533         (endttyent): Likewise.
30534         * misc/getusershell.c (getusershell): Likewise.
30535         (endusershell): Likewise.
30536         (setusershell): Likewise.
30537         (initshells): Likewise.
30538         * misc/hsearch.c (__hdestroy): Likewise.
30539         * misc/sync.c (sync): Likewise.
30540         * misc/syslog.c (closelog_internal): Likewise.
30541         (closelog): Likewise.
30542         * misc/ttyslot.c (ttyslot): Likewise.
30543         * misc/vhangup.c (vhangup): Likewise.
30544         * posix/fork.c (__fork): Likewise.
30545         * posix/getegid.c (__getegid): Likewise.
30546         * posix/geteuid.c (__geteuid): Likewise.
30547         * posix/getgid.c (__getgid): Likewise.
30548         * posix/getpid.c (__getpid): Likewise.
30549         * posix/getppid.c (__getppid): Likewise.
30550         * posix/getuid.c (__getuid): Likewise.
30551         * posix/pause.c (pause): Likewise.
30552         * posix/setpgrp.c (setpgrp): Likewise.
30553         * posix/setsid.c (__setsid): Likewise.
30554         * posix/test-vfork.c (noop): Likewise.
30555         * resolv/gethnamaddr.c (_endhtent): Likewise.
30556         (_gethtent): Likewise.
30557         (ht_endhostent): Likewise.
30558         (gethostent): Likewise.
30559         (dns_service): Likewise.
30560         * stdlib/drand48.c (drand48): Likewise.
30561         * stdlib/lrand48.c (lrand48): Likewise.
30562         * stdlib/mrand48.c (mrand48): Likewise.
30563         * stdlib/rand.c (rand): Likewise.
30564         * stdlib/random.c (__random): Likewise.
30565         * stdlib/setenv.c (clearenv): Likewise.
30566         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30567         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30568         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30569         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30570         (__get_nprocs): Likewise.
30571         (__get_phys_pages): Likewise.
30572         (__get_avphys_pages): Likewise.
30573         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30574         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30575         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30576         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30577         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30578         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30579         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30580         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30581         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30582         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30583         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30584         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30585         * sysdeps/posix/clock.c (clock): Likewise.
30586         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30587         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30588         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30589         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30590         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30592         (__get_nprocs_conf): Likewise.
30593         (__get_phys_pages): Likewise.
30594         (__get_avphys_pages): Likewise.
30595         * time/clock.c (clock): Likewise.
30596         * time/tzset.c (__tzname_max): Likewise.
30598 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30600         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30601         (__bswap_32): Do not use "register".
30602         * crypt/crypt.c (_ufc_doit_r): Likewise.
30603         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30604         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30605         * gmon/gmon.c (__monstartup): Likewise.
30606         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30607         * hurd/hurdmalloc.c (more_memory): Likewise.
30608         (malloc): Likewise.
30609         (free): Likewise.
30610         (realloc): Likewise.
30611         (malloc_fork_prepare): Likewise.
30612         (malloc_fork_parent): Likewise.
30613         (malloc_fork_child): Likewise.
30614         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30615         (_svcauth_des): Likewise.
30616         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30617         * inet/inet_net.c (inet_network): Likewise.
30618         * inet/inet_netof.c (inet_netof): Likewise.
30619         * inet/rcmd.c (__validuser2_sa): Likewise.
30620         * io/fts.c (fts_open): Likewise.
30621         (fts_load): Likewise.
30622         (fts_close): Likewise.
30623         (fts_read): Likewise.
30624         (fts_children): Likewise.
30625         (fts_build): Likewise.
30626         (fts_stat): Likewise.
30627         (fts_sort): Likewise.
30628         (fts_alloc): Likewise.
30629         (fts_lfree): Likewise.
30630         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30631         (_IO_file_xsgetn): Likewise.
30632         (_IO_file_xsgetn_mmap): Likewise.
30633         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30634         (_IO_cookie_write): Likewise.
30635         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30636         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30637         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30638         * malloc/obstack.c (_obstack_begin): Likewise.
30639         (_obstack_begin_1): Likewise.
30640         (_obstack_newchunk): Likewise.
30641         (_obstack_allocated_p): Likewise.
30642         (obstack_free): Likewise.
30643         (_obstack_memory_used): Likewise.
30644         * misc/getttyent.c (getttynam): Likewise.
30645         (getttyent): Likewise.
30646         (skip): Likewise.
30647         (value): Likewise.
30648         * misc/getusershell.c (initshells): Likewise.
30649         * misc/syslog.c (__vsyslog_chk): Likewise.
30650         * misc/ttyslot.c (ttyslot): Likewise.
30651         * nis/nis_hash.c (__nis_hash): Likewise.
30652         * posix/fnmatch_loop.c (FCT): Likewise.
30653         * posix/getconf.c (print_all): Likewise.
30654         (main): Likewise.
30655         * posix/getopt.c (exchange): Likewise.
30656         * posix/glob.c (globfree): Likewise.
30657         (prefix_array): Likewise.
30658         (__glob_pattern_type): Likewise.
30659         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30660         (NS_GET32): Likewise.
30661         (NS_PUT16): Likewise.
30662         (NS_PUT32): Likewise.
30663         * resolv/gethnamaddr.c (getanswer): Likewise.
30664         (gethostbyname2): Likewise.
30665         (gethostbyaddr): Likewise.
30666         (_gethtent): Likewise.
30667         (_gethtbyname2): Likewise.
30668         (_gethtbyaddr): Likewise.
30669         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30670         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30671         * resolv/res_init.c (__res_vinit): Likewise.
30672         (net_mask): Likewise.
30673         * resolv/res_mkquery.c (outchar): Likewise.
30674         (PRINT): Likewise.
30675         * stdio-common/printf_fp.c (outchar): Likewise.
30676         (PRINT): Likewise.
30677         * stdio-common/printf_fphex.c (outchar): Likewise.
30678         (PRINT): Likewise.
30679         * stdio-common/printf_size.c (outchar): Likewise.
30680         (PRINT): Likewise.
30681         * stdio-common/test_rdwr.c (main): Likewise.
30682         * stdio-common/tfformat.c (matches): Likewise.
30683         * stdio-common/vfprintf.c (outchar): Likewise.
30684         (printf_unknown): Likewise.
30685         (buffered_vfprintf): Likewise.
30686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30687         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30688         (ReadFile): Likewise.
30689         * stdlib/qsort.c (SWAP): Likewise.
30690         (_quicksort): Likewise.
30691         * stdlib/setenv.c (__add_to_environ): Likewise.
30692         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30693         * stdlib/strtol_l.c (__strtol_l): Likewise.
30694         * stdlib/tst-strtod.c (main): Likewise.
30695         * stdlib/tst-strtol.c (main): Likewise.
30696         * stdlib/tst-strtoll.c (main): Likewise.
30697         * string/bits/string2.h (__strcmp_cc): Likewise.
30698         (__strcmp_cg): Likewise.
30699         (__strcspn_c1): Likewise.
30700         (__strcspn_c2): Likewise.
30701         (__strcspn_c3): Likewise.
30702         (__strspn_c1): Likewise.
30703         (__strspn_c2): Likewise.
30704         (__strspn_c3): Likewise.
30705         (__strsep_1c): Likewise.
30706         (__strsep_2c): Likewise.
30707         (__strsep_3c): Likewise.
30708         * string/memccpy.c (__memccpy): Likewise.
30709         * string/stpcpy.c (__stpcpy): Likewise.
30710         * string/strcmp.c (strcmp): Likewise.
30711         * string/strrchr.c (strrchr): Likewise.
30712         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30713         Likewise.
30714         * sysdeps/mach/hurd/getcwd.c
30715         (_hurd_canonicalize_directory_name_internal): Likewise.
30716         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30717         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30718         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30719         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30720         Likewise, in both definitions.
30721         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30722         definitions.
30723         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30724         64] (__bswap_64): Likewise.
30725         * time/test_time.c (main): Likewise.
30726         * time/tzfile.c (__tzfile_read): Likewise.
30727         (__tzfile_compute): Likewise.
30728         * time/tzset.c (__tzset_parse_tz): Likewise.
30729         (tzset_internal): Likewise.
30730         (compute_change): Likewise.
30731         * wcsmbs/wcscat.c (__wcscat): Likewise.
30732         * wcsmbs/wcschr.c (wcschr): Likewise.
30733         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30734         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30735         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30736         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30737         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30738         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30739         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30740         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30741         * wcsmbs/wmemset.c (wmemset): Likewise.
30743 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30745         * scripts/config.guess: Update to version 2013-05-16.
30746         * scripts/config.sub: Update to version 2013-04-24.
30747         * scripts/install-sh: Update to version 2011-11-20.07.
30748         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30749         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30751 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30753         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30754         * elf/sln.c: Likewise.
30755         * hurd/hurd/ioctl.h: Likewise.
30756         * hurd/hurdmalloc.c: Likewise.
30757         * hurd/xattr.c: Likewise.
30758         * include/shlib-compat.h: Likewise.
30759         * inet/ruserpass.c: Likewise.
30760         * libio/iofgets_u.c: Likewise.
30761         * libio/iofgetws_u.c: Likewise.
30762         * locale/programs/ld-identification.c: Likewise.
30763         * locale/programs/ld-time.c: Likewise.
30764         * mach/msg-destroy.c: Likewise.
30765         * nss/nss_files/files-netgrp.c: Likewise.
30766         * resolv/res_data.c: Likewise.
30767         * soft-fp/op-1.h: Likewise.
30768         * soft-fp/op-2.h: Likewise.
30769         * soft-fp/op-4.h: Likewise.
30770         * soft-fp/op-common.h: Likewise.
30771         * stdio-common/printf_fphex.c: Likewise.
30772         * stdlib/strtod_l.c: Likewise.
30773         * sunrpc/rpc/clnt.h: Likewise.
30774         * sysdeps/generic/framestate.c: Likewise.
30775         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30776         * sysdeps/i386/bsd-setjmp.S: Likewise.
30777         * sysdeps/i386/__longjmp.S: Likewise.
30778         * sysdeps/i386/setjmp.S: Likewise.
30779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30780         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30781         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30782         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30789         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30792         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30793         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30794         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30795         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30796         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30797         * sysdeps/ieee754/support.c: Likewise.
30798         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30799         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30800         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30801         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30802         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30803         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30804         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30805         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30806         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30807         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30808         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30809         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30810         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30813         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30814         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30817 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30819         * posix/transbug.c: Remove executable mode.
30821 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30823         * crypt/speeds.c: Remove trailing whitespace.
30824         * dlfcn/default.c: Likewise.
30825         * elf/ifuncdep2.c: Likewise.
30826         * elf/ifuncmain1.c: Likewise.
30827         * elf/ifuncmain1vis.c: Likewise.
30828         * elf/testobj.h: Likewise.
30829         * elf/tst-stackguard1.c: Likewise.
30830         * gmon/sys/gmon.h: Likewise.
30831         * hurd/hurdmsg.c: Likewise.
30832         * hurd/new-fd.c: Likewise.
30833         * hurd/ports-get.c: Likewise.
30834         * iconvdata/ibm1008_420.c: Likewise.
30835         * inet/tst-getni1.c: Likewise.
30836         * inet/tst-getni2.c: Likewise.
30837         * libio/ioungetc.c: Likewise.
30838         * libio/wfiledoalloc.c: Likewise.
30839         * manual/libm-err-tab.pl: Likewise.
30840         * math/w_dremf.c: Likewise.
30841         * misc/ftruncate.c: Likewise.
30842         * posix/bug-glob2.c: Likewise.
30843         * posix/tst-pcre.c: Likewise.
30844         * posix/wait4.c: Likewise.
30845         * resolv/README: Likewise.
30846         * resolv/res_debug.h: Likewise.
30847         * resolv/tst-inet_ntop.c: Likewise.
30848         * setjmp/bug269-setjmp.c: Likewise.
30849         * soft-fp/extended.h: Likewise.
30850         * soft-fp/op-1.h: Likewise.
30851         * soft-fp/op-2.h: Likewise.
30852         * soft-fp/op-4.h: Likewise.
30853         * soft-fp/op-8.h: Likewise.
30854         * soft-fp/testit.c: Likewise.
30855         * stdio-common/bug16.c: Likewise.
30856         * stdlib/random.c: Likewise.
30857         * sunrpc/rpcsvc/rquota.x: Likewise.
30858         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30859         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30860         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30861         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30862         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30864         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30865         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30866         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30868         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30871         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30872         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30873         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30875         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30876         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30877         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30878         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30880         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30881         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30882         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30883         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30886         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30887         * sysdeps/ieee754/s_lib_version.c: Likewise.
30888         * sysdeps/mach/hurd/check_fds.c: Likewise.
30889         * sysdeps/mach/hurd/getsockname.c: Likewise.
30890         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30891         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30892         * sysdeps/powerpc/bits/link.h: Likewise.
30893         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30894         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30895         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30896         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30897         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30898         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30899         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30900         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30901         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30902         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30903         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30904         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30905         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30906         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30907         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30908         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30913         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30914         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30916         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30917         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30926         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30927         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30928         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30929         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30930         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30931         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30932         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30933         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30934         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30935         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30936         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30937         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30938         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30939         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30941         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30942         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30945         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30946         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30947         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30948         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30949         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30952         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30955         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30956         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30957         * sysdeps/powerpc/sysdep.h: Likewise.
30958         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30959         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30960         * sysdeps/sh/dl-trampoline.S: Likewise.
30961         * sysdeps/sh/memset.S: Likewise.
30962         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30963         * sysdeps/sh/strlen.S: Likewise.
30964         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30965         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30966         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30967         * sysdeps/sparc/sparc32/rem.S: Likewise.
30968         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30969         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30970         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30971         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30972         * sysdeps/sparc/sparc32/urem.S: Likewise.
30973         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30974         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30975         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30976         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30978         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30979         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30980         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30981         * sysdeps/unix/bsd/times.c: Likewise.
30982         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30983         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30987         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30989         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30991         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30992         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30993         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30994         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30995         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30996         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30997         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30998         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30999         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31000         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31001         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31002         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31003         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31004         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31005         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31006         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31007         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31008         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31009         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31010         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31011         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31012         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31013         * sysdeps/x86_64/strcspn.S: Likewise.
31015 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31017         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31018         generated file.  Regenerate properly from gen-translit.pl.
31019         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31020         locale/C-translit.h.
31022 2013-06-05  Andreas Schwab  <schwab@suse.de>
31024         [BZ #15100]
31025         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31026         week as 6 instead of -1.
31027         * time/tst-strptime.c (day_tests): Add test case.
31029 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31031         * sysdeps/generic/math_private.h
31032         (libc_feholdexcept_setround_53bit): Replace with
31033         libc_feholdsetround_53bit.
31034         (libc_feupdateenv_53bit): Replace with
31035         libc_feresetround_53bit.
31036         (SET_RESTORE_ROUND_53BIT): Adjust.
31038 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31040         * string/test-strchrnul.c: Add copyright header.
31042         * posix/tst-getaddrinfo4.c: Increase test timeout.
31044 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31046         [BZ #15536]
31047         * math/libm-test.inc (MAX_EXP): Remove
31048         (MIN_EXP): Define.
31049         (ulp): Use MIN_EXP - MANT_DIG.
31050         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31052 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31054         * po/be.po: Revert last change.
31055         * po/zh_CN.po: Likewise.
31056         * po/header.pot: Likewise.
31058 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31060         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31061         link-libc-deps to empty as target-specific variable.
31062         * Makerules (link-libc-args): New variable.
31063         (libc-for-link): Likewise.
31064         (link-libc-deps): Likewise.
31065         (lib%.so): Depend on $(link-libc-deps).  Link with
31066         $(link-libc-args).
31067         (build-module): Link with $(link-libc-args).
31068         (build-module-asneeded): Likewise.
31069         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31070         list of objects.
31071         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31072         target-specific variable.
31073         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31074         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31075         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31076         libc.
31077         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31078         libc and ld.so.
31079         ($(objpfx)libpcprofile.so): Likewise.
31080         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31081         libc_nonshared.a.
31082         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31083         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31084         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31085         $(link-libc-deps).
31086         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31087         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31088         * login/Makefile ($(objpfx)libutil.so): Likewise.
31089         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31090         * math/Makefile ($(objpfx)libm.so): Likewise.
31091         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31092         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31093         variable instead of depending directly on libc.
31094         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31095         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31096         $(link-libc-deps).
31097         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31098         libc.
31099         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31100         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31101         ($(objpfx)libanl.so): Likewise.
31102         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31103         ld.so.
31104         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31105         $(link-libc-deps).
31106         * sysdeps/i386/fpu/Makefile: Remove file.
31107         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31108         ($(objpfx)libm.so): Remove dependency on ld.so.
31110 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31112         [BZ # 15553]
31113         * nis/yp_xdr.c (XDRMAXNAME): Define.
31114         (XDRMAXRECORD): Define.
31115         (xdr_domainname): Use XDRMAXNAME.
31116         (xdr_mapname): Likewise.
31117         (xdr_peername): Likewise.
31118         (xdr_keydat): Use XDRMAXRECORD.
31119         (xdr_valdat): Likewise.
31121 2013-05-30  Jeff Law  <law@redhat.com>
31123         [BZ #14256]
31124         * manual/errno.texi (ESTALE): Update to account for more than
31125         just NFS file systems.
31126         * sysdeps/gnu/errlist.c: Regenerated.
31128 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31130         [BZ #15465]
31131         * elf/Makefile (tests): Add tst-null-argv.
31132         (modules-names):  Add tst-null-argv-lib.
31133         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31134         (tst-null-argv-ENV): Set environment for tst-null-argv.
31135         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31136         (RTLD_PROGNAME): New macro.
31137         * elf/tst-null-argv.c: New test case.
31138         * elf/tst-null-argv-lib.c: Library for test case.
31139         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31140         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31141         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31142         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31143         * elf/dl-init.c (call_init): Likewise.
31144         (_dl_init): Likewise.
31145         * elf/dl-load.c (print_search_path): Likewise.
31146         (_dl_map_object): Likewise.
31147         * elf/dl-lookup.c (do_lookup_x): Likewise.
31148         (add_dependency): Likewise.
31149         (_dl_lookup_symbol_x): Likewise.
31150         (_dl_debug_bindings): Likewise.
31151         * elf/dl-open.c (_dl_show_scope): Likewise.
31152         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31153         * elf/dl-version.c (match_symbol): Likewise.
31154         (_dl_check_map_versions): Likewise.
31155         * elf/rtld.c (dl_main): Likewise.
31156         (print_unresolved): Use RTLD_PROGNAME.
31157         (print_missing_version): Likewise.
31158         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31159         (elf_machine_rela): Likewise.
31160         * sysdeps/powerpc/powerpc32/dl-machine.c
31161         (__process_machine_rela): Likewise.
31162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31163         Likewise.
31164         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31165         Likewise.
31166         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31167         Likewise.
31168         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31170         Likewise.
31171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31172         Likewise.
31173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31175 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31177         * po/be.po: Add descriptive title.
31178         * po/zh_CN.po: Likewise.
31179         * po/header.pot: Likewise.
31181 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31183         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31184         error message.
31185         (enlarge_archive): Likewise.
31187 2013-05-28  Ben North  <ben@redfrontdoor.org>
31189         * manual/arith.texi (frexp): It is the magnitude of the return
31190         value which lies in [0.5, 1), not the return value itself.
31192 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31196 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31198         * stdio-common/bug26.c (main): Correct fscanf template.
31200         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31201         declare _dl_skip_args.
31203         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31204         Don't declare.
31206         * manual/platform.texi: Add missing @end deftypefun.
31208 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31210         [BZ #15529]
31211         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31212         bit of mantissa of 2^16382.
31213         * math/libm-test.inc (hypot_test_data): Add more tests.
31215         * math/libm-test.inc: Add drem and pow10 to list of tested
31216         functions.
31217         (pow10_test): New function.
31218         (drem_test): Likewise.
31219         (drem_test_tonearest): Likewise.
31220         (drem_test_towardzero): Likewise.
31221         (drem_test_downward): Likewise.
31222         (drem_test_upward): Likewise.
31223         (main): Call the new functions.
31225         * math/libm-test.inc (finite_test_data): Remove.
31226         (finite_test): Run tests from isfinite_test_data.
31227         (gamma_test_data): Remove.
31228         (gamma_test): Run tests from lgamma_test_data.
31229         * sysdeps/i386/fpu/libm-test-ulps: Update.
31230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31232 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31234         * manual/platform.texi: Add PowerPC PPR function set documentation.
31235         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31236         implementation.
31238 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31240         * math/libm-test.inc (MAX_EXP): Define.
31241         (ULPDIFF): Define.
31242         (ulp): New function.
31243         (check_float_internal): Use ULPDIFF.
31244         (cpow_test): Disable failing test.
31245         (check_ulp): Test ulp() implemetnation.
31246         (main): Call check_ulp before starting tests.
31248 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31250         * math/gen-libm-test.pl (generate_testfile): Do not handle
31251         START_DATA and END_DATA.
31252         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31253         END_DATA.
31254         (acos_tonearest_test_data): Likewise.
31255         (acos_towardzero_test_data): Likewise.
31256         (acos_downward_test_data): Likewise.
31257         (acos_upward_test_data): Likewise.
31258         (acosh_test_data): Likewise.
31259         (asin_test_data): Likewise.
31260         (asin_tonearest_test_data): Likewise.
31261         (asin_towardzero_test_data): Likewise.
31262         (asin_downward_test_data): Likewise.
31263         (asin_upward_test_data): Likewise.
31264         (asinh_test_data): Likewise.
31265         (atan_test_data): Likewise.
31266         (atanh_test_data): Likewise.
31267         (atan2_test_data): Likewise.
31268         (cabs_test_data): Likewise.
31269         (cacos_test_data): Likewise.
31270         (cacosh_test_data): Likewise.
31271         (carg_test_data): Likewise.
31272         (casin_test_data): Likewise.
31273         (casinh_test_data): Likewise.
31274         (catan_test_data): Likewise.
31275         (catanh_test_data): Likewise.
31276         (cbrt_test_data): Likewise.
31277         (ccos_test_data): Likewise.
31278         (ccosh_test_data): Likewise.
31279         (ceil_test_data): Likewise.
31280         (cexp_test_data): Likewise.
31281         (cimag_test_data): Likewise.
31282         (clog_test_data): Likewise.
31283         (clog10_test_data): Likewise.
31284         (conj_test_data): Likewise.
31285         (copysign_test_data): Likewise.
31286         (cos_test_data): Likewise.
31287         (cos_tonearest_test_data): Likewise.
31288         (cos_towardzero_test_data): Likewise.
31289         (cos_downward_test_data): Likewise.
31290         (cos_upward_test_data): Likewise.
31291         (cosh_test_data): Likewise.
31292         (cosh_tonearest_test_data): Likewise.
31293         (cosh_towardzero_test_data): Likewise.
31294         (cosh_downward_test_data): Likewise.
31295         (cosh_upward_test_data): Likewise.
31296         (cpow_test_data): Likewise.
31297         (cproj_test_data): Likewise.
31298         (creal_test_data): Likewise.
31299         (csin_test_data): Likewise.
31300         (csinh_test_data): Likewise.
31301         (csqrt_test_data): Likewise.
31302         (ctan_test_data): Likewise.
31303         (ctan_tonearest_test_data): Likewise.
31304         (ctan_towardzero_test_data): Likewise.
31305         (ctan_downward_test_data): Likewise.
31306         (ctan_upward_test_data): Likewise.
31307         (ctanh_test_data): Likewise.
31308         (ctanh_tonearest_test_data): Likewise.
31309         (ctanh_towardzero_test_data): Likewise.
31310         (ctanh_downward_test_data): Likewise.
31311         (ctanh_upward_test_data): Likewise.
31312         (erf_test_data): Likewise.
31313         (erfc_test_data): Likewise.
31314         (exp_test_data): Likewise.
31315         (exp_tonearest_test_data): Likewise.
31316         (exp_towardzero_test_data): Likewise.
31317         (exp_downward_test_data): Likewise.
31318         (exp_upward_test_data): Likewise.
31319         (exp10_test_data): Likewise.
31320         (exp2_test_data): Likewise.
31321         (expm1_test_data): Likewise.
31322         (fabs_test_data): Likewise.
31323         (fdim_test_data): Likewise.
31324         (finite_test_data): Likewise.
31325         (floor_test_data): Likewise.
31326         (fma_test_data): Likewise.
31327         (fma_towardzero_test_data): Likewise.
31328         (fma_downward_test_data): Likewise.
31329         (fma_upward_test_data): Likewise.
31330         (fmax_test_data): Likewise.
31331         (fmin_test_data): Likewise.
31332         (fmod_test_data): Likewise.
31333         (fpclassify_test_data): Likewise.
31334         (frexp_test_data): Likewise.
31335         (gamma_test_data): Likewise.
31336         (hypot_test_data): Likewise.
31337         (ilogb_test_data): Likewise.
31338         (isfinite_test_data): Likewise.
31339         (isgreater_test_data): Likewise.
31340         (isgreaterequal_test_data): Likewise.
31341         (isinf_test_data): Likewise.
31342         (isless_test_data): Likewise.
31343         (islessequal_test_data): Likewise.
31344         (islessgreater_test_data): Likewise.
31345         (isnan_test_data): Likewise.
31346         (isnormal_test_data): Likewise.
31347         (issignaling_test_data): Likewise.
31348         (isunordered_test_data): Likewise.
31349         (j0_test_data): Likewise.
31350         (j1_test_data): Likewise.
31351         (jn_test_data): Likewise.
31352         (ldexp_test_data): Likewise.
31353         (lgamma_test_data): Likewise.
31354         (lrint_test_data): Likewise.
31355         (lrint_tonearest_test_data): Likewise.
31356         (lrint_towardzero_test_data): Likewise.
31357         (lrint_downward_test_data): Likewise.
31358         (lrint_upward_test_data): Likewise.
31359         (llrint_test_data): Likewise.
31360         (llrint_tonearest_test_data): Likewise.
31361         (llrint_towardzero_test_data): Likewise.
31362         (llrint_downward_test_data): Likewise.
31363         (llrint_upward_test_data): Likewise.
31364         (log_test_data): Likewise.
31365         (log10_test_data): Likewise.
31366         (log1p_test_data): Likewise.
31367         (log2_test_data): Likewise.
31368         (logb_test_data): Likewise.
31369         (logb_downward_test_data): Likewise.
31370         (lround_test_data): Likewise.
31371         (llround_test_data): Likewise.
31372         (modf_test_data): Likewise.
31373         (nearbyint_test_data): Likewise.
31374         (nextafter_test_data): Likewise.
31375         (nexttoward_test_data): Likewise.
31376         (pow_test_data): Likewise.
31377         (pow_tonearest_test_data): Likewise.
31378         (pow_towardzero_test_data): Likewise.
31379         (pow_downward_test_data): Likewise.
31380         (pow_upward_test_data): Likewise.
31381         (remainder_test_data): Likewise.
31382         (remainder_tonearest_test_data): Likewise.
31383         (remainder_towardzero_test_data): Likewise.
31384         (remainder_downward_test_data): Likewise.
31385         (remainder_upward_test_data): Likewise.
31386         (remquo_test_data): Likewise.
31387         (rint_test_data): Likewise.
31388         (rint_tonearest_test_data): Likewise.
31389         (rint_towardzero_test_data): Likewise.
31390         (rint_downward_test_data): Likewise.
31391         (rint_upward_test_data): Likewise.
31392         (round_test_data): Likewise.
31393         (scalb_test_data): Likewise.
31394         (scalbn_test_data): Likewise.
31395         (scalbln_test_data): Likewise.
31396         (signbit_test_data): Likewise.
31397         (sin_test_data): Likewise.
31398         (sin_tonearest_test_data): Likewise.
31399         (sin_towardzero_test_data): Likewise.
31400         (sin_downward_test_data): Likewise.
31401         (sin_upward_test_data): Likewise.
31402         (sincos_test_data): Likewise.
31403         (sinh_test_data): Likewise.
31404         (sinh_tonearest_test_data): Likewise.
31405         (sinh_towardzero_test_data): Likewise.
31406         (sinh_downward_test_data): Likewise.
31407         (sinh_upward_test_data): Likewise.
31408         (sqrt_test_data): Likewise.
31409         (tan_test_data): Likewise.
31410         (tan_tonearest_test_data): Likewise.
31411         (tan_towardzero_test_data): Likewise.
31412         (tan_downward_test_data): Likewise.
31413         (tan_upward_test_data): Likewise.
31414         (tanh_test_data): Likewise.
31415         (tgamma_test_data): Likewise.
31416         (trunc_test_data): Likewise.
31417         (y0_test_data): Likewise.
31418         (y1_test_data): Likewise.
31419         (yn_test_data): Likewise.
31420         (significand_test_data): Likewise.
31422         * math/gen-libm-test.pl (@functions): Remove variable.
31423         (generate_testfile): Don't handle START and END lines.
31424         * math/libm-test.inc (START): New macro.
31425         (END): Likewise.
31426         (END_COMPLEX): Likewise.
31427         (acos_test): Use END macro without arguments.
31428         (acos_test_tonearest): Likewise.
31429         (acos_test_towardzero): Likewise.
31430         (acos_test_downward): Likewise.
31431         (acos_test_upward): Likewise.
31432         (acosh_test): Likewise.
31433         (asin_test): Likewise.
31434         (asin_test_tonearest): Likewise.
31435         (asin_test_towardzero): Likewise.
31436         (asin_test_downward): Likewise.
31437         (asin_test_upward): Likewise.
31438         (asinh_test): Likewise.
31439         (atan_test): Likewise.
31440         (atanh_test): Likewise.
31441         (atan2_test): Likewise.
31442         (cabs_test): Likewise.
31443         (cacos_test): Use END_COMPLEX macro without arguments.
31444         (cacosh_test): Likewise.
31445         (carg_test): Use END macro without arguments.
31446         (casin_test): Use END_COMPLEX macro without arguments.
31447         (casinh_test): Likewise.
31448         (catan_test): Likewise.
31449         (catanh_test): Likewise.
31450         (cbrt_test): Use END macro without arguments.
31451         (ccos_test): Use END_COMPLEX macro without arguments.
31452         (ccosh_test): Likewise.
31453         (ceil_test): Use END macro without arguments.
31454         (cexp_test): Use END_COMPLEX macro without arguments.
31455         (cimag_test): Use END macro without arguments.
31456         (clog_test): Use END_COMPLEX macro without arguments.
31457         (clog10_test): Likewise.
31458         (conj_test): Likewise.
31459         (copysign_test): Use END macro without arguments.
31460         (cos_test): Likewise.
31461         (cos_test_tonearest): Likewise.
31462         (cos_test_towardzero): Likewise.
31463         (cos_test_downward): Likewise.
31464         (cos_test_upward): Likewise.
31465         (cosh_test): Likewise.
31466         (cosh_test_tonearest): Likewise.
31467         (cosh_test_towardzero): Likewise.
31468         (cosh_test_downward): Likewise.
31469         (cosh_test_upward): Likewise.
31470         (cpow_test): Use END_COMPLEX macro without arguments.
31471         (cproj_test): Likewise.
31472         (creal_test): Use END macro without arguments.
31473         (csin_test): Use END_COMPLEX macro without arguments.
31474         (csinh_test): Likewise.
31475         (csqrt_test): Likewise.
31476         (ctan_test): Likewise.
31477         (ctan_test_tonearest): Likewise.
31478         (ctan_test_towardzero): Likewise.
31479         (ctan_test_downward): Likewise.
31480         (ctan_test_upward): Likewise.
31481         (ctanh_test): Likewise.
31482         (ctanh_test_tonearest): Likewise.
31483         (ctanh_test_towardzero): Likewise.
31484         (ctanh_test_downward): Likewise.
31485         (ctanh_test_upward): Likewise.
31486         (erf_test): Use END macro without arguments.
31487         (erfc_test): Likewise.
31488         (exp_test): Likewise.
31489         (exp_test_tonearest): Likewise.
31490         (exp_test_towardzero): Likewise.
31491         (exp_test_downward): Likewise.
31492         (exp_test_upward): Likewise.
31493         (exp10_test): Likewise.
31494         (exp2_test): Likewise.
31495         (expm1_test): Likewise.
31496         (fabs_test): Likewise.
31497         (fdim_test): Likewise.
31498         (finite_test): Likewise.
31499         (floor_test): Likewise.
31500         (fma_test): Likewise.
31501         (fma_test_towardzero): Likewise.
31502         (fma_test_downward): Likewise.
31503         (fma_test_upward): Likewise.
31504         (fmax_test): Likewise.
31505         (fmin_test): Likewise.
31506         (fmod_test): Likewise.
31507         (fpclassify_test): Likewise.
31508         (frexp_test): Likewise.
31509         (gamma_test): Likewise.
31510         (hypot_test): Likewise.
31511         (ilogb_test): Likewise.
31512         (isfinite_test): Likewise.
31513         (isgreater_test): Likewise.
31514         (isgreaterequal_test): Likewise.
31515         (isinf_test): Likewise.
31516         (isless_test): Likewise.
31517         (islessequal_test): Likewise.
31518         (islessgreater_test): Likewise.
31519         (isnan_test): Likewise.
31520         (isnormal_test): Likewise.
31521         (issignaling_test): Likewise.
31522         (isunordered_test): Likewise.
31523         (j0_test): Likewise.
31524         (j1_test): Likewise.
31525         (jn_test): Likewise.
31526         (ldexp_test): Likewise.
31527         (lgamma_test): Likewise.
31528         (lrint_test): Likewise.
31529         (lrint_test_tonearest): Likewise.
31530         (lrint_test_towardzero): Likewise.
31531         (lrint_test_downward): Likewise.
31532         (lrint_test_upward): Likewise.
31533         (llrint_test): Likewise.
31534         (llrint_test_tonearest): Likewise.
31535         (llrint_test_towardzero): Likewise.
31536         (llrint_test_downward): Likewise.
31537         (llrint_test_upward): Likewise.
31538         (log_test): Likewise.
31539         (log10_test): Likewise.
31540         (log1p_test): Likewise.
31541         (log2_test): Likewise.
31542         (logb_test): Likewise.
31543         (logb_test_downward): Likewise.
31544         (lround_test): Likewise.
31545         (llround_test): Likewise.
31546         (modf_test): Likewise.
31547         (nearbyint_test): Likewise.
31548         (nextafter_test): Likewise.
31549         (nexttoward_test): Likewise.
31550         (pow_test): Likewise.
31551         (pow_test_tonearest): Likewise.
31552         (pow_test_towardzero): Likewise.
31553         (pow_test_downward): Likewise.
31554         (pow_test_upward): Likewise.
31555         (remainder_test): Likewise.
31556         (remainder_test_tonearest): Likewise.
31557         (remainder_test_towardzero): Likewise.
31558         (remainder_test_downward): Likewise.
31559         (remainder_test_upward): Likewise.
31560         (remquo_test): Likewise.
31561         (rint_test): Likewise.
31562         (rint_test_tonearest): Likewise.
31563         (rint_test_towardzero): Likewise.
31564         (rint_test_downward): Likewise.
31565         (rint_test_upward): Likewise.
31566         (round_test): Likewise.
31567         (scalb_test): Likewise.
31568         (scalbn_test): Likewise.
31569         (scalbln_test): Likewise.
31570         (signbit_test): Likewise.
31571         (sin_test): Likewise.
31572         (sin_test_tonearest): Likewise.
31573         (sin_test_towardzero): Likewise.
31574         (sin_test_downward): Likewise.
31575         (sin_test_upward): Likewise.
31576         (sincos_test): Likewise.
31577         (sinh_test): Likewise.
31578         (sinh_test_tonearest): Likewise.
31579         (sinh_test_towardzero): Likewise.
31580         (sinh_test_downward): Likewise.
31581         (sinh_test_upward): Likewise.
31582         (sqrt_test): Likewise.
31583         (tan_test): Likewise.
31584         (tan_test_tonearest): Likewise.
31585         (tan_test_towardzero): Likewise.
31586         (tan_test_downward): Likewise.
31587         (tan_test_upward): Likewise.
31588         (tanh_test): Likewise.
31589         (tgamma_test): Likewise.
31590         (trunc_test): Likewise.
31591         (y0_test): Likewise.
31592         (y1_test): Likewise.
31593         (yn_test): Likewise.
31594         (significand_test): Likewise.
31596 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31598         [BZ #15381]
31599         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31601 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31603         [BZ #14894]
31604         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31605         __ppc_mdoio and __ppc_mdoom.
31606         * manual/platform.texi: Document new functions __ppc_yield,
31607         __ppc_mdoio and __ppc_mdoom.
31609 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31611         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31612         (main): Mention "tls" pseudo-hwcap is legacy.
31613         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31615 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31617         * math/gen-libm-test.pl (parse_args): Output only string of
31618         arguments as text for test name, not full call or descriptions of
31619         tests for extra outputs.
31620         (generate_testfile): Do not pass function name to parse_args.
31621         Generate this_func variable from START.
31622         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31623         field to arg_str.
31624         (struct test_ff_f_data): Likewise.
31625         (test_ff_f_data_nexttoward): Likewise.
31626         (struct test_fi_f_data): Likewise.
31627         (struct test_fl_f_data): Likewise.
31628         (struct test_if_f_data): Likewise.
31629         (struct test_fff_f_data): Likewise.
31630         (struct test_c_f_data): Likewise.
31631         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31632         (struct test_fF_f1_data): Likewise.
31633         (struct test_ffI_f1_data): Likewise.
31634         (struct test_c_c_data): Rename test_name field to arg_str.
31635         (struct test_cc_c_data): Likewise.
31636         (struct test_f_i_data): Likewise.
31637         (struct test_ff_i_data): Likewise.
31638         (struct test_f_l_data): Likewise.
31639         (struct test_f_L_data): Likewise.
31640         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31641         and extra2_name.
31642         (COMMON_TEST_SETUP): New macro.
31643         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31644         (COMMON_TEST_CLEANUP): Likewise.
31645         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31646         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31647         macros.
31648         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31649         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31650         macros.
31651         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31652         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31653         cleanup macros.
31654         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31655         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31656         macros.
31657         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31658         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31659         macros.
31660         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31661         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31662         cleanup macros.
31663         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31664         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31665         cleanup macros.
31666         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31667         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31668         cleanup macros.
31669         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31670         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31671         macros.
31672         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31673         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31674         macros.
31675         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31676         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31677         macros.
31678         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31679         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31680         cleanup macros.
31681         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31682         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31683         cleanup macros.
31684         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31685         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31686         macros.
31687         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31688         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31689         cleanup macros.
31690         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31691         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31692         macros.
31693         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31694         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31695         macros.
31696         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31697         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31698         cleanup macros.
31699         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31701 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31703         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31704         to _sifields.sigfault.
31705         (si_addr_lsb): Define new macro.
31706         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31708         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31710 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31712         [BZ #15441]
31713         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31714         returns -1.
31715         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31716         null return -1.
31717         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31718         loading the domain.
31720 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31722         * math/gen-libm-test.pl (parse_args): Do not include expected
31723         result in test name.
31724         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31726         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31727         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31731 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31733         * benchtests/Makefile: Sort function entries.
31735         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31736         tanh, asinh, acosh, atanh.
31737         * benchtests/acos-inputs: New file.
31738         * benchtests/acosh-inputs: New file.
31739         * benchtests/asin-inputs: New file.
31740         * benchtests/asinh-inputs: New file.
31741         * benchtests/atanh-inputs: New file.
31742         * benchtests/cosh-inputs: New file.
31743         * benchtests/log-inputs: New file.
31744         * benchtests/sinh-inputs: New file.
31745         * benchtests/tanh-inputs: New file.
31747 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31749         [BZ #15339]
31750         * posix/tst-getaddrinfo4.c: New test.
31751         * posix/Makefile (tests): Add it.
31753 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31755         [BZ #15339]
31756         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31757         when no services were used.
31758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31759         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31761 2013-05-21  Andreas Schwab  <schwab@suse.de>
31763         [BZ #15014]
31764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31765         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31766         successful.
31767         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31768         redundant variable declarations and reallocation of buffer when
31769         parsing as IPv6 address.  Always set NSS status when called from
31770         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31771         buffer too small.  Correct computation of needed size.
31772         * nss/Makefile (tests): Add test-digits-dots.
31773         * nss/test-digits-dots.c: New test.
31775 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31777         * benchtests/Makefile: Remove instructions for adding
31778         benchmark tests.
31779         * benchtests/README: New file to explain how to execute and
31780         enhance the benchmark tests.
31782 2013-05-21  Andreas Schwab  <schwab@suse.de>
31784         [BZ #15493]
31785         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31786         * setjmp/tst-sigsetjmp.c: New test.
31788 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31790         * sysdeps/x86_64/memset.S (memset): New implementation.
31791         (__bzero): Likewise.
31792         (__memset_tail): New function.
31794 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31796         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31798         __memcpy_sse2_unaligned ifunc selection.
31799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31800         Add memcpy-sse2-unaligned.S.
31801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31802         Add: __memcpy_sse2_unaligned.
31804 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31806         [BZ #15490]
31807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31808         math_force_eval before restoring floating-point envrionment.
31809         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31811         Likewise.
31812         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31813         <math_private.h>.
31814         (__nearbyintl): Use math_force_eval before restoring
31815         floating-point environment.
31816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31818         * math/gen-libm-test.pl (special_functions): Remove.
31819         (parse_args): Don't handle TEST_extra.  Handle functions with no
31820         return value.
31821         * math/libm-test.inc (struct test_sincos_data): Replace with
31822         struct test_fFF_11_data.
31823         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31824         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31825         (sincos_test_data): Change element type to struct
31826         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31827         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31828         RUN_TEST_LOOP_sincos.
31829         * math/README.libm-test: Don't mention special handling of
31830         individual functions.
31831         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31833         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31835         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31838         * math/gen-libm-test.pl (get_variable): Remove function.
31839         (parse_args): Don't show pointer parameters to call in test
31840         names.  Use "extra output N" in test names for extra outputs
31841         rather than naming variables.
31843 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31845         [BZ #15488]
31846         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31847         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31848         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31849         double tests.
31850         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31851         disable.
31852         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31853         check_long_double.
31855         * math/gen-libm-test.pl (@tests): Remove variable.
31856         ($count): Likewise.
31857         (new_test): Remove function.
31858         (show_exceptions): New function.
31859         (special_functions): Use show_exceptions instead of new_test.
31860         (parse_args): Likewise.
31861         (generate_testfile): Pass only function name in generated call to
31862         print_max_error or print_complex_max_error.
31863         (get_ulps): Do not handle complex tests specially.
31864         (output_test): Rename to ...
31865         (get_all_ulps_for_test): ... this.  Return a string rather than
31866         printing to a file.  Require ulps to be present.
31867         (output_ulps): Generate arrays rather than #defines.
31868         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31869         (struct ulp_data): New type.
31870         (BUILD_COMPLEX_ULP): Remove macro.
31871         (compare_ulp_data): New function.
31872         (find_ulps): Likewise.
31873         (find_test_ulps): Likewise.
31874         (find_function_ulps): Likewise.
31875         (find_complex_function_ulps): Likewise.
31876         (print_max_error): Determine allowed ulps using
31877         find_function_ulps.
31878         (print_complex_max_error): Determine allowed ulps using
31879         find_complex_function_ulps.
31880         (check_float_internal): Determine max ulps using find_test_ulps.
31881         (check_float): Do not take max_ulp parameter.  Update call to
31882         check_float_internal.
31883         (check_complex): Likewise.
31884         (check_int): Do not take max_ulp parameter.
31885         (check_long): Likewise.
31886         (check_bool): Likewise.
31887         (check_longlong): Likewise.
31888         (struct test_f_f_data): Remove max_ulp field.
31889         (struct test_ff_f_data): Likewise.
31890         (struct test_ff_f_data_nexttoward): Likewise.
31891         (struct test_fi_f_data): Likewise.
31892         (struct test_fl_f_data): Likewise.
31893         (struct test_if_f_data): Likewise.
31894         (struct test_fff_f_data): Likewise.
31895         (struct test_c_f_data): Likewise.
31896         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31897         (struct test_fF_f1_data): Likewise.
31898         (struct test_ffI_f1_data): Likewise.
31899         (struct test_c_c_data): Remove max_ulp field.
31900         (struct test_cc_c_data): Likewise.
31901         (struct test_f_i_data): Likewise.
31902         (struct test_ff_i_data): Likewise.
31903         (struct test_f_l_data): Likewise.
31904         (struct test_f_L_data): Likewise.
31905         (struct test_sincos_data): Likewise.
31906         (RUN_TEST_f_f): Do not handle ulps.
31907         (RUN_TEST_LOOP_f_f): Likewise.
31908         (RUN_TEST_2_f): Likewise.
31909         (RUN_TEST_LOOP_2_f): Likewise.
31910         (RUN_TEST_fff_f): Likewise.
31911         (RUN_TEST_LOOP_fff_f): Likewise.
31912         (RUN_TEST_c_f): Likewise.
31913         (RUN_TEST_LOOP_c_f): Likewise.
31914         (RUN_TEST_f_f1): Likewise.
31915         (RUN_TEST_LOOP_f_f1): Likewise.
31916         (RUN_TEST_fF_f1): Likewise.
31917         (RUN_TEST_LOOP_fF_f1): Likewise.
31918         (RUN_TEST_fI_f1): Likewise.
31919         (RUN_TEST_LOOP_fI_f1): Likewise.
31920         (RUN_TEST_ffI_f1): Likewise.
31921         (RUN_TEST_LOOP_ffI_f1): Likewise.
31922         (RUN_TEST_c_c): Likewise.
31923         (RUN_TEST_LOOP_c_c): Likewise.
31924         (RUN_TEST_cc_c): Likewise.
31925         (RUN_TEST_LOOP_cc_c): Likewise.
31926         (RUN_TEST_f_i): Likewise.
31927         (RUN_TEST_LOOP_f_i): Likewise.
31928         (RUN_TEST_f_i_tg): Likewise.
31929         (RUN_TEST_LOOP_f_i_tg): Likewise.
31930         (RUN_TEST_ff_i_tg): Likewise.
31931         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31932         (RUN_TEST_f_b): Likewise.
31933         (RUN_TEST_LOOP_f_b): Likewise.
31934         (RUN_TEST_f_b_tg): Likewise.
31935         (RUN_TEST_LOOP_f_b_tg): Likewise.
31936         (RUN_TEST_f_l): Likewise.
31937         (RUN_TEST_LOOP_f_l): Likewise.
31938         (RUN_TEST_f_L): Likewise.
31939         (RUN_TEST_LOOP_f_L): Likewise.
31940         (RUN_TEST_sincos): Likewise.
31941         (RUN_TEST_LOOP_sincos): Likewise.
31943 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31945         [BZ #15480]
31946         [BZ #15485]
31947         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31948         main case of finite arguments, set rounding mode to FE_TONEAREST
31949         and discard exceptions.
31950         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31951         exceptions.
31952         (remainder_tonearest_test_data): New variable.
31953         (remainder_test_tonearest): New function.
31954         (remainder_towardzero_test_data): New variable.
31955         (remainder_test_towardzero): New function.
31956         (remainder_downward_test_data): New variable.
31957         (remainder_test_downward): New function.
31958         (remainder_upward_test_data): New variable.
31959         (remainder_test_upward): New function.
31960         (main): Call the new test functions.
31962         * math/libm-test.inc (struct test_f_f1_data): Remove field
31963         extra_init.
31964         (struct test_fF_f1_data): Likewise.
31965         (struct test_ffI_f1_data): Likewise.
31966         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31967         based on value of EXTRA_EXPECTED.
31968         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31969         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31970         EXTRA_VAR based on value of EXTRA_EXPECTED.
31971         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31972         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31973         EXTRA_VAR based on value of EXTRA_EXPECTED.
31974         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31975         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31976         EXTRA_VAR based on value of EXTRA_EXPECTED.
31977         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31978         * math/gen-libm-test.pl (parse_args): Don't output initializers
31979         for extra output values.
31981         * math/libm-test.inc (check_int): Expect result to be exactly
31982         equal to expected value and do not handle ulps.
31983         (check_long): Likewise.
31984         (check_longlong): Likewise.
31986         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31987         exceptions.
31988         (cimag_test_data): Likewise.
31989         (conj_test_data): Likewise.
31990         (copysign_test_data): Likewise.
31991         (cproj_test_data): Likewise.
31992         (creal_test_data): Likewise.
31993         (fabs_test_data): Likewise.
31994         (fdim_test_data): Likewise.
31995         (finite_test_data): Likewise.
31996         (floor_test_data): Likewise.
31997         (fmax_test_data): Likewise.
31998         (fmin_test_data): Likewise.
31999         (fmod_test_data): Likewise.
32000         (fpclassify_test_data): Likewise.
32001         (frexp_test_data): Likewise.
32002         (ilogb_test_data): Likewise.
32003         (isfinite_test_data): Likewise.
32004         (isgreater_test_data): Likewise.
32005         (isgreaterequal_test_data): Likewise.
32006         (isinf_test_data): Likewise.
32007         (isless_test_data): Likewise.
32008         (islessequal_test_data): Likewise.
32009         (islessgreater_test_data): Likewise.
32010         (isnan_test_data): Likewise.
32011         (isnormal_test_data): Likewise.
32012         (issignaling_test_data): Likewise.
32013         (isunordered_test_data): Likewise.
32014         (ldexp_test_data): Likewise.
32015         (lrint_test_data): Likewise.
32016         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32017         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32018         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32019         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32020         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32021         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32022         test input.
32023         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32024         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32025         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32026         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32027         that test input.
32028         (lrint_downward_test_data): Test for "inexact" exceptions.
32029         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32030         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32031         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32032         test input.
32033         (lrint_upward_test_data): Test for "inexact" exceptions.
32034         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32035         test input.
32036         (llrint_test_data): Test for "inexact" exceptions.
32037         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32038         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32039         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32040         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32041         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32042         (llrint_downward_test_data): Test for "inexact" exceptions.
32043         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32044         (llrint_upward_test_data): Test for "inexact" exceptions.
32045         (logb_test_data): Likewise.
32046         (logb_downward_test_data): Likewise.
32047         (nextafter_test_data): Likewise.
32048         (nexttoward_test_data): Likewise.
32049         (remainder_test_data): Likewise.
32050         (remquo_test_data): Likewise.
32051         (scalbn_test_data): Likewise.
32052         (scalbln_test_data): Likewise.
32053         (signbit_test_data): Likewise.
32054         (sqrt_test_data): Likewise.
32055         (significand_test_data): Likewise.
32057 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         [BZ #15424]
32060         * benchtests/bench-modf.c (struct args): Mark arg0 as
32061         volatile.
32062         * scripts/bench.pl: Mark members of struct args as volatile.
32064 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32066         [BZ # 15497]
32067         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32068         negative infinity on POWER6 or lower.
32069         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32071 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32073         [BZ #15442]
32074         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32075         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32076         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32077         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32078         (_FP_SETQNAN): New macro.
32079         (_FP_SETQNAN_SEMIRAW): Likewise.
32080         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32081         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32082         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32083         (FP_EXTEND): Use _FP_FRAC_SNANP.
32084         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32085         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32086         into account.
32087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32088         New macro.
32089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32090         Likewise.
32092 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32094         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32095         with DIVIDE_BY_ZERO_EXCEPTION.
32096         (gamma_test_data): Likewise.
32097         (lgamma_test_data): Likewise.
32098         (log_test_data): Likewise.
32099         (log10_test_data): Likewise.
32100         (log2_test_data): Likewise.
32101         (tgamma_test_data): Likewise.
32103         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32104         (acos_test_tonearest): Likewise.
32105         (acos_test_towardzero): Likewise.
32106         (acos_test_downward): Likewise.
32107         (acos_test_upward): Likewise.
32108         (acosh_test): Likewise.
32109         (asin_test): Likewise.
32110         (asin_test_tonearest): Likewise.
32111         (asin_test_towardzero): Likewise.
32112         (asin_test_downward): Likewise.
32113         (asin_test_upward): Likewise.
32114         (asinh_test): Likewise.
32115         (atan_test): Likewise.
32116         (atanh_test): Likewise.
32117         (atan2_test): Likewise.
32118         (cabs_test): Likewise.
32119         (cacos_test): Likewise.
32120         (cacosh_test): Likewise.
32121         (casin_test): Likewise.
32122         (casinh_test): Likewise.
32123         (catan_test): Likewise.
32124         (catanh_test): Likewise.
32125         (cbrt_test): Likewise.
32126         (ccos_test): Likewise.
32127         (ccosh_test): Likewise.
32128         (cexp_test): Likewise.
32129         (clog_test): Likewise.
32130         (clog10_test): Likewise.
32131         (cos_test): Likewise.
32132         (cos_test_tonearest): Likewise.
32133         (cos_test_towardzero): Likewise.
32134         (cos_test_downward): Likewise.
32135         (cos_test_upward): Likewise.
32136         (cosh_test): Likewise.
32137         (cosh_test_tonearest): Likewise.
32138         (cosh_test_towardzero): Likewise.
32139         (cosh_test_downward): Likewise.
32140         (cosh_test_upward): Likewise.
32141         (cpow_test): Likewise.
32142         (csin_test): Likewise.
32143         (csinh_test): Likewise.
32144         (csqrt_test): Likewise.
32145         (ctan_test): Likewise.
32146         (ctan_test_tonearest): Likewise.
32147         (ctan_test_towardzero): Likewise.
32148         (ctan_test_downward): Likewise.
32149         (ctan_test_upward): Likewise.
32150         (ctanh_test): Likewise.
32151         (ctanh_test_tonearest): Likewise.
32152         (ctanh_test_towardzero): Likewise.
32153         (ctanh_test_downward): Likewise.
32154         (ctanh_test_upward): Likewise.
32155         (erf_test): Likewise.
32156         (erfc_test): Likewise.
32157         (exp_test): Likewise.
32158         (exp_test_tonearest): Likewise.
32159         (exp_test_towardzero): Likewise.
32160         (exp_test_downward): Likewise.
32161         (exp_test_upward): Likewise.
32162         (exp10_test): Likewise.
32163         (exp2_test): Likewise.
32164         (expm1_test): Likewise.
32165         (fmod_test): Likewise.
32166         (gamma_test): Likewise.
32167         (hypot_test): Likewise.
32168         (j0_test): Likewise.
32169         (j1_test): Likewise.
32170         (jn_test): Likewise.
32171         (lgamma_test): Likewise.
32172         (log_test): Likewise.
32173         (log10_test): Likewise.
32174         (log1p_test): Likewise.
32175         (log2_test): Likewise.
32176         (logb_test_downward): Likewise.
32177         (pow_test): Likewise.
32178         (pow_test_tonearest): Likewise.
32179         (pow_test_towardzero): Likewise.
32180         (pow_test_downward): Likewise.
32181         (pow_test_upward): Likewise.
32182         (remainder_test): Likewise.
32183         (remquo_test): Likewise.
32184         (sin_test): Likewise.
32185         (sin_test_tonearest): Likewise.
32186         (sin_test_towardzero): Likewise.
32187         (sin_test_downward): Likewise.
32188         (sin_test_upward): Likewise.
32189         (sincos_test): Likewise.
32190         (sinh_test): Likewise.
32191         (sinh_test_tonearest): Likewise.
32192         (sinh_test_towardzero): Likewise.
32193         (sinh_test_downward): Likewise.
32194         (sinh_test_upward): Likewise.
32195         (sqrt_test): Likewise.
32196         (tan_test): Likewise.
32197         (tan_test_tonearest): Likewise.
32198         (tan_test_towardzero): Likewise.
32199         (tan_test_downward): Likewise.
32200         (tan_test_upward): Likewise.
32201         (tanh_test): Likewise.
32202         (tgamma_test): Likewise.
32203         (y0_test): Likewise.
32204         (y1_test): Likewise.
32205         (yn_test): Likewise.
32207         * math/gen-libm-test.pl (adjust_arg): Remove function.
32208         (special_function): Remove argument $in_func.  Only handle
32209         generating output for tables of tests, not inside functions.
32210         (parse_args): Likewise.
32211         (generate_testfile): Remove variable $in_func.  Update call to
32212         parse_args.
32213         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32214         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32215         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32216         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32217         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32218         (MAX_VALUE_INIT): Rename macro to max_value.
32219         (MIN_VALUE_INIT): Rename macro to min_value.
32220         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32221         (plus_zero): Remove variable.
32222         (minus_zero): Likewise.
32223         (plus_infty): Likewise.
32224         (minus_infty): Likewise.
32225         (qnan_value): Likewise.
32226         (max_value): Likewise.
32227         (min_value): Likewise.
32228         (min_subnorm_value): Likewise.
32230 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32232         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32233         uint64_t or uint32_t usage.
32234         * crypt/sha256-block.c: Likewise.
32235         * crypt/sha256-crypt.c: Likewise.
32236         * crypt/sha256.c: Likewise.
32237         * crypt/sha512-block.c: Likewise.
32238         * crypt/sha512-crypt.c: Likewise.
32239         * crypt/sha512.c: Likewise.
32240         * debug/backtrace-tst.c: Likewise.
32241         * debug/pcprofiledump.c: Likewise.
32242         * elf/cache.c: Likewise.
32243         * elf/dl-cache.c: Likewise.
32244         * elf/dl-misc.c: Likewise.
32245         * elf/dl-profile.c: Likewise.
32246         * elf/dl-support.c: Likewise.
32247         * elf/ldconfig.c: Likewise.
32248         * elf/sprof.c: Likewise.
32249         * iconv/dummy-repertoire.c: Likewise.
32250         * iconv/iconv_charmap.c: Likewise.
32251         * iconv/skeleton.c: Likewise.
32252         * iconvdata/8bit-generic.c: Likewise.
32253         * iconvdata/cp737.h: Likewise.
32254         * iconvdata/cp775.h: Likewise.
32255         * iconvdata/ibm1008.h: Likewise.
32256         * iconvdata/ibm1025.h: Likewise.
32257         * iconvdata/ibm1046.h: Likewise.
32258         * iconvdata/ibm1097.h: Likewise.
32259         * iconvdata/ibm1112.h: Likewise.
32260         * iconvdata/ibm1122.h: Likewise.
32261         * iconvdata/ibm1123.h: Likewise.
32262         * iconvdata/ibm1124.h: Likewise.
32263         * iconvdata/ibm1129.h: Likewise.
32264         * iconvdata/ibm1130.h: Likewise.
32265         * iconvdata/ibm1132.h: Likewise.
32266         * iconvdata/ibm1133.h: Likewise.
32267         * iconvdata/ibm1137.h: Likewise.
32268         * iconvdata/ibm1140.h: Likewise.
32269         * iconvdata/ibm1141.h: Likewise.
32270         * iconvdata/ibm1142.h: Likewise.
32271         * iconvdata/ibm1143.h: Likewise.
32272         * iconvdata/ibm1144.h: Likewise.
32273         * iconvdata/ibm1145.h: Likewise.
32274         * iconvdata/ibm1146.h: Likewise.
32275         * iconvdata/ibm1147.h: Likewise.
32276         * iconvdata/ibm1148.h: Likewise.
32277         * iconvdata/ibm1149.h: Likewise.
32278         * iconvdata/ibm1153.h: Likewise.
32279         * iconvdata/ibm1154.h: Likewise.
32280         * iconvdata/ibm1155.h: Likewise.
32281         * iconvdata/ibm1156.h: Likewise.
32282         * iconvdata/ibm1157.h: Likewise.
32283         * iconvdata/ibm1158.h: Likewise.
32284         * iconvdata/ibm1160.h: Likewise.
32285         * iconvdata/ibm1161.h: Likewise.
32286         * iconvdata/ibm1162.h: Likewise.
32287         * iconvdata/ibm1163.h: Likewise.
32288         * iconvdata/ibm1164.h: Likewise.
32289         * iconvdata/ibm1166.h: Likewise.
32290         * iconvdata/ibm1167.h: Likewise.
32291         * iconvdata/ibm12712.h: Likewise.
32292         * iconvdata/ibm1390.h: Likewise.
32293         * iconvdata/ibm1399.h: Likewise.
32294         * iconvdata/ibm16804.h: Likewise.
32295         * iconvdata/ibm4517.h: Likewise.
32296         * iconvdata/ibm4899.h: Likewise.
32297         * iconvdata/ibm4909.h: Likewise.
32298         * iconvdata/ibm4971.h: Likewise.
32299         * iconvdata/ibm5347.h: Likewise.
32300         * iconvdata/ibm803.h: Likewise.
32301         * iconvdata/ibm856.h: Likewise.
32302         * iconvdata/ibm901.h: Likewise.
32303         * iconvdata/ibm902.h: Likewise.
32304         * iconvdata/ibm9030.h: Likewise.
32305         * iconvdata/ibm9066.h: Likewise.
32306         * iconvdata/ibm921.h: Likewise.
32307         * iconvdata/ibm922.h: Likewise.
32308         * iconvdata/ibm9448.h: Likewise.
32309         * iconvdata/isiri-3342.h: Likewise.
32310         * iconvdata/jis0201.h: Likewise.
32311         * include/link.h: Likewise.
32312         * include/netdb.h: Likewise.
32313         * inet/check_native.c: Likewise.
32314         * inet/check_pf.c: Likewise.
32315         * inet/getipv4sourcefilter.c: Likewise.
32316         * inet/getnameinfo.c: Likewise.
32317         * inet/getsourcefilter.c: Likewise.
32318         * inet/htonl.c: Likewise.
32319         * inet/setipv4sourcefilter.c: Likewise.
32320         * inet/setsourcefilter.c: Likewise.
32321         * inet/test-inet6_opt.c: Likewise.
32322         * inet/tst-network.c: Likewise.
32323         * locale/C-collate.c: Likewise.
32324         * locale/C-ctype.c: Likewise.
32325         * locale/C-time.c: Likewise.
32326         * locale/C-translit.h: Likewise.
32327         * locale/loadarchive.c: Likewise.
32328         * locale/programs/3level.h: Likewise.
32329         * locale/programs/charmap.c: Likewise.
32330         * locale/programs/charmap.h: Likewise.
32331         * locale/programs/ld-address.c: Likewise.
32332         * locale/programs/ld-collate.c: Likewise.
32333         * locale/programs/ld-ctype.c: Likewise.
32334         * locale/programs/ld-identification.c: Likewise.
32335         * locale/programs/ld-measurement.c: Likewise.
32336         * locale/programs/ld-messages.c: Likewise.
32337         * locale/programs/ld-monetary.c: Likewise.
32338         * locale/programs/ld-name.c: Likewise.
32339         * locale/programs/ld-numeric.c: Likewise.
32340         * locale/programs/ld-paper.c: Likewise.
32341         * locale/programs/ld-telephone.c: Likewise.
32342         * locale/programs/ld-time.c: Likewise.
32343         * locale/programs/linereader.c: Likewise.
32344         * locale/programs/locale.c: Likewise.
32345         * locale/programs/locarchive.c: Likewise.
32346         * locale/programs/locfile.h: Likewise.
32347         * locale/programs/repertoire.c: Likewise.
32348         * locale/programs/simple-hash.c: Likewise.
32349         * locale/programs/simple-hash.h: Likewise.
32350         * malloc/memusage.c: Likewise.
32351         * malloc/memusagestat.c: Likewise.
32352         * nis/nis_defaults.c: Likewise.
32353         * nis/nis_hash.c: Likewise.
32354         * nis/nis_print.c: Likewise.
32355         * nis/nis_xdr.c: Likewise.
32356         * nscd/connections.c: Likewise.
32357         * nscd/hstcache.c: Likewise.
32358         * nscd/nscd_gethst_r.c: Likewise.
32359         * nscd/nscd_getserv_r.c: Likewise.
32360         * nscd/nscd_helper.c: Likewise.
32361         * nscd/servicescache.c: Likewise.
32362         * nss/makedb.c: Likewise.
32363         * nss/nss_db/db-XXX.c: Likewise.
32364         * nss/nss_db/db-initgroups.c: Likewise.
32365         * nss/nss_db/db-netgrp.c: Likewise.
32366         * nss/nss_files/files-network.c: Likewise.
32367         * nss/nss_files/files-parse.c: Likewise.
32368         * posix/bug-regex5.c: Likewise.
32369         * posix/fnmatch_loop.c: Likewise.
32370         * posix/regcomp.c: Likewise.
32371         * posix/regexec.c: Likewise.
32372         * posix/tst-rfc3484-2.c: Likewise.
32373         * posix/tst-rfc3484-3.c: Likewise.
32374         * posix/tst-rfc3484.c: Likewise.
32375         * resolv/nss_dns/dns-canon.c: Likewise.
32376         * resolv/nss_dns/dns-network.c: Likewise.
32377         * resolv/res_init.c: Likewise.
32378         * resolv/res_mkquery.c: Likewise.
32379         * resolv/tst-aton.c: Likewise.
32380         * stdlib/cxa_atexit.c: Likewise.
32381         * stdlib/cxa_finalize.c: Likewise.
32382         * stdlib/gen-fpioconst.c: Likewise.
32383         * stdlib/strtol_l.c: Likewise.
32384         * string/tst-endian.c: Likewise.
32385         * sunrpc/auth_des.c: Likewise.
32386         * sunrpc/clnt_udp.c: Likewise.
32387         * sunrpc/rtime.c: Likewise.
32388         * sunrpc/svcauth_des.c: Likewise.
32389         * sunrpc/xdr.c: Likewise.
32390         * sunrpc/xdr_intXX_t.c: Likewise.
32391         * sunrpc/xdr_rec.c: Likewise.
32392         * sysdeps/generic/ldconfig.h: Likewise.
32393         * sysdeps/generic/ldsodefs.h: Likewise.
32394         * sysdeps/generic/memusage.h: Likewise.
32395         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32397         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32398         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32399         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32403         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32405         * sysdeps/posix/getaddrinfo.c: Likewise.
32406         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32407         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32408         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32409         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32410         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32411         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32412         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32413         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32414         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32415         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32416         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32417         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32418         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32419         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32420         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32421         * sysdeps/x86_64/dl-tls.h: Likewise.
32422         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32423         * time/alt_digit.c: Likewise.
32424         * time/era.c: Likewise.
32425         * wcsmbs/tst-c16c32-1.c: Likewise.
32427 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32429         * math/libm-test.inc (struct test_sincos_data): New type.
32430         (RUN_TEST_LOOP_sincos): New macro.
32431         (sincos_test_data): New variable.
32432         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32434 2013-05-16  Richard Henderson  <rth@redhat.com>
32436         * math/atest-exp2.c (LIMB64): New macro.
32437         (CONSTSZ): New macro.
32438         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32439         (hexdig): Move ...
32440         (print_mpn_fp): ... to function scope.
32441         (read_mpn_hex): Remove.
32442         (get_log2): Remove.
32443         (exp2_mpn): Use mp_log2.
32444         (main): Use mp_exp1.
32446 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32448         * math/libm-test.inc: Remove comment about not testing "inexact"
32449         exceptions.
32450         (INEXACT_EXCEPTION): New macro.
32451         (NO_INEXACT_EXCEPTION): Likewise.
32452         (INVALID_EXCEPTION_OK): Update value.
32453         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32454         (OVERFLOW_EXCEPTION_OK): Likewise.
32455         (UNDERFLOW_EXCEPTION_OK): Likewise.
32456         (IGNORE_ZERO_INF_SIGN): Likewise.
32457         (ERRNO_UNCHANGED): Likewise.
32458         (ERRNO_EDOM): Likewise.
32459         (ERRNO_ERANGE): Likewise.
32460         (test_exceptions): Handle testing "inexact" exceptions.
32461         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32462         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32463         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32464         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32465         INEXACT_EXCEPTION.
32466         (rint_towardzero_test_data): Likewise.
32467         (rint_downward_test_data): Likewise.
32468         (rint_upward_test_data): Likewise.
32470         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32471         with OVERFLOW_EXCEPTION.
32472         (exp10_test_data): Likewise.
32473         (exp2_test_data): Likewise.
32474         (expm1_test_data): Likewise.
32475         (lgamma_test_data): Likewise.
32476         (pow_test_data): Likewise.
32477         (tgamma_test_data): Likewise.
32478         (yn_test_data): Remove duplicate test of overflow.
32480         * math/libm-test.inc (struct test_cc_c_data): New type.
32481         (RUN_TEST_LOOP_cc_c): New macro.
32482         (cpow_test_data): New variable.
32483         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32485         * math/libm-test.inc (struct test_f_L_data): New type.
32486         (RUN_TEST_LOOP_f_L): New macro.
32487         (llrint_test_data): New variable.
32488         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32489         (llrint_tonearest_test_data): New variable.
32490         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32491         (llrint_towardzero_test_data): New variable.
32492         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32493         (llrint_downward_test_data): New variable.
32494         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32495         (llrint_upward_test_data): New variable.
32496         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32497         (llround_test_data): New variable.
32498         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32500 2013-05-13  Peter Collingbourne  <pcc@google.com>
32502         * math/atest-exp2.c (get_log2): Remove const attribute.
32504 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32506         * math/libm-test.inc (struct test_f_l_data): New type.
32507         (RUN_TEST_LOOP_f_l): New macro.
32508         (lrint_test_data): New variable.
32509         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32510         (lrint_tonearest_test_data): New variable.
32511         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32512         (lrint_towardzero_test_data): New variable.
32513         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32514         (lrint_downward_test_data): New variable.
32515         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32516         (lrint_upward_test_data): New variable.
32517         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32518         (lround_test_data): New variable.
32519         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32521 2013-05-15  Peter Collingbourne  <pcc@google.com>
32523         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32524         (EXTRACT_WORDS64) Use where appropriate.
32525         (INSERT_WORDS64) Likewise.
32527         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32528         constraints with x constraints.
32529         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32531         * malloc/obstack.c (_obstack_compat): Add initializer.
32533 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32536         si_trapno and add si_addr_lsb to _sifields.sigfault.
32537         (si_trapno): Remove macro.
32538         (si_addr_lsb): Define new macro.
32539         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32541 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32543         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32544         instead of TEST_f_l.
32545         (llrint_test_tonearest): Likewise.
32546         (llrint_test_towardzero): Likewise.
32547         (llrint_test_downward): Likewise.
32548         (llrint_test_upward): Likewise.
32549         (llround_test): Likewise.
32551         * math/libm-test.inc (struct test_f_i_data): Add comment.
32552         (RUN_TEST_LOOP_f_b): New macro.
32553         (RUN_TEST_LOOP_f_b_tg): Likewise.
32554         (finite_test_data): New variable.
32555         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32556         (isfinite_test_data): New variable.
32557         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32558         (isinf_test_data): New variable.
32559         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32560         (isnan_test_data): New variable.
32561         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32562         (isnormal_test_data): New variable.
32563         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32564         (issignaling_test_data): New variable.
32565         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32566         (signbit_test_data): New variable.
32567         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32569         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32570         with INVALID_EXCEPTION.
32571         (acosh_test_data): Likewise.
32572         (asin_test_data): Likewise.
32573         (atanh_test_data): Likewise.
32574         (fmod_test_data): Likewise.
32575         (log_test_data): Likewise.
32576         (log10_test_data): Likewise.
32577         (log2_test_data): Likewise.
32578         (pow_test_data): Likewise.
32579         (sqrt_test_data): Likewise.
32580         (y0_test_data): Likewise.
32581         (y1_test_data): Likewise.
32582         (yn_test_data): Likewise.
32584         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32585         function contents.
32587         * math/libm-test.inc (struct test_ff_i_data): New type.
32588         (RUN_TEST_LOOP_ff_i_tg): New macro.
32589         (isgreater_test_data): New variable.
32590         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32591         (isgreaterequal_test_data): New variable.
32592         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32593         (isless_test_data): New variable.
32594         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32595         (islessequal_test_data): New variable.
32596         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32597         (islessgreater_test_data): New variable.
32598         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32599         (isunordered_test_data): New variable.
32600         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32602 2013-05-14  David S. Miller  <davem@davemloft.net>
32604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32606 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32608         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32610         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32611         extra_test to int.
32612         (struct test_f_i_data): Change type of max_ulp to int.
32614         * math/libm-test.inc (test_ffI_f1_data): New type.
32615         (RUN_TEST_LOOP_ffI_f1): New macro.
32616         (remquo_test_data): New variable.
32617         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32619         * setjmp/tst-setjmp-fp.c: New file.
32620         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32621         (link-libm): New variable.
32622         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32624         * math/libm-test.inc (struct test_f_i_data): New type.
32625         (RUN_TEST_LOOP_f_i): New macro.
32626         (RUN_TEST_LOOP_f_i_tg): Likewise.
32627         (fpclassify_test_data): New variable.
32628         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32629         (ilogb_test_data): New variable.
32630         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32632         * math/libm-test.inc (scalbln_test): Correct function name in END
32633         call.
32635         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32636         (RUN_TEST_LOOP_fI_f1): New macro.
32637         (frexp_test_data): New variable.
32638         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32640         * math/libm-test.inc (struct test_fF_f1_data): New type.
32641         (RUN_TEST_LOOP_fF_f1): New macro.
32642         (modf_test_data): New variable.
32643         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32645         * math/libm-test.inc (struct test_f_f1_data): New type.
32646         (RUN_TEST_LOOP_f_f1): New macro.
32647         (gamma_test_data): New variable.
32648         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32649         (lgamma_test_data): New variable.
32650         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32652 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32654         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32655         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32656         (main): Comment "tls" pseudo-hwcap.
32658 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32660         * math/libm-test.inc (struct test_fl_f_data): New type.
32661         (RUN_TEST_LOOP_fl_f): New variable.
32662         (scalbln_test_data): New variable.
32663         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32665         * math/libm-test.inc (struct test_fi_f_data): New type.
32666         (RUN_TEST_LOOP_fi_f): New macro.
32667         (ldexp_test_data): New variable.
32668         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32669         (scalbn_test_data): New variable.
32670         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32672         * math/libm-test.inc (struct test_c_f_data): New type.
32673         (RUN_TEST_LOOP_c_f): New macro.
32674         (cabs_test_data): New variable.
32675         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32676         (carg_test_data): New variable.
32677         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32678         (cimag_test_data): New variable.
32679         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32680         (creal_test_data): New variable.
32681         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32683         * math/libm-test.inc (struct test_if_f_data): New type.
32684         (RUN_TEST_LOOP_if_f): New macro.
32685         (jn_test_data): New variable.
32686         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32687         (yn_test_data): New variable.
32688         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32690         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32692 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32694         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32695         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32697 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32699         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32700         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32701         (bench-deps): Add bench-timing.h.
32702         * benchtests-bench-skeleton.c: Include bench-timing.h.
32703         (main): Use TIMING_* macros instead of clock_gettime.
32704         * benchtests/bench-timing.h: New file.
32706         [BZ #14582]
32707         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32708         Renamed from _LIB_VERSION.
32709         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32711 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32713         * math/libm-test.inc (struct test_fff_f_data): New type.
32714         (RUN_TEST_LOOP_fff_f): New macro.
32715         (fma_test_data): New variable.
32716         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32717         (fma_towardzero_test_data): New variable.
32718         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32719         (fma_downward_test_data): New variable.
32720         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32721         (fma_upward_test_data): New variable.
32722         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32724         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32725         (struct test_c_c_data): New type.
32726         (RUN_TEST_LOOP_c_c): New macro.
32727         (cacos_test_data): New variable.
32728         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32729         (cacosh_test_data): New variable.
32730         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32731         (casin_test_data): New variable.
32732         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32733         (casinh_test_data): New variable.
32734         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32735         (catan_test_data): New variable.
32736         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32737         (catanh_test_data): New variable.
32738         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32739         (ccos_test_data): New variable.
32740         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32741         (ccosh_test_data): New variable.
32742         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32743         (cexp_test_data): New variable.
32744         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32745         (clog_test_data): New variable.
32746         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32747         (clog10_test_data): New variable.
32748         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32749         (conj_test_data): New variable.
32750         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32751         (cproj_test_data): New variable.
32752         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32753         (csin_test_data): New variable.
32754         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32755         (csinh_test_data): New variable.
32756         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32757         (csqrt_test_data): New variable.
32758         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32759         (ctan_test_data): New variable.
32760         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32761         (ctan_tonearest_test_data): New variable.
32762         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32763         (ctan_towardzero_test_data): New variable.
32764         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32765         (ctan_downward_test_data): New variable.
32766         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32767         (ctan_upward_test_data): New variable.
32768         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32769         (ctanh_test_data): New variable.
32770         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32771         (ctanh_tonearest_test_data): New variable.
32772         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32773         (ctanh_towardzero_test_data): New variable.
32774         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32775         (ctanh_downward_test_data): New variable.
32776         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32777         (ctanh_upward_test_data): New variable.
32778         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32779         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32780         of BUILD_COMPLEX.
32782         * math/libm-test.inc (struct test_ff_f_data): New type.
32783         (struct test_ff_f_data_nexttoward): Likewise.
32784         (RUN_TEST_LOOP_2_f): New macro.
32785         (RUN_TEST_LOOP_ff_f): Likewise.
32786         (atan2_test_data): New variable.
32787         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32788         (copysign_test_data): New variable.
32789         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32790         (fdim_test_data): New variable.
32791         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32792         (fmax_test_data): New variable.
32793         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32794         (fmin_test_data): New variable.
32795         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32796         (fmod_test_data): New variable.
32797         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32798         (hypot_test_data): New variable.
32799         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32800         (nextafter_test_data): New variable.
32801         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32802         (nexttoward_test_data): New variable.
32803         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32804         (pow_test_data): New variable.
32805         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32806         (pow_tonearest_test_data): New variable.
32807         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32808         (pow_towardzero_test_data): New variable.
32809         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32810         (pow_downward_test_data): New variable.
32811         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32812         (pow_upward_test_data): New variable.
32813         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32814         (remainder_test_data): New variable.
32815         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32816         (scalb_test_data): New variable.
32817         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32818         * sysdeps/i386/fpu/libm-test-ulps: Update.
32820 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32822         * math/libm-test.inc (fma_test): Use max_value instead of local
32823         variable fltmax.
32824         (nextafter_test): Likewise.
32826         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32827         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32828         (acos_downward_test_data): New variable.
32829         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32830         (acos_upward_test_data): New variable.
32831         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32832         (acosh_test_data): New variable.
32833         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32834         (asin_test_data): New variable.
32835         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32836         (asin_tonearest_test_data): New variable.
32837         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32838         (asin_towardzero_test_data): New variable.
32839         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32840         (asin_downward_test_data): New variable.
32841         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32842         (asin_upward_test_data): New variable.
32843         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32844         (asinh_test_data): New variable.
32845         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32846         (atan_test_data): New variable.
32847         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32848         (atanh_test_data): New variable.
32849         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32850         (cbrt_test_data): New variable.
32851         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32852         (ceil_test_data): New variable.
32853         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32854         (cos_test_data): New variable.
32855         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32856         (cos_tonearest_test_data): New variable.
32857         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32858         (cos_towardzero_test_data): New variable.
32859         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32860         (cos_downward_test_data): New variable.
32861         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32862         (cos_upward_test_data): New variable.
32863         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32864         (cosh_test_data): New variable.
32865         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32866         (cosh_tonearest_test_data): New variable.
32867         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32868         (cosh_towardzero_test_data): New variable.
32869         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32870         (cosh_downward_test_data): New variable.
32871         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32872         (cosh_upward_test_data): New variable.
32873         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32874         (erf_test_data): New variable.
32875         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32876         (erfc_test_data): New variable.
32877         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32878         (exp_test_data): New variable.
32879         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32880         (exp_tonearest_test_data): New variable.
32881         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32882         (exp_towardzero_test_data): New variable.
32883         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32884         (exp_downward_test_data): New variable.
32885         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32886         (exp_upward_test_data): New variable.
32887         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32888         (exp10_test_data): New variable.
32889         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32890         (exp2_test_data): New variable.
32891         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32892         (expm1_test_data): New variable.
32893         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32894         (fabs_test_data): New variable.
32895         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32896         (floor_test_data): New variable.
32897         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32898         (j0_test_data): New variable.
32899         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32900         (j1_test_data): New variable.
32901         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32902         (log_test_data): New variable.
32903         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32904         (log10_test_data): New variable.
32905         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32906         (log1p_test_data): New variable.
32907         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32908         (log2_test_data): New variable.
32909         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32910         (logb_test_data): New variable.
32911         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32912         (logb_downward_test_data): New variable.
32913         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32914         (nearbyint_test_data): New variable.
32915         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32916         (rint_test_data): New variable.
32917         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32918         (rint_tonearest_test_data): New variable.
32919         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32920         (rint_towardzero_test_data): New variable.
32921         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32922         (rint_downward_test_data): New variable.
32923         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32924         (rint_upward_test_data): New variable.
32925         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32926         (round_test_data): New variable.
32927         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32928         (sin_test_data): New variable.
32929         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32930         (sin_tonearest_test_data): New variable.
32931         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32932         (sin_towardzero_test_data): New variable.
32933         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32934         (sin_downward_test_data): New variable.
32935         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32936         (sin_upward_test_data): New variable.
32937         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32938         (sinh_test_data): New variable.
32939         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32940         (sinh_tonearest_test_data): New variable.
32941         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32942         (sinh_towardzero_test_data): New variable.
32943         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32944         (sinh_downward_test_data): New variable.
32945         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32946         (sinh_upward_test_data): New variable.
32947         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32948         (sqrt_test_data): New variable.
32949         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32950         (tan_test_data): New variable.
32951         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32952         (tan_tonearest_test_data): New variable.
32953         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32954         (tan_towardzero_test_data): New variable.
32955         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32956         (tan_downward_test_data): New variable.
32957         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32958         (tan_upward_test_data): New variable.
32959         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32960         (tanh_test_data): New variable.
32961         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32962         (tgamma_test_data): New variable.
32963         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32964         (trunc_test_data): New variable.
32965         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32966         (y0_test_data): New variable.
32967         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32968         (y1_test_data): New variable.
32969         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32970         (significand_test_data): New variable.
32971         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32973 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32975         [BZ #12387]
32976         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32978 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32980         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32982 2013-05-10  Andreas Jaeger  <aj@suse.de>
32984         [BZ #15448]
32985         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32986         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32988 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32990         * math/gen-libm-test.pl (adjust_arg): New function.
32991         (special_functions): Handle generating output in both functions
32992         and arrays.
32993         (parse_args): Likewise.
32994         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32995         $in_func argument to parse_args.
32996         * math/libm-test.inc (struct test_f_f_data): New type.
32997         (IF_ROUND_INIT_): New macro.
32998         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32999         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33000         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33001         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33002         (ROUND_RESTORE_): Likewise.
33003         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33004         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33005         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33006         (ROUND_RESTORE_FE_UPWARD): Likewise.
33007         (RUN_TEST_LOOP_f_f): New macro.
33008         (acos_test_data): New variable.
33009         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33010         (acos_tonearest_test_data): New variable.
33011         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33013 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33015         * benchtests/bench-skeleton.c (startup): Fix coding style.
33017 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33019         [BZ #6809]
33020         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33021         negative infinity argument.
33022         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33023         negative infinity argument.
33024         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33025         negative infinity argument.
33026         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33027         domain errors.
33029 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33031         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33032         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33033         * iconv/iconv_prog.c (main): Likewise.
33034         * locale/programs/charmap-dir.c (charmap_readdir)
33035         (fopen_uncompressed): Likewise.
33036         * locale/programs/locfile.c (siblings_uncached)
33037         (write_locale_data): Use lstat64 instead of lstat.
33038         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33039         stat.
33041 2013-05-10  Andreas Jaeger  <aj@suse.de>
33043         [BZ #15395]
33044         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33045         localization.
33046         Include <locale.h>.
33048 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33050         * elf/dl-close.c (_dl_close_worker): Add comments.
33052 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33054         [BZ #15359]
33055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33056         high part of pi/2.
33057         (__ieee754_rem_pio2l): Update comments.
33059         [BZ #15429]
33060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33061         high part of pi/2.
33062         (__ieee754_rem_pio2l): Update comments.
33064         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33065         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33067         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33068         M_PI_4l.
33070         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33071         (M_PI_34_LOG10El): Likewise.
33072         (M_PI2_LOG10El): Likewise.
33073         (M_PI4_LOG10El): Likewise.
33074         (M_PI_LOG10El): Likewise.
33076 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33080 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33082         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33083         (MINUS_ZERO_INIT): Likewise.
33084         (PLUS_INFTY_INIT): Likewise.
33085         (MINUS_INFTY_INIT): Likewise.
33086         (QNAN_VALUE_INIT): Likewise.
33087         (MAX_VALUE_INIT): Likewise.
33088         (MIN_VALUE_INIT): Likewise.
33089         (MIN_SUBNORM_VALUE_INIT): Likewise.
33090         (plus_zero): Initialize with PLUS_ZERO_INIT.
33091         (minus_zero): Initialize with MINUS_ZERO_INIT.
33092         (plus_infty): Initialize with PLUS_INFTY_INIT.
33093         (minus_infty): Initialize with MINUS_INFTY_INIT.
33094         (qnan_value): Initialize with QNAN_VALUE_INIT.
33095         (max_value): Initialize with MAX_VALUE_INIT.
33096         (min_value): Initialize with MIN_VALUE_INIT.
33097         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33099         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33100         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33101         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33102         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33104         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33105         (RUN_TEST_2_f): Likewise.
33106         (RUN_TEST_ff_f): Likewise.
33107         (RUN_TEST_fi_f): Likewise.
33108         (RUN_TEST_fl_f): Likewise.
33109         (RUN_TEST_fff_f): Likewise.
33110         (RUN_TEST_c_f): Likewise.
33111         (RUN_TEST_f_f1): Likewise.
33112         (RUN_TEST_fF_f1): Likewise.
33113         (RUN_TEST_fI_f1): Likewise.
33114         (RUN_TEST_ffI_f1): Likewise.
33115         (RUN_TEST_c_c): Likewise.
33116         (RUN_TEST_cc_c): Likewise.
33117         (RUN_TEST_f_i): Likewise.
33118         (RUN_TEST_f_i_tg): Likewise.
33119         (RUN_TEST_ff_i_tg): Likewise.
33120         (RUN_TEST_f_b): Likewise.
33121         (RUN_TEST_f_b_tg): Likewise.
33122         (RUN_TEST_f_l): Likewise.
33123         (RUN_TEST_f_L): Likewise.
33124         (RUN_TEST_sincos): Likewise.
33125         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33126         whether to show exceptions.  Do not include ");\n" in return
33127         value.
33128         (special_functions): Output call to RUN_TEST_sincos instead of
33129         check_float calls.  Update calls to new_test.
33130         (parse_args): Output call to single RUN_TEST_* macro instead of
33131         check_* calls and other assignments.  Update calls to new_test.
33133         [BZ #2546]
33134         [BZ #2560]
33135         [BZ #5159]
33136         [BZ #15426]
33137         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33138         input to result for tgamma overflow.
33139         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33140         (gamma_coeff): New variable.
33141         (NCOEFF): New macro.
33142         (gamma_positive): New function.
33143         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33144         underflow here.  Use gamma_positive instead of exp (lgamma) for
33145         other arguments.
33146         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33147         (gamma_coeff): New variable.
33148         (NCOEFF): New macro.
33149         (gammaf_positive): New function.
33150         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33151         underflow here.  Use gamma_positive instead of exp (lgamma) for
33152         other arguments.
33153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33154         (gamma_coeff): New variable.
33155         (NCOEFF): New macro.
33156         (gammal_positive): New function.
33157         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33158         underflow here.  Use gamma_positive instead of exp (lgamma) for
33159         other arguments.
33160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33161         (gamma_coeff): New variable.
33162         (NCOEFF): New macro.
33163         (gammal_positive): New function.
33164         (__ieee754_gammal_r): Handle positive infinity, overflow and
33165         underflow here.  Handle NaN the same as positive infinity.  Remove
33166         check x < 0xffffffff for negative integers.  Use gamma_positive
33167         instead of exp (lgamma) for other arguments.
33168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33169         (gamma_coeff): New variable.
33170         (NCOEFF): New macro.
33171         (gammal_positive): New function.
33172         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33173         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33174         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33175         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33176         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33177         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33178         * sysdeps/generic/math_private.h (__gamma_productf): New
33179         prototype.
33180         (__gamma_product): Likewise.
33181         (__gamma_productl): Likewise.
33182         * math/Makefile (libm-calls): Add gamma_product.
33183         * math/libm-test.inc (tgamma_test): Add more tests.
33184         * sysdeps/i386/fpu/libm-test-ulps: Update.
33185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33187 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33189         * benchtests/bench-skeleton.c (main): Preheat CPU.
33191 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33193         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33195 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33197         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33198         and _dl_skip_args_internal.
33200 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33202         * manual/message.texi (Message Translation): Talk about users.
33203         Message to key mapping impacts design.
33205 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33207         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33209         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33211         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33212         * sysdeps/wordsize-64/glob64.c: ... here.
33214         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33215         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33216         New macros.
33218         * debug/getlogin_r_chk.c: Moved to ...
33219         * login/getlogin_r_chk.c: ... here.
33220         * debug/Makefile (routines): Move getlogin_r_chk to ...
33221         * login/Makefile (routines): ... here.
33222         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33223         * login/Versions (libc: GLIBC_2.4): ... here.
33225         * io/poll.c (__poll): Renamed from poll.
33226         Add libc_hidden_def.
33227         (poll): Define as weak alias.
33229         * debug/ptsname_r_chk.c: Moved to ...
33230         * login/ptsname_r_chk.c: ... here.
33231         * debug/Makefile (routines): Move ptsname_r_chk to ...
33232         * login/Makefile (routines): ... here.
33233         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33234         * login/Versions (libc: GLIBC_2.4): ... here.
33236         * posix/getlogin.c: Moved to ...
33237         * login/getlogin.c: ... here.
33238         * posix/getlogin_r.c: Moved to ...
33239         * login/getlogin_r.c: ... here.
33240         * posix/getlogin_r.c: Moved to ...
33241         * login/getlogin_r.c: ... here.
33242         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33243         * login/Makefile (routines): ... here.
33244         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33245         * login/Versions (libc: GLIBC_2.0): ... here.
33247         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33248         (setrlimit): Define as weak alias.
33250         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33251         Call __ names for open, ftruncate, and close.
33252         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33253         (truncate): Define as weak alias.
33255 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33257         * math/gen-libm-test.pl (parse_args): Initialize x before each
33258         test of frexp, modf and remquo.
33260         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33261         test signgam value.
33263 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33265         [BZ #15418]
33266         [BZ #15419]
33267         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33268         internal tests.
33269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33271 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33273         * elf/dl-writev.h: New file.
33274         * elf/dl-misc.c: Include it.
33275         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33276         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33278 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33280         * math/libm-test.inc (noXFails): Remove variable.
33281         (noXPasses): Likewise.
33282         (BUILD_COMPLEX_INT): Remove macro.
33283         (print_screen): Remove xfail argument.
33284         (print_screen_max_error): Likewise.
33285         (update_stats): Likewise.
33286         (print_max_error): Likewise.  Update calls to other affected
33287         functions.
33288         (print_complex_max_error): Likewise.
33289         (test_single_exception): Update calls to print_screen.
33290         (test_single_errno): Likewise.
33291         (check_float_internal): Remove xfail argument.  Update calls to
33292         other affected functions.
33293         (check_float): Likewise.
33294         (check_complex): Likewise.
33295         (check_int): Likewise.
33296         (check_long): Likewise.
33297         (check_bool): Likewise.
33298         (check_longlong): Likewise.
33299         (main): Don't print noXFails and noXPasses.
33300         * math/gen-libm-test.pl (top level): Don't mention expected
33301         failure handling in comment.
33302         (new_test): Don't handle expected failures.
33303         (parse_args): Don't mention expected failure handling in comment.
33304         (generate_testfile): Don't handle expected failures.
33305         (parse_ulps): Likewise.
33306         (print_ulps_file): Likewise.
33307         (get_failure): Remove function.
33308         (output_test): Don't handle expected failures.
33309         * make/README.libm-test: Don't mention expected failure handling.
33311         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33312         (minus_zero): Likewise.
33313         (plus_infty): Likewise.
33314         (minus_infty): Likewise.
33315         (qnan_value): Likewise.
33316         (max_value): Likewise.
33317         (min_value): Likewise.
33318         (min_subnorm_value): Likewise.
33319         (initialize): Do not initialize those variables dynamically.
33321 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33323         * io/open.c (__open_2): Moved to ...
33324         * io/open_2.c: ... this new file.
33325         * io/open64.c (__open64_2): Moved to ...
33326         * io/open64_2.c: ... this new file.
33327         * io/openat.c (__openat_2): Moved to ...
33328         * io/openat_2.c: ... this new file.
33329         * io/openat64.c (__openat64_2): Moved to ...
33330         * io/openat64_2.c: ... this new file.
33331         * io/Makefile (routines): Add them.
33332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33333         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33334         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33335         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33336         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33337         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33338         (__openat64): Add hidden_ver.
33339         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33340         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33342         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33343         Separately conditionalize setting of GLRO(dl_sysinfo) so
33344         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33345         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33347 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33349         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33351         definition.
33352         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33353         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33354         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33355         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33356         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33358 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33360         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33361         test signgam value.
33363         * math/libm-test.inc (hypot_test): Do not use
33364         IGNORE_ZERO_INF_SIGN.
33366 2013-05-03  Andreas Jaeger  <aj@suse.de>
33368         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33369         Linux 3.9.
33370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33371         (PF_MAX): Adjust for VSOCK change.
33373 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33377 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33379         [BZ #15264]
33380         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33381         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33382         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33384 2013-05-02  David S. Miller  <davem@davemloft.net>
33386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33388 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33390         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33392 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33394         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33396 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33398         [BZ #14952]
33399         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33400         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33401         Use __attribute__ ((__gnu_inline__)).
33402         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33403         Don't use __attribute__ ((__gnu_inline__)).
33405 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33407         [BZ #15423]
33408         * math/s_catan.c (__catan): Handle small real or imaginary part of
33409         input specially to avoid spurious underflow.
33410         * math/s_catanf.c (__catanf): Likewise.
33411         * math/s_catanh.c (__catanh): Likewise.
33412         * math/s_catanhf.c (__catanhf): Likewise.
33413         * math/s_catanhl.c (__catanhl): Likewise.
33414         * math/s_catanl.c (__catanl): Likewise.
33415         * math/libm-test.inc (catan_test): Add more tests.
33416         (catanh_test): Likewise.
33417         * sysdeps/i386/fpu/libm-test-ulps: Update.
33418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33424 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33426         [BZ #15416]
33427         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33428         accurately for denominator in atan2.
33429         * math/s_catanf.c (__catanf): Likewise.
33430         * math/s_catanh.c (__catanh): Likewise.
33431         * math/s_catanhf.c (__catanhf): Likewise.
33432         * math/s_catanhl.c (__catanhl): Likewise.
33433         * math/s_catanl.c (__catanl): Likewise.
33434         * math/libm-test.inc (catan_test): Add more tests.
33435         (catanh_test): Likewise.
33436         * sysdeps/i386/fpu/libm-test-ulps: Update.
33437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33439 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33441         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33443         * benchtests/Makefile (bench): Remove slow benchmarks.
33444         * benchtests/atan-inputs: Add slow benchmark inputs.
33445         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33446         (BENCH_FUNC): Accept variant offset.
33447         (VARIANT): Define.
33448         * benchtests/bench-skeleton.c (main): Run benchmark for each
33449         variant.
33450         * benchtests/cos-inputs: Add slow benchmark inputs.
33451         * benchtests/exp-inputs: Likewise.
33452         * benchtests/pow-inputs: Likewise.
33453         * benchtests/sin-inputs: Likewise.
33454         * benchtests/slowatan-inputs: Remove.
33455         * benchtests/slowatan.c: Remove.
33456         * benchtests/slowcos-inputs: Remove.
33457         * benchtests/slowcos.c: Remove.
33458         * benchtests/slowexp-inputs: Remove.
33459         * benchtests/slowexp.c: Remove.
33460         * benchtests/slowpow-inputs: Remove.
33461         * benchtests/slowpow.c: Remove.
33462         * benchtests/slowsin-inputs: Remove.
33463         * benchtests/slowsin.c: Remove.
33464         * benchtests/slowtan-inputs: Remove.
33465         * benchtests/slowtan.c: Remove.
33466         * benchtests/tan-inputs: Add slow benchmark inputs.
33467         * scripts/bench.pl: Parse comments and directives.
33469         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33470         in CPPFLAGS.
33471         ($(objpfx)bench-%.c): Remove *-ITER.
33472         * benchtests/bench-modf.c: Remove definition of ITER.
33473         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33474         (main): Loop for DURATION seconds instead of fixed number of
33475         iterations.
33476         * scripts/bench.pl: Don't expect iterations in parameters.
33478 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33480         * io/fchdir.c (__fchdir): Renamed from fchdir.
33481         (fchdir): Define as weak alias.
33483 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33485         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33486         (ERRNO_EDOM): Likewise.
33487         (ERRNO_ERANGE): Likewise.
33488         (noErrnoTests): New variable.
33489         (init_max_error): Set errno to 0.
33490         (test_single_errno): New function.
33491         (test_errno): Likewise.
33492         (check_float_internal): Call test_errno.  Set errno to 0.
33493         (check_complex): Refer to errno tests in comment.
33494         (check_int): Call test_errno.  Set errno to 0.
33495         (check_long): Likewise.
33496         (check_bool): Likewise.
33497         (check_longlong): Likewise.
33498         (cos_test): Use ERRNO_* flags for errno tests instead of
33499         check_int.
33500         (expm1_test): Likewise.
33501         (fmod_test): Likewise.
33502         (ilogb_test): Likewise.
33503         (lgamma_test): Likewise.
33504         (pow_test): Likewise.
33505         (remainder_test): Likewise.
33506         (sin_test): Likewise.
33507         (tan_test): Likewise.
33508         (yn_test): Likewise.
33509         (initialize): Set errno to 0.
33510         (main): Print number of errno tests.
33511         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33513 2013-04-29  Andreas Jaeger  <aj@suse.de>
33515         [BZ #15084]
33516         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33517         and RES_USEVC.
33519         [BZ #15085]
33520         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33521         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33522         unimplemented.
33524         [BZ #15380]
33525         * stdlib/random.c (__initstate): Return NULL if
33526         __initstate fails.
33528         [BZ #15086]
33529         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33530         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33531         RES_SNGLKUPREOP.
33533 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33537 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33539         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33540         of individual tests.
33541         (casin_test): Likewise.
33542         (casinh_test): Likewise.
33544 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33546         [BZ #15409]
33547         * math/s_catan.c (__catan): Handle arguments with large real or
33548         imaginary part separately without squaring.
33549         * math/s_catanf.c (__catanf): Likewise.
33550         * math/s_catanh.c (__catanh): Likewise.
33551         * math/s_catanhf.c (__catanhf): Likewise.
33552         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33553         and redefine.
33554         (__catanhl): Handle arguments with large real or imaginary part
33555         separately without squaring.
33556         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33557         and redefine.
33558         (__catanl): Handle arguments with large real or imaginary part
33559         separately without squaring.
33560         * math/libm-test.inc (catan_test): Add more tests.
33561         (catanh_test): Likewise.
33562         * sysdeps/i386/fpu/libm-test-ulps: Update.
33563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33565 2013-04-27  Andreas Jaeger  <aj@suse.de>
33567         [BZ #15007]
33568         * stdlib/stdlib.h: Update guards for qecvt.
33569         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33570         <stdlib.h>.
33572 2013-04-27  Allan McRae  <allan@archlinux.org>
33574         * sysdeps/i386/fpu/libm-test-ulps: Update.
33576 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33578         [BZ #15406]
33579         * math/s_catan.c: Include <float.h>.
33580         (__catan): Ensure underflow exception occurs for underflowed
33581         result.
33582         * math/s_catanf.c: Include <float.h>.
33583         (__catanf): Ensure underflow exception occurs for underflowed
33584         result.
33585         * math/s_catanh.c: Include <float.h>.
33586         (__catanh): Ensure underflow exception occurs for underflowed
33587         result.
33588         * math/s_catanhf.c: Include <float.h>.
33589         (__catanhf): Ensure underflow exception occurs for underflowed
33590         result.
33591         * math/s_catanhl.c: Include <float.h>.
33592         (__catanhl): Ensure underflow exception occurs for underflowed
33593         result.
33594         * math/s_catanl.c: Include <float.h>.
33595         (__catanl): Ensure underflow exception occurs for underflowed
33596         result.
33597         * math/libm-test.inc (catan_test): Add more tests.
33598         (catanh_test): Likewise.
33600         [BZ #15405]
33601         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33602         underflowed result.
33603         * math/s_ccoshf.c (__ccoshf): Likewise.
33604         * math/s_ccoshl.c (__ccoshl): Likewise.
33605         * math/s_csin.c (__csin): Likewise.
33606         * math/s_csinf.c (__csinf): Likewise.
33607         * math/s_csinh.c (__csinh): Likewise.
33608         * math/s_csinhf.c (__csinhf): Likewise.
33609         * math/s_csinhl.c (__csinhl): Likewise.
33610         * math/s_csinl.c (__csinl): Likewise.
33611         * math/libm-test.inc (ccos_test): Add more tests.
33612         (ccosh_test): Likewise.
33613         (csin_test): Likewise.
33614         (csinh_test): Likewise.
33616 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33618         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33619         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33620         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33621         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33622         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33623         powerpc/power5+/fpu folders.
33624         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33627 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33631 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33633         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33634         additions to variable.
33635         [$(config-machine) = x86_64] (modules-names): Likewise.
33636         ($(objpfx)tst-audit3): Remove dependency.
33637         ($(objpfx)tst-audit3.out): Likewise.
33638         ($(objpfx)tst-audit4): Likewise.
33639         ($(objpfx)tst-audit4.out): Likewise.
33640         ($(objpfx)tst-audit5): Likewise.
33641         ($(objpfx)tst-audit5.out): Likewise.
33642         ($(objpfx)tst-audit6): Likewise.
33643         ($(objpfx)tst-audit6.out): Likewise.
33644         ($(objpfx)tst-audit7): Likewise.
33645         ($(objpfx)tst-audit7.out): Likewise.
33646         (tst-audit3-ENV): Remove variable.
33647         (tst-audit4-ENV): Likewise.
33648         (tst-audit5-ENV): Likewise.
33649         (tst-audit6-ENV): Likewise.
33650         (tst-audit7-ENV): Likewise.
33651         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33652         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33653         addition to variable.
33654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33659         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33660         tst-audit3, tst-audit4 and tst-audit5.
33661         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33662         tst-audit6 and tst-audit7.
33663         [$(subdir) = elf] (modules-names): Add audit modules for those
33664         tests.
33665         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33666         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33667         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33668         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33669         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33670         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33671         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33672         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33673         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33674         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33675         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33676         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33677         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33678         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33679         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33680         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33681         Likewise.
33682         [$(subdir) = elf && $(config-cflags-avx) = yes]
33683         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33684         [$(subdir) = elf && $(config-cflags-avx) = yes]
33685         (CFLAGS-tst-auditmod4a.c): Likewise.
33686         [$(subdir) = elf && $(config-cflags-avx) = yes]
33687         (CFLAGS-tst-auditmod4b.c): Likewise.
33688         [$(subdir) = elf && $(config-cflags-avx) = yes]
33689         (CFLAGS-tst-auditmod6b.c): Likewise.
33690         [$(subdir) = elf && $(config-cflags-avx) = yes]
33691         (CFLAGS-tst-auditmod6c.c): Likewise.
33692         [$(subdir) = elf && $(config-cflags-avx) = yes]
33693         (CFLAGS-tst-auditmod7b.c): Likewise.
33694         * elf/tst-audit3.c: Move to ...
33695         * sysdeps/x86_64/tst-audit3.c: ... here.
33696         * elf/tst-audit4.c: Move to ...
33697         * sysdeps/x86_64/tst-audit4.c: ... here.
33698         * elf/tst-audit5.c: Move to ...
33699         * sysdeps/x86_64/tst-audit5.c: ... here.
33700         * elf/tst-audit6.c: Move to ...
33701         * sysdeps/x86_64/tst-audit6.c: ... here.
33702         * elf/tst-audit7.c: Move to ...
33703         * sysdeps/x86_64/tst-audit7.c: ... here.
33704         * elf/tst-auditmod3a.c: Move to ...
33705         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33706         * elf/tst-auditmod3b.c: Move to ...
33707         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33708         * elf/tst-auditmod4a.c: Move to ...
33709         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33710         * elf/tst-auditmod4b.c: Move to ...
33711         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33712         * elf/tst-auditmod5a.c: Move to ...
33713         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33714         * elf/tst-auditmod5b.c: Move to ...
33715         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33716         * elf/tst-auditmod6a.c: Move to ...
33717         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33718         * elf/tst-auditmod6b.c: Move to ...
33719         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33720         * elf/tst-auditmod6c.c: Move to ...
33721         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33722         * elf/tst-auditmod7a.c: Move to ...
33723         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33724         * elf/tst-auditmod7b.c: Move to ...
33725         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33727 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33729         [BZ #15366]
33730         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33731         define unconditionally.
33732         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33733         define unconditionally.
33734         (INT8_C, INT16_C, etc.): Likewise.
33736 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33738         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33739         __ehdr_start with hidden visibility.
33741         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33743 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33745         * math/libm-test.inc (cos_test): Use accurate hex constants.
33746         (sincost_test): Likewise.
33748 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33750         * math/libm-test.inc (catan_test): Add more tests.
33751         (catanh_test): Likewise.
33753         * math/s_catanf.c (__catanf): Use suffixed floating-point
33754         constants.
33755         * math/s_catanhf.c (__catanhf): Likewise.
33756         * math/s_catanhl.c (__catanhl): Likewise.
33757         * math/s_catanl.c (__catanl): Likewise.
33759         [BZ #15394]
33760         * math/s_catan.c (__catan): Calculate imaginary part of result
33761         with log1p not log unless computing log of number close to 0.
33762         * math/s_catanf.c (__catanf): Likewise.
33763         * math/s_catanl.c (__catanl): Likewise.
33764         * math/s_catanh.c (__catanh): Calculate real part of result with
33765         log1p not log unless computing log of number close to 0.
33766         * math/s_catanhf.c (__catanhf): Likewise.
33767         * math/s_catanhl.c (__catanhl): Likewise.
33768         * math/libm-test.inc (catan_test): Add more tests.
33769         (catanh_test): Likewise.
33770         * sysdeps/i386/fpu/libm-test-ulps: Update.
33771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33773 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33775         * benchtests/Makefile: Mention files in which fast and slow
33776         paths of math functions are implemented.
33778 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33780         * sysdeps/posix/timespec_get.c: New file.
33782 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33784         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33785         POWER.
33786         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33787         for POWER.
33788         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33789         powerpc/power5/fpu folders.
33790         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33791         * benchtests/Makefile: Add modf testcase.
33792         * benchtests/bench-modf.c: New file: Benchmark test for mo
33794 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33796         [BZ #14888]
33797         * time/Makefile (tests): Add tst-strptime-whitespace.
33798         * time/strptime_l.c (get_number): Use ISSPACE.
33799         (__strptime_internal): Likewise.
33800         * time/tst-strptime-whitespace.c: New test case.
33802 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33804         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33805         member.
33806         (_nss_files_init): Set it here.
33808 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33810         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33811         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33812         unsigned.
33814 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33816         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33818 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33821         size just once.
33823 2013-04-21  David S. Miller  <davem@davemloft.net>
33825         * po/ru.po: Update Russion translation from translation project.
33827 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33829         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33830         and setfsgid.
33832 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33834         * configure.in: Remove i386 configure warning. Remove i386 case.
33835         * configure: Regenerate.
33836         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33837         Add example to error message.
33838         * sysdeps/i386/configure: Regenerate.
33840 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33842         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33843         slowtan.
33844         * benchtests/cos-inputs: New file.
33845         * benchtests/slowcos-inputs: New file.
33846         * benchtests/slowcos.c: New file.
33847         * benchtests/slowtan-inputs: New file.
33848         * benchtests/slowtan.c: New file.
33849         * benchtests/tan-inputs: New file.
33851 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33853         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33854         considered kosher.
33856 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33858         * benchtests/Makefile: Include cppflags-iterator.mk to add
33859         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33861         * Makefile.in (bench-clean): New target.
33862         * benchtests/Makefile (bench-clean): Likewise.
33864 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33866         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33868 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33870         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33872 2013-04-15  Andreas Schwab  <schwab@suse.de>
33874         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33875         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33876         * nscd/pwdcache.c (cache_addpw): Likewise.
33877         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33878         more than recsize.
33880 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33882         * benchtests/Makefile (bench): Write all output to
33883         bench-out.tmp together.
33885 2013-04-15  Andreas Schwab  <schwab@suse.de>
33887         * nscd/nscd.c (main): Don't fork again after closing files.
33889 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33893         * benchtests/Rules (bench-deps): Collect dependencies into a
33894         single variable.  Add Makefile to dependencies.
33895         ($(objpfx)bench-%.c): Depend on bench-deps.
33897 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33898             Xavier Roche  <roche+kml2@exalead.com>
33900         [BZ #15361]
33901         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33902         just that it's a file descriptor.
33903         * manual/llio.texi (Synchronizing AIO Operations): Update description
33904         for EBADF error from aio_fsync.
33906 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33908         * Rules (bench): Move target definition...
33909         * benchtests/Makefile: ... here.
33911 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33913         * math/libm-test.inc (cos_test): Fix PI/2 test.
33914         (sincos_test): Likewise.
33915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33916         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33918 2013-04-11  Andreas Schwab  <schwab@suse.de>
33920         [BZ #13988]
33921         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33922         accept exponent character only when digits were seen.
33923         * stdio-common/Makefile (tests): Add bug26.
33924         * stdio-common/bug26.c: New file.
33926         [BZ #14293]
33927         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33928         non-freeable.
33930 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33932         * Makeconfig (rtld-prefix): Define built linker prefix.
33933         * Rules (run-bench): Use it.
33934         * math/Makefile (run-regen-ulps): Likewise.
33936         * Rules (bench): Remove eval.
33938 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33939             Roland McGrath  <roland@hack.frob.com>
33940             Ondrej Bilka  <neleai@seznam.cz>
33942         [BZ #15346]
33943         * time/getdate.c: Include ctype.h and alloca.h.
33944         (__getdate_r): Trim leading and trailing spaces of input.
33945         * time/tst-getdate.c (tests): Add tests with leading and
33946         trailing spaces.
33948 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33950         [BZ #14280]
33951         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33952         when computing value.
33954 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33956         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33957         Use testrun.sh to run libm tests.
33959         [BZ #15309]
33960         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33962 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33964         [BZ #15264]
33965         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33967 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33969         * Makefile.in (regen-ulps): New target.
33970         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33971         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33972         [ifneq (no,$(PERL)] (regen-ulps): New target.
33973         [ifeq (no,$(PERL)] (regen-ulps): New target.
33974         * math/libm-test.inc (ulps_file_name): Define.
33975         (output_dir): New variable.
33976         (options): Add "output-dir" option.
33977         (parse_opt): Handle 'o' case.
33978         (main): If output_dir is non-NULL use it as a prefix
33979         otherwise use "".
33980         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33982 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33984         [BZ #10060, #10062]
33985         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33986         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33987         fail configure if __sync_val_compare_and_swap is not inlined.
33988         * sysdeps/i386/configure: Regenerate.
33989         * configure.in: Build for i686 when configured for i386.
33990         * configure: Regenerate.
33991         * README: Remove i386 reference.
33993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33995         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33996         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33998 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34000         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34001         (lmsnanval): New variables.
34002         (F): Add conversion tests.
34003         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34004         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34006         * stdio-common/tstdiomisc.c (F): Properly collect individual
34007         tests' results.
34009         [BZ #14686, #15336]
34010         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34012         Instead, use input NaN values or generate a qNaN by arithmetic
34013         operation.  Also fix bugs to comply with the standard.
34014         * math/libm-test.inc (remainder_test): Add more tests.
34016         [BZ #15335, #15342]
34017         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34019         input NaN values or generate a qNaN by arithmetic operation.
34021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34022         unreachable code.
34024         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34025         definitions.
34027 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34029         [BZ #14478]
34030         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34031         underflowed result.
34032         * math/s_cexpf.c (__cexpf): Likewise.
34033         * math/s_cexpl.c (__cexpl): Likewise.
34034         * math/libm-test.inc (cexp_test): Add more tests.
34036 2013-04-03  Andreas Schwab  <schwab@suse.de>
34038         [BZ #15330]
34039         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34040         order arrays from heap if bigger than alloca cutoff.
34042 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34044         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34045         (SNAN_TESTS_double): Refer to GCC PR56831.
34046         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34047         GCC PR56828.
34049 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34051         * Rules (bench): Move bench.out after the run is complete.
34053         * Rules (bench): Echo currently running benchmark.
34055         * benchtests/Makefile (bench): Add atan and slowatan.
34056         * benchtests/atan-inputs: New file.
34057         * benchtests/slowatan-inputs: New file.
34058         * benchtests/slowatan.c: New file.
34060         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34061         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34062         its value.
34064         [BZ #15305]
34065         * sysdeps/unix/sysv/linux/kernel-features.h
34066         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34067         __ASSUME_XFS_RESTRICTED_CHOWN.
34068         * sysdeps/unix/sysv/linux/pathconf.c
34069         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34070         Save and restore errno.
34072 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34074         [BZ #15327]
34075         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34076         arguments using __kernel_casinh.
34077         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34078         arguments using __kernel_casinhf.
34079         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34080         arguments using __kernel_casinhl.
34081         * math/libm-test.inc (cacosh_test): Add more tests.
34082         * sysdeps/i386/fpu/libm-test-ulps: Update.
34083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34085 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34087         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34090         * bench/Makefile (bench): Add sin and slowsin.
34091         * benchtests/sin-inputs: New file.
34092         * benchtests/slowsin-inputs: New file.
34093         * benchtests/slowsin.c: New file.
34095         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34096         (bench): Add slowexp and slowpow.
34097         (exp-ITER): Increase iterations.
34098         (pow-ITER): Likewise.
34099         * benchtests/exp-inputs: Change input.
34100         * benchtests/pow-inputs: Likewise.
34101         * benchtests/slowexp-inputs: New file.
34102         * benchtests/slowexp.c: New file.
34103         * benchtests/slowpow-inputs: New file.
34104         * benchtests/slowpow.c: New file.
34106 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34108         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34109         instructions.
34110         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34111         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34112         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34113         * benchtests/Makefile: Add rint benchtest.
34114         * benchtests/rint-inputs: Input for rint benchtest.
34116 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34118         * Versions.def (libm): Add GLIBC_2.18.
34119         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34120         hidden libm prototypes.
34121         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34122         * math/Makefile (libm-calls): Add s_issignaling.
34123         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34124         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34125         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34126         declaration.
34127         * math/math.h [__USE_GNU] (issignaling): New macro.
34128         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34129         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34130         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34131         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34132         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34133         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34134         * manual/arith.texi (issignaling): New section.
34135         * manual/libm-err-tab.pl (@all_functions): Update comment.
34136         * math/gen-libm-test.pl (parse_args): Apply special handling for
34137         issignaling.
34138         * math/libm-test.inc (print_float, issignaling_test): New
34139         functions.
34140         (check_float_internal): Add issignaling checks.
34141         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34142         default definition.
34143         * sysdeps/powerpc/math-tests.h: New file.
34144         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34145         tests.
34146         * math/test-snan.c (TEST_FUNC): Likewise.
34148 2013-03-30  David S. Miller  <davem@davemloft.net>
34150         * po/de.po: Update from translation team.
34152 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34154         [BZ #10357]
34155         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34156         imaginary part less than 1.0 and real part less than 0.5
34157         specially.
34158         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34159         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34160         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34161         (cacos_test): Add more tests.
34162         (casin_test): Likewise.
34163         (casinh_test): Likewise.
34164         * sysdeps/i386/fpu/libm-test-ulps: Update.
34165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34167 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34169         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34170         ONE with its value.
34172         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34173         (__pow_mp): Replace ONE and MONE with their values.
34174         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34176         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34177         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34179         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34181         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34183         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34184         (__pow_mp): Replace ZERO and MZERO with their values.
34185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34187         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34189         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34190         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34191         (__sqr): Likewise.
34193         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34195         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34197 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34199         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34200         Declare with __attribute__ ((weak)).
34201         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34202         Call __call_tls_dtors only if it's not NULL.
34204 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34206         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34207         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34208         magic __ehdr_start linker symbol if it's defined.
34209         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34210         them up here if it was already done.
34212         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34213         (_dl_aux_init): Use const in cast when setting it.
34214         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34215         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34216         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34218         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34219         Declare them here.
34220         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34221         * csu/libc-tls.c: Nor here.
34222         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34224         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34225         (__libc_message): Never call vsyslog.
34227 2013-03-28  Alan Modra  <amodra@gmail.com>
34229         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34230         Define as empty.
34231         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34232         Likewise.
34234 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34236         [BZ #15214]
34237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34238         underflow.
34239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34241 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34243         [BZ #15304]
34244         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34245         Don't add gid passed as argument.
34247         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34249 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34251         [BZ #15307]
34252         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34253         imaginary part between 1.0 and 1.5 and real part less than 0.5
34254         specially.
34255         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34256         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34257         * math/libm-test.inc (cacos_test): Add more tests.
34258         (casin_test): Likewise.
34259         (casinh_test): Likewise.
34260         * sysdeps/i386/fpu/libm-test-ulps: Update.
34261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34263 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34265         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34266         constants.
34267         (norm): Likewise.
34268         (denorm): Likewise.
34269         (__dbl_mp): Likewise.
34270         (add_magnitudes): Likewise.
34271         (sub_magnitudes): Likewise.
34272         (__add): Likewise.
34273         (__sub): Likewise.
34274         (__mul): Likewise.
34275         (__sqr): Likewise.
34276         (__inv): Likewise.
34277         (__dvd): Likewise.
34279         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34280         commented code.
34281         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34282         (__dubcos): Likewise.
34283         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34284         (__ieee754_acos): Likewise.
34285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34286         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34287         (__exp1): Likewise.
34288         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34290         (log1): Likewise.
34291         (my_log2): Likewise.
34292         (checkint): Likewise.
34293         * sysdeps/ieee754/dbl-64/e_remainder.c
34294         (__ieee754_remainder): Likewise.
34295         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34297         (bsloww): Likewise.
34298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34300         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34302         MANTISSA_STORE_T to store computations on mantissa.  Use
34303         macros for rounding and division.
34304         (denorm): Likewise.
34305         (__dbl_mp): Likewise.
34306         (add_magnitudes): Likewise.
34307         (sub_magnitudes): Likewise.
34308         (__mul): Likewise.
34309         (__sqr): Likewise.
34310         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34311         powers of two in terms of TWOPOW macro.
34312         (mp_no): Make type of mantissa as MANTISSA_T.
34313         [!RADIXI]: Define RADIXI.
34314         [!TWO52]: Define TWO52.
34315         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34317 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34319         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34320         llroundl symbol when building for PPC32.
34322 2013-03-24  Mark H Weaver  <mhw@netris.org>
34324         * manual/arith.texi (Normalization Functions): Fix prototypes for
34325         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34327 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34329         [BZ #13889]
34330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34331         high value to check if expl overflow.
34332         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34333         to check for underflow and overflow.
34334         * math/libm-test.inc: Add exp test.
34336 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34338         [BZ #11120]
34339         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34340         with NOT_IN_libc.
34342 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34344         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34345         symbol.
34347 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34349         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34350         wrap blocks consisting of several statements.
34352         * sysdeps/generic/math-tests.h: New file.
34353         * sysdeps/i386/fpu/math-tests.h: Likewise.
34354         * math/test-snan.c: Include it.
34355         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34357 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34359         [BZ #15285]
34360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34361         (__ieee754_j0l): Do not improve calculations using cos of twice
34362         input for inputs above LDBL_MAX / 2.0L.
34363         (__ieee754_y0l): Likewise.
34364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34365         (__ieee754_j1l): Do not improve calculations using cos of twice
34366         input for inputs above LDBL_MAX / 2.0L.
34367         (__ieee754_y1l): Likewise.
34368         * math/libm-test.inc (j0_test): Add another test.
34369         (j1_test): Likewise.
34370         (y0_test): Likewise.
34371         (y1_test): Likewise.
34372         * sysdeps/i386/fpu/libm-test-ulps: Update.
34374 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34376         * Rules ($(objpfx)bench-%.c): Include code from a C source
34377         file.
34379 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34381         [BZ #15287]
34382         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34383         imaginary part 1.0 and real part less than 0.5 specially.
34384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34386         * math/libm-test.inc (cacos_test): Add more tests.
34387         (casin_test): Likewise.
34388         (casinh_test): Likewise.
34389         * sysdeps/i386/fpu/libm-test-ulps: Update.
34390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34392 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34394         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34395         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34397 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34399         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34400         * config.make.in (config-cflags-sse4): Remove variable.
34401         (config-cflags-avx): Likewise.
34402         (config-cflags-sse2avx): Likewise.
34403         (config-cflags-novzeroupper): Likewise.
34404         (config-asflags-i686): Likewise.
34405         (have-mfma4): Likewise.
34406         (have-as-vis3): Likewise.
34407         (MIG): Likewise.
34408         * configure.in (MIG): Do not AC_SUBST.
34409         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34410         (libc_cv_cc_sse4): Do not AC_SUBST.
34411         (libc_cv_cc_avx): Likewise.
34412         (libc_cv_cc_sse2avx): Likewise.
34413         (libc_cv_cc_novzeroupper): Likewise.
34414         (libc_cv_cc_fma4): Likewise.
34415         (libc_cv_as_i686): Likewise.
34416         (libc_cv_sparc_as_vis3): Likewise.
34417         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34418         LIBC_CONFIG_VAR.
34419         (config-asflags-i686): Likewise.
34420         (config-cflags-avx): Likewise.
34421         (config-cflags-sse2avx): Likewise.
34422         (have-mfma4): Likewise.
34423         (config-cflags-novzeroupper): Likewise.
34424         * sysdeps/mach/configure.in (MIG): Likewise.
34425         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34426         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34427         LIBC_CONFIG_VAR.
34428         (config-cflags-avx): Likewise.
34429         (config-cflags-sse2avx): Likewise.
34430         (have-mfma4): Likewise.
34431         (config-cflags-novzeroupper): Likewise.
34432         * configure: Regenerated.
34433         * sysdeps/i386/configure: Likewise.
34434         * sysdeps/mach/configure: Likewise.
34435         * sysdeps/sparc/configure: Likewise.
34436         * sysdeps/x86_64/configure: Likewise.
34438 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34440         [BZ #14812]
34441         * locale/programs/localedef.c (options): Put N_ translation marker
34442         on argument names, not just descriptions.
34444 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34446         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34448 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34450         [BZ #14176]
34451         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34453 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34455         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34456         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34457         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34458         [!BEFORE_ABORT] (before_abort): New function.
34459         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34460         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34461         (writev_for_fatal): New function.
34462         (WRITEV_FOR_FATAL): New macro; call that.
34463         (backtrace_and_maps): New function.
34464         (BEFORE_ABORT): New macro; call that.
34465         (struct str_list): Type removed.
34466         (__libc_message, __libc_fatal): Functions removed.
34467         Include <sysdeps/posix/libc_fatal.c> instead.
34469 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34471         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34472         constants.
34473         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34474         double constants.
34476 2013-03-19  Andreas Schwab  <schwab@suse.de>
34478         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34479         * sysdeps/gnu/configure: Regenerate.
34481         * configure.in: Substitute libc_cv_rtlddir.
34482         * configure: Regenerate.
34483         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34484         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34485         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34486         * elf/Makefile (install-others, CFLAGS-interp.c)
34487         (ldso_install, common-ldd-rewrite): Likewise.
34488         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34489         $(inst_slibdir)/$(rtld-installed-name).
34490         * scripts/rellns-sh: Add -p option.
34491         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34492         for source.
34494 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34496         * manual/nptl.texi: Renamed to ...
34497         * manual/threads.texi: ... this.
34498         * manual/Makefile (chapters): Update.
34500 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34502         [BZ #14812]
34503         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34504         on argument names, not just descriptions.
34505         * malloc/memusagestat.c (options): Likewise.
34506         * nss/getent.c (options): Likewise.
34508 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34510         [BZ #14812]
34511         * iconv/iconv_prog.c (options): Put N_ translation marker
34512         on argument names, not just descriptions.
34513         * iconv/iconvconfig.c (options): Likewise.
34515 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34517         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34518         implementation which is faster on all x86_64 architectures.
34519         Tested on AMD, Intel Nehalem, SNB, IVB.
34520         * sysdeps/x86_64/strnlen.S: Likewise.
34522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34523         Remove all multiarch strlen and strnlen versions.
34524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34525         Remove strlen and strnlen related parts.
34527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34528         Inline strlen part.
34529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34531         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34532         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34533         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34534         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34535         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34536         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34538 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34540         * manual/memory.texi (Malloc Tunable Parameters):
34541         Sort parameters alphabetically. Add comments for missing entries.
34543 2013-03-17  David S. Miller  <davem@davemloft.net>
34545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34547 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34549         [BZ #15283]
34550         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34551         for arguments at most half maximum finite value.
34552         * math/libm-test.inc (j0_test): Add more tests.
34553         (j1_test): Likewise.
34554         (y0_test): Likewise.
34555         (y1_test): Likewise.
34556         * sysdeps/i386/fpu/libm-test-ulps: Update.
34557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34559         [BZ #14155]
34560         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34561         1 / x and functions P and Q for arguments above 0x1p256L.
34562         (__ieee754_y0l): Likewise.
34563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34564         (__ieee754_y1l): Likewise.
34565         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34566         (j1_test): Likewise.
34567         (y0_test): Likewise.
34568         (y1_test): Likewise.
34570 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34572         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34573         variable.
34575 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34577         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34578         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34579         zero since it's initialized to EXEC_PAGESIZE.
34581         * sysdeps/unix/sysv/linux/ldsodefs.h
34582         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34583         * sysdeps/generic/ldsodefs.h: ... here.
34585 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34587         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34589         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34590         math/test-snan.c.
34591         * math/test-snan.c: Renamed from
34592         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34593         * math/Makefile (tests): Add test-snan.
34594         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34595         test-powerpc-snan.
34597         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34598         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34599         functions.
34600         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34601         __builtin_nan family of functions.
34602         * math/libm-test.inc (initialize): Initialize qnan_value with
34603         __builtin_nan family of functions.
34604         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34605         Remove variables.
34606         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34607         Remove functions.
34608         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34609         storage class.  Initialize qNaN_var and sNaN_var with
34610         __builtin_nan and __builtin_nans families of functions,
34611         respectively.
34613         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34614         (sqrt_test): Remove duplicate test with qNaN input.
34615         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34616         (round_test, signbit_test, significand_test): Note missing +/-Inf
34617         as well as qNaN tests.
34619         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34620         qNaN_var.  Fix a few strings, too.
34621         * math/libm-test.inc (nan_value): Rename to qnan_value.
34622         * math/gen-libm-test.pl (%beautify): Adjust to that.
34623         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34624         * math/test-misc.c (main): Likewise.
34625         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34626         to __qnan_bytes, and __qnan_union, respectively.
34627         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34628         Likewise.
34629         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34630         and lqnanval, respectively.
34631         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34632         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34633         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34634         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34636         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34637         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34638         doubles.
34640         * math/test-misc.c (main): Fix copy'n'pastos.
34641         * misc/tst-efgcvt.c (special): Likewise.
34643         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34644         Remove declarations.
34646 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34648         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34649         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34650         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34651         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34653 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34655         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34656         macro to return vdso values correctly in IFUNC implementations.
34657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34658         Optimization by using IFUNC.
34660 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34661             Richard Henderson  <rth@redhat.com>
34662             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34664         * Makefile.in (bench): New target.
34665         * NEWS: Mention the benchmark framework.
34666         * Rules (bench): Likewise.
34667         (binaries-bench): Generate binaries for functions to
34668         benchmark.
34669         * benchtests/Makefile: New makefile for benchmark tests.
34670         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34671         programs.
34672         * benchtests/exp-inputs: New input file for EXP function.
34673         * benchtests/pow-inputs: New input file for POW function.
34674         * scripts/bench.pl: New script to generate source files for
34675         benchmark programs.
34677 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34679         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34681         computations on mantissa.  Use macros for rounding and
34682         division.
34683         (denorm): Likewise.
34684         (__dbl_mp): Likewise.
34685         (add_magnitudes): Likewise.
34686         (sub_magnitudes): Likewise.
34687         (__mul): Likewise.
34688         (__sqr): Likewise.
34689         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34690         powers of two in terms of TWOPOW macro.
34691         (mp_no): Make type of mantissa as MANTISSA_T.
34692         [!RADIXI]: Define RADIXI.
34693         [!TWO52]: Define TWO52.
34694         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34696         * manual/nptl.texi (cindex): Modify threads to pthreads.
34698 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34700         * sysdeps/x86_64/preconfigure: Regenerated.
34702 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34704         [BZ #14155]
34705         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34706         0x1p28 and above.
34707         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34708         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34709         0x1p28 and above.
34710         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34711         * math/libm-test.inc (j0_test): Do not allow one spurious
34712         underflow exception.
34713         (y1_test): Likewise.
34715 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34717         * manual/Makefile (chapters): Add nptl.
34718         * manual/debug.texi (Debugging Support): Add link to Threads
34719         chapter.
34720         * manual/nptl.texi: New file.
34722         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34724 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34726         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34727         for non-NULL pointer before the memory validity test. Pointed
34728         out by Holger Brunck <holger.brunck@keymile.com>.
34730 2013-03-13  Andreas Schwab  <schwab@suse.de>
34732         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34733         instead of .os.
34735 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34737         * timezone/zic.c: Update from tzcode 2013b.
34739 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34741         * manual/install.texi (Configuring and compiling):
34742         Mention i686 and i586.
34743         * INSTALL: Regenerate.
34745 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34747         * sysdeps/init_array/elf-init.c: New file.
34748         * csu/elf-init.c
34749         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34750         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34752         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34753         __gmon_start__ as global, but as static with a .preinit_array pointer.
34754         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34755         * sysdeps/init_array/crti.S: New file, empty except for comments.
34756         * sysdeps/init_array/crtn.S: Likewise.
34758 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34760         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34761         definining bcopy.
34762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34763         Remove Prefer_SSE_for_memop.
34764         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34765         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34766         HAS_PREFER_SSE_FOR_MEMOP.
34767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34768         memset-x86-64.
34769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34770         Remove bzero, memset ifunc support.
34771         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34772         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34773         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34774         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34776 2013-03-11  Andreas Schwab  <schwab@suse.de>
34778         [BZ #15234]
34779         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34780         by SHLIB_COMPAT.
34781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34782         (GLIBC_2.16): Remove pthread_atfork.
34784 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34786         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34787         (ptestcases.h): Likewise.
34789 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34791         * Makeconfig ($(common-objpfx)config.status): Depend on
34792         sysdeps/*/preconfigure{,.in} too.
34794 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34796         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34797         (__free_hook): Use void * instead of __malloc_ptr_t.
34798         (__malloc_hook): Likewise.
34799         (__realloc_hook): Likewise.
34800         (__memalign_hook): Likewise.
34801         (__after_morecore_hook): Likewise.
34802         * malloc/arena.c (save_malloc_hook): Likewise.
34803         (save_free_hook): Likewise.
34804         * malloc/hooks.c (malloc_hook_ini): Likewise.
34805         (realloc_hook_ini): Likewise.
34806         (memalign_hook_ini): Likewise.
34807         * malloc/malloc.c (malloc_hook_ini): Likewise.
34808         (realloc_hook_ini): Likewise.
34809         (memalign_hook_ini): Likewise.
34810         (__free_hook): Likewise.
34811         (__malloc_hook): Likewise.
34812         (__realloc_hook): Likewise.
34813         (__memalign_hook): Likewise.
34814         (__libc_malloc): Likewise.
34815         (__libc_free): Likewise.
34816         (__libc_realloc): Likewise.
34817         (__libc_memalign): Likewise.
34818         (__libc_valloc): Likewise.
34819         (__libc_pvalloc): Likewise.
34820         (__libc_calloc): Likewise.
34821         (__posix_memalign): Likewise.
34822         * malloc/morecore.c (__sbrk): Likewise.
34823         (__default_morecore): Likewise.
34825         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34827         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34828         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34829         __malloc_ptrdiff_t.
34831         * malloc/malloc.h (__malloc_size_t): Remove macro.
34832         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34833         __malloc_size_t.
34834         (old_memalign_hook): Likewise.
34835         (old_realloc_hook): Likewise.
34836         (struct hdr): Likewise.
34837         (flood): Likewise.
34838         (mallochook): Likewise.
34839         (memalignhook): Likewise.
34840         (reallochook): Likewise.
34841         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34842         (tr_old_realloc_hook): Likewise.
34843         (tr_old_memalign_hook): Likewise.
34844         (tr_mallochook): Likewise.
34845         (tr_reallochook): Likewise.
34846         (tr_memalignhook): Likewise.
34848 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34850         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34851         default_ldbl_pack and using as default implementation.
34852         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34853         implementation.
34854         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34855         redundant definition.
34856         (ldbl_insert_mantissa): Likewise.
34857         (ldbl_canonicalize): Likewise.
34858         (ldbl_nearbyint): Likewise.
34859         (ldbl_pack): Rename to ldbl_pack_ppc.
34860         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34861         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34862         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34864 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34867         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34869         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34872         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34873         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34875 2013-03-07  Andreas Jaeger  <aj@suse.de>
34877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34878         bits/mman-linux.h.
34880 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34882         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34883         Include mpa.h and declare __MPEXP.
34884         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34885         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34886         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34887         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34888         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34889         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34892         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34893         (__slowpow): Use long double EXPL and LOGL functions to
34894         compute POW.
34895         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34896         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34897         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34898         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34899         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34903         intermediate variable to calculate exponent.
34904         (__sqr): Likewise.
34905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34906         Likewise.
34907         (__sqr): Likewise.
34909         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34910         [!NO__SQR]: Define __sqr.
34911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34912         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34913         sysdeps/ieee754/dbl-64/mpa.c.
34914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34916         [BZ #12723]
34917         * posix/Makefile (tests): Add tst-pathconf.
34918         * posix/tst-pathconf.c: New test case.
34919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34920         _PC_PIPE_BUF.
34921         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34923 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34925         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34927 2013-03-06  Andreas Jaeger  <aj@suse.de>
34929         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34930         definition via __MAP_ANONYMOUS.
34932         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34933         it's not part of Linux headers.
34935         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34936         (MAP_HUGE_MASK): Define.
34938         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34939         Define.
34940         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34941         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34942         Define.
34943         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34944         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34945         Define.
34946         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34948         Define.
34949         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34951         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34952         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34953         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34954         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34955         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34956         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34958         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34959         Handle f2fs.
34961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34962         Handle f2fs and efivarfs.
34964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34965         f2fs.
34967         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34968         (EFIVARFS_MAGIC): Add.
34969         (F2FS_LINK_MAX): Add.
34971 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34973         * stdio-common/vfprintf.c: Replace __builtin_expect with
34974         __glibc_unlikely.
34976 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34978         [BZ #13550]
34979         * sysdeps/generic/bp-sym.h: Remove file.
34980         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34981         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34982         <bp-sym.h> and <bp-asm.h>.
34983         (__longjmp): Don't use BP_SYM.
34984         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34985         and <bp-asm.h>.
34986         (memcpy): Don't use BP_SYM.
34987         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34988         <bp-sym.h> and <bp-asm.h>.
34989         (memcpy): Don't use BP_SYM.
34990         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34991         <bp-asm.h>.
34992         (memcpy): Don't use BP_SYM.
34993         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34994         <bp-asm.h>.
34995         (memset): Don't use BP_SYM.
34996         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34997         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34998         (__bzero): Don't use BP_SYM.
34999         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35000         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35001         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35002         <bp-sym.h> and <bp-asm.h>.
35003         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35004         pointers.
35005         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35006         <bp-sym.h> and <bp-asm.h>.
35007         (memcpy): Don't use BP_SYM.
35008         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35009         <bp-sym.h> and <bp-asm.h>.
35010         (memset): Don't use BP_SYM.
35011         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35012         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35013         (__bzero): Don't use BP_SYM.
35014         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35015         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35017         <bp-sym.h> and <bp-asm.h>.
35018         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35019         pointers.
35020         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35021         <bp-sym.h> and <bp-asm.h>.
35022         (memcpy): Don't use BP_SYM.
35023         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35024         <bp-sym.h> and <bp-asm.h>.
35025         (memset): Don't use BP_SYM.
35026         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35027         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35028         (__bzero): Don't use BP_SYM.
35029         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35030         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35031         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35032         <bp-sym.h> and <bp-asm.h>.
35033         (__memchr): Don't use BP_SYM.
35034         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35035         <bp-sym.h> and <bp-asm.h>.
35036         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35037         pointers.
35038         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35039         <bp-sym.h> and <bp-asm.h>.
35040         (memcpy): Don't use BP_SYM.
35041         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35042         <bp-sym.h> and <bp-asm.h>.
35043         (__mempcpy): Don't use BP_SYM.
35044         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35045         <bp-sym.h> and <bp-asm.h>.
35046         (__memrchr): Don't use BP_SYM.
35047         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35048         <bp-sym.h> and <bp-asm.h>.
35049         (memset): Don't use BP_SYM.
35050         (__bzero): Likewise.
35051         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35052         <bp-sym.h> and <bp-asm.h>.
35053         (__rawmemchr): Don't use BP_SYM.
35054         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35055         <bp-sym.h> and <bp-asm.h>.
35056         (__STRCMP): Don't use BP_SYM.
35057         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35058         <bp-sym.h> and <bp-asm.h>.
35059         (strchr): Don't use BP_SYM.
35060         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35061         <bp-sym.h> and <bp-asm.h>.
35062         (__strchrnul): Don't use BP_SYM.
35063         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35064         <bp-sym.h> and <bp-asm.h>.
35065         (strlen): Don't use BP_SYM.
35066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35067         <bp-sym.h> and <bp-asm.h>.
35068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35069         pointers.
35070         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35071         <bp-sym.h> and <bp-asm.h>.
35072         (__strnlen): Don't use BP_SYM.
35073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35074         <bp-sym.h> and <bp-asm.h>.
35075         (__GI__setjmp): Don't use BP_SYM.
35076         (_setjmp): Likewise.
35077         (__sigsetjmp): Likewise.
35078         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35079         (L(start_addresses)): Don't use BP_SYM.
35080         (_start): Likewise.
35081         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35082         <bp-asm.h>.
35083         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35084         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35085         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35086         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35087         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35088         <bp-asm.h>.
35089         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35090         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35091         about bounded pointers.
35092         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35093         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35094         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35095         <bp-asm.h>.
35096         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35097         about bounded pointers.  Remove GKM FIXME comments.
35098         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35099         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35100         <bp-asm.h>.
35101         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35102         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35103         Remove GKM FIXME comments.
35104         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35105         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35106         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35107         <bp-asm.h>.
35108         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35109         about bounded pointers.  Remove GKM FIXME comment.
35110         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35111         and <bp-asm.h>.
35112         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35113         pointers.
35114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35115         <bp-sym.h> and <bp-asm.h>.
35116         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35118         <bp-sym.h> and <bp-asm.h>.
35119         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35120         comment.
35122 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35124         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35125         call free(NULL).
35127 2013-03-05  David S. Miller  <davem@davemloft.net>
35129         * po/es.po: Update from translation team.
35131 2013-03-05  Andreas Jaeger  <aj@suse.de>
35133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35134         <bits/mman-linux.h>.
35135         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35136         is fine.
35137         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35138         <bits/mman-linux.h> to end of file.
35139         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35140         is fine.
35141         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35142         <bits/mman-linux.h> to end of file.
35143         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35144         is fine.
35145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35146         <bits/mman-linux.h> to end of file.
35148         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35149         (MCL_CURRENT, MCL_FUTURE): Define here.
35151 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35153         [BZ #15232]
35154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35155         attribute_hidden.
35156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35158 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35160         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35161         fourth parameter needed for rt_sigprocmask syscall.
35162         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35163         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35164         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35165         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35166         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35167         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35169 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35171         [BZ #13550]
35172         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35173         comment about bounded pointers.
35174         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35175         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35177 2013-03-04  Andreas Jaeger  <aj@suse.de>
35179         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35180         common definitions.
35182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35183         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35186         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35189 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35191         [BZ #15055]
35192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35193         __ieee754_sqrl instead of __sqrl.
35195 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35197         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35198         * sysdeps/powerpc/fpu_control.h: ... here.
35199         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35200         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35201         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35202         * sysdeps/powerpc/bits/mathinline.h: ... here.
35204 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35206         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35207         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35208         to just [NEED_DL_SYSINFO_DSO].
35209         * elf/dl-support.c: Likewise.
35210         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35211         * elf/rtld.c (dl_main): Likewise.
35212         * elf/setup-vdso.h (setup_vdso): Likewise.
35213         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35214         * sysdeps/unix/sysv/linux/dl-sysdep.c
35215         (_dl_discover_osversion): Likewise.
35217 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35219         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35220         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35222 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224         * NEWS: Mention libm performance improvements and non-x86 PI
35225         futex support.
35227         * csu/libc-start.c (__pthread_initialize_minimal): Change
35228         function arguments.
35229         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35231 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35233         [BZ #13550]
35234         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35235         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35236         <bp-sym.h> and <bp-asm.h>.
35237         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35238         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35239         and <bp-asm.h>.
35240         (memcpy): Don't use BP_SYM.
35241         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35242         <bp-asm.h>.
35243         (__mpn_add_n): Don't use BP_SYM.
35244         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35245         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35246         and <bp-asm.h>.
35247         (__mpn_addmul_1): Don't use BP_SYM.
35248         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35249         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35250         <bp-sym.h>.
35251         (_setjmp): Don't use BP_SYM.
35252         (__novmx_setjmp): Likewise.
35253         (__GI__setjmp): Likewise.
35254         (__vmx_setjmp): Likewise.
35255         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35256         <bp-sym.h>.
35257         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35258         (__bzero): Don't use BP_SYM.
35259         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35260         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35261         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35262         <bp-sym.h> and <bp-asm.h>.
35263         (memcpy): Don't use BP_SYM.
35264         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35265         <bp-sym.h> and <bp-asm.h>.
35266         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35267         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35268         <bp-sym.h> and <bp-asm.h>.
35269         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35270         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35271         <bp-asm.h>.
35272         (__mpn_lshift): Don't use BP_SYM.
35273         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35274         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35275         <bp-asm.h>.
35276         (memset): Don't use BP_SYM.
35277         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35278         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35279         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35280         <bp-asm.h>.
35281         (__mpn_mul_1): Don't use BP_SYM.
35282         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35283         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35284         <bp-sym.h> and <bp-asm.h>.
35285         (memcmp): Don't use BP_SYM.
35286         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35287         <bp-sym.h> and <bp-asm.h>.
35288         (memcpy): Don't use BP_SYM.
35289         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35290         <bp-sym.h> and <bp-asm.h>.
35291         (memset): Don't use BP_SYM.
35292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35293         <bp-sym.h> and <bp-asm.h>.
35294         (strncmp): Don't use BP_SYM.
35295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35296         <bp-sym.h> and <bp-asm.h>.
35297         (memcpy): Don't use BP_SYM.
35298         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35299         <bp-sym.h> and <bp-asm.h>.
35300         (memset): Don't use BP_SYM.
35301         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35302         <bp-sym.h> and <bp-asm.h>.
35303         (__memchr): Don't use BP_SYM.
35304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35305         <bp-sym.h> and <bp-asm.h>.
35306         (memcmp): Don't use BP_SYM.
35307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35308         <bp-sym.h> and <bp-asm.h>.
35309         (memcpy): Don't use BP_SYM.
35310         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35311         <bp-sym.h> and <bp-asm.h>.
35312         (__mempcpy): Don't use BP_SYM.
35313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35314         <bp-sym.h> and <bp-asm.h>.
35315         (__memrchr): Don't use BP_SYM.
35316         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35317         <bp-sym.h> and <bp-asm.h>.
35318         (memset): Don't use BP_SYM.
35319         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35320         <bp-sym.h> and <bp-asm.h>.
35321         (__rawmemchr): Don't use BP_SYM.
35322         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35323         <bp-sym.h> and <bp-asm.h>.
35324         (__STRCMP): Don't use BP_SYM.
35325         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35326         <bp-sym.h> and <bp-asm.h>.
35327         (strchr): Don't use BP_SYM.
35328         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35329         <bp-sym.h> and <bp-asm.h>.
35330         (__strchrnul): Don't use BP_SYM.
35331         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35332         <bp-sym.h> and <bp-asm.h>.
35333         (strlen): Don't use BP_SYM.
35334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35335         <bp-sym.h> and <bp-asm.h>.
35336         (strncmp): Don't use BP_SYM.
35337         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35338         <bp-sym.h> and <bp-asm.h>.
35339         (__strnlen): Don't use BP_SYM.
35340         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35341         <bp-asm.h>.
35342         (__mpn_rshift): Don't use BP_SYM.
35343         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35345         <bp-sym.h> and <bp-asm.h>.
35346         (__sigsetjmp): Don't use BP_SYM.
35347         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35348         (L(start_addresses)): Don't use BP_SYM.
35349         (_start): Likewise.
35350         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35351         <bp-asm.h>.
35352         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35353         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35354         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35355         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35356         <bp-asm.h>.
35357         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35358         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35359         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35360         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35361         <bp-asm.h>.
35362         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35363         comments.
35364         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35365         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35366         <bp-asm.h>.
35367         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35368         FIXME comments.
35369         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35370         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35371         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35372         <bp-asm.h>.
35373         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35374         comment.
35375         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35376         and <bp-asm.h>.
35377         (strncmp): Don't use BP_SYM,
35378         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35379         <bp-asm.h>.
35380         (__mpn_sub_n): Don't use BP_SYM.
35381         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35382         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35383         and <bp-asm.h>.
35384         (__mpn_submul_1): Don't use BP_SYM.
35385         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35387         <bp-sym.h> and <bp-asm.h>.
35388         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35390         <bp-sym.h> and <bp-asm.h>.
35391         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35392         comment.
35394 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35397         Use ZK to minimize writes to Z.
35398         (sub_magnitudes): Simplify code a bit.
35399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35400         Use ZK to minimize writes to Z.
35401         (sub_magnitudes): Simplify code a bit.
35403 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35405         * csu/gmon-start.c: Add special exception to license text.
35407 2013-02-27  Richard Henderson  <rth@redhat.com>
35409         * scripts/config.guess: Update from config.git.
35410         * scripts/config.sub: Likewise.
35412 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35414         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35416         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35418         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35420         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35422         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35424 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35426         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35427         [$(build-shared = yes].
35429 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35431         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35432         (__mul): Reduce iterations for calculating mantissa.
35434         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35435         MPTWO.
35436         (__mpranred): Likewise.
35438         [BZ #15160]
35439         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35440         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35442 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35444         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35445         Define __attribute__.
35447 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35449         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35450         unused.
35451         * posix/regex_internal.h (__attribute): Remove.
35452         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35453         (re_string_context_at): Likewise.
35454         (bitset_not): Use __attribute__ and mark function as possibly
35455         unused.
35456         (bitset_merge): Likewise.
35457         (bitset_mask): Likewise.
35458         (re_string_char_size_at): Likewise.
35459         (re_string_wchar_at): Likewise.
35460         (re_string_elem_size_at): Likewise.
35462 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35464         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35465         code.
35466         (cc32): Likewise.
35468         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35469         (__acr): Likewise.
35470         (__cpy): Likewise.
35471         (norm): Likewise.
35472         (denorm): Likewise.
35473         (__dbl_mp): Likewise.
35474         (add_magnitudes): Likewise.
35475         (sub_magnitudes): Likewise.
35476         (__mul): Likewise.
35477         (__inv): Likewise.
35479         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35480         style.
35482         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35483         style.
35485         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35486         code.
35488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35489         up changes with default code.
35490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35491         Likewise.
35493 2013-02-24  Allan McRae  <allan@archlinux.org>
35495         * manual/socket.texi (The Internet Namespace): Order menu items
35496         to match that in the file.
35498         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35499         node listing of the info page menu.
35501 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35503         [BZ #13550]
35504         * sysdeps/i386/bp-asm.h: Remove file.
35505         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35506         (PARMS): Do not use macros from bp-asm.h.
35507         (S1): Likewise.
35508         (S2): Likewise.
35509         (SIZE): Likewise.
35510         (__mpn_add_n): Do not use BP_SYM
35511         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35512         "bp-asm.h".
35513         (PARMS): Do not use macros from bp-asm.h.
35514         (S1): Likewise.
35515         (SIZE): Likewise.
35516         (__mpn_addmul_1): Do not use BP_SYM
35517         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35518         "bp-asm.h".
35519         (PARMS): Do not use macros from bp-asm.h.
35520         (SIGMSK): Likewise.
35521         (_setjmp): Likewise.  Do not use BP_SYM.
35522         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35523         "bp-asm.h".
35524         (PARMS): Do not use macros from bp-asm.h.
35525         (SIGMSK): Likewise.
35526         (setjmp): Likewise.  Do not use BP_SYM.
35527         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35528         "bp-asm.h".
35529         (PARMS): Do not use macros from bp-asm.h.
35530         (__frexp): Do not use BP_SYM.
35531         (frexp): Likewise.
35532         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35533         "bp-asm.h".
35534         (PARMS): Do not use macros from bp-asm.h.
35535         (__frexpf): Do not use BP_SYM.
35536         (frexpf): Likewise.
35537         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35538         "bp-asm.h".
35539         (PARMS): Do not use macros from bp-asm.h.
35540         (__frexpl): Do not use BP_SYM.
35541         (frexpl): Likewise.
35542         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35543         "bp-asm.h".
35544         (PARMS): Do not use macros from bp-asm.h.
35545         (__remquo): Do not use BP_SYM.
35546         (remquo): Likewise.
35547         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35548         "bp-asm.h".
35549         (PARMS): Do not use macros from bp-asm.h.
35550         (__remquof): Do not use BP_SYM.
35551         (remquof): Likewise.
35552         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35553         "bp-asm.h".
35554         (PARMS): Do not use macros from bp-asm.h.
35555         (__remquol): Do not use BP_SYM.
35556         (remquol): Likewise.
35557         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35558         "bp-asm.h".
35559         (PARMS): Do not use macros from bp-asm.h.
35560         (DEST): Likewise.
35561         (SRC): Likewise.
35562         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35563         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35564         "bp-asm.h".
35565         (PARMS): Do not use macros from bp-asm.h.
35566         (strlen): Do not use BP_SYM.
35567         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35568         "bp-asm.h".
35569         (PARMS): Do not use macros from bp-asm.h.
35570         (S1): Likewise.
35571         (S2): Likewise.
35572         (SIZE): Likewise.
35573         (__mpn_add_n): Do not use BP_SYM.
35574         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35575         "bp-asm.h".
35576         (PARMS): Do not use macros from bp-asm.h.
35577         (S1): Likewise.
35578         (SIZE): Likewise.
35579         (__mpn_addmul_1): Do not use BP_SYM.
35580         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35581         weak_alias.
35582         (bzero): Likewise.
35583         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35584         "bp-asm.h".
35585         (PARMS): Do not use macros from bp-asm.h.
35586         (S): Likewise.
35587         (SIZE): Likewise.
35588         (__mpn_lshift): Do not use BP_SYM.
35589         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35590         "bp-asm.h".
35591         (PARMS): Do not use macros from bp-asm.h.
35592         (DEST): Likewise.
35593         (SRC): Likewise.
35594         (LEN): Likewise.
35595         (memcpy): Likewise.  Do not use BP_SYM.
35596         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35597         libc_hidden_def and weak_alias.
35598         (mempcpy): Do not use BP_SYM in weak_alias.
35599         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35600         "bp-asm.h".
35601         (PARMS): Do not use macros from bp-asm.h.
35602         (DEST): Likewise.
35603         (LEN): Likewise.
35604         [!BZERO_P] (CHR): Likewise.
35605         (memset): Likewise.  Do not use BP_SYM.
35606         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35607         "bp-asm.h".
35608         (PARMS): Do not use macros from bp-asm.h.
35609         (S1): Likewise.
35610         (SIZE): Likewise.
35611         (__mpn_mul_1): Do not use BP_SYM.
35612         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35613         "bp-asm.h".
35614         (PARMS): Do not use macros from bp-asm.h.
35615         (S): Likewise.
35616         (SIZE): Likewise.
35617         (__mpn_rshift): Do not use BP_SYM.
35618         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35619         "bp-asm.h".
35620         (PARMS): Do not use macros from bp-asm.h.
35621         (STR): Likewise.
35622         (CHR): Likewise.
35623         (strchr): Likewise.  Do not use BP_SYM.
35624         (index): Do not use BP_SYM in weak_alias.
35625         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35626         "bp-asm.h".
35627         (PARMS): Do not use macros from bp-asm.h.
35628         (DEST): Likewise.
35629         (SRC): Likewise.
35630         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35631         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35632         "bp-asm.h".
35633         (PARMS): Do not use macros from bp-asm.h.
35634         (strlen): Do not use BP_SYM.
35635         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35636         "bp-asm.h".
35637         (PARMS): Do not use macros from bp-asm.h.
35638         (S1): Likewise.
35639         (S2): Likewise.
35640         (SIZE): Likewise.
35641         (__mpn_sub_n): Do not use BP_SYM.
35642         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35643         "bp-asm.h".
35644         (PARMS): Do not use macros from bp-asm.h.
35645         (S1): Likewise.
35646         (SIZE): Likewise.
35647         (__mpn_submul_1): Do not use BP_SYM.
35648         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35649         "bp-asm.h".
35650         (PARMS): Do not use macros from bp-asm.h.
35651         (S1): Likewise.
35652         (S2): Likewise.
35653         (SIZE): Likewise.
35654         (__mpn_add_n): Do not use BP_SYM.
35655         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35656         weak_alias.
35657         (bzero): Likewise.
35658         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35659         "bp-asm.h".
35660         (PARMS): Do not use macros from bp-asm.h.
35661         (BLK2): Likewise.
35662         (LEN): Likewise.
35663         (memcmp): Do not use BP_SYM.
35664         (bcmp): Do not use BP_SYM in weak_alias.
35665         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35666         "bp-asm.h".
35667         (PARMS): Do not use macros from bp-asm.h.
35668         (DEST): Likewise.
35669         (SRC): Likewise.
35670         (LEN): Likewise.
35671         (memcpy): Likewise.  Do not use BP_SYM.
35672         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35673         "bp-asm.h".
35674         (PARMS): Do not use macros from bp-asm.h.
35675         (DEST): Likewise.
35676         (SRC): Likewise.
35677         (LEN): Likewise.
35678         (memmove): Likewise.  Do not use BP_SYM.
35679         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35680         "bp-asm.h".
35681         (PARMS): Do not use macros from bp-asm.h.
35682         (DEST): Likewise.
35683         (SRC): Likewise.
35684         (LEN): Likewise.
35685         (__mempcpy): Likewise.  Do not use BP_SYM.
35686         (mempcpy): Do not use BP_SYM in weak_alias.
35687         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35688         "bp-asm.h".
35689         (PARMS): Do not use macros from bp-asm.h.
35690         (DEST): Likewise.
35691         (LEN): Likewise.
35692         [!BZERO_P] (CHR): Likewise.
35693         (memset): Likewise.  Do not use BP_SYM.
35694         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35695         "bp-asm.h".
35696         (PARMS): Do not use macros from bp-asm.h.
35697         (STR2): Likewise.
35698         (strcmp): Do not use BP_SYM.
35699         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35700         "bp-asm.h".
35701         (PARMS): Do not use macros from bp-asm.h.
35702         (STR): Likewise.
35703         (DELIM): Likewise.
35704         [USE_AS_STRTOK_R] (SAVE): Likewise.
35705         (FUNCTION): Likewise.  Do not use BP_SYM.
35706         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35707         aliases.
35708         (strtok_r): Likewise.
35709         (__GI___strtok_r): Likewise.
35710         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35711         (PARMS): Do not use macros from bp-asm.h.
35712         (S): Likewise.
35713         (SIZE): Likewise.
35714         (__mpn_lshift): Do not use BP_SYM.
35715         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35716         (PARMS): Do not use macros from bp-asm.h.
35717         (STR): Likewise.
35718         (CHR): Likewise.
35719         (__memchr): Do not use BP_SYM.
35720         (memchr): Do not use BP_SYM in weak_alias.
35721         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35722         (PARMS): Do not use macros from bp-asm.h.
35723         (BLK2): Likewise.
35724         (LEN): Likewise.
35725         (memcmp): Do not use BP_SYM.
35726         (bcmp): Do not use BP_SYM in weak_alias.
35727         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35728         (PARMS): Do not use macros from bp-asm.h.
35729         (S1): Likewise.
35730         (SIZE): Likewise.
35731         (__mpn_mul_1): Do not use BP_SYM.
35732         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35733         "bp-asm.h".
35734         (PARMS): Do not use macros from bp-asm.h.
35735         (STR): Likewise.
35736         (CHR): Likewise.
35737         (__rawmemchr): Do not use BP_SYM.
35738         (rawmemchr): Do not use BP_SYM in weak_alias.
35739         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35740         (PARMS): Do not use macros from bp-asm.h.
35741         (S): Likewise.
35742         (SIZE): Likewise.
35743         (__mpn_rshift): Do not use BP_SYM.
35744         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35745         (PARMS): Do not use macros from bp-asm.h.
35746         (SIGMSK): Likewise.
35747         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35748         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35749         (_start): Do not use BP_SYM.
35750         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35751         (PARMS): Do not use macros from bp-asm.h.
35752         (DEST): Likewise.
35753         (SRC): Likewise.
35754         (__stpcpy): Likewise.  Do not use BP_SYM.
35755         (stpcpy): Do not use BP_SYM in weak_alias.
35756         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35757         "bp-asm.h".
35758         (PARMS): Do not use macros from bp-asm.h.
35759         (DEST): Likewise.
35760         (SRC): Likewise.
35761         (LEN): Likewise.
35762         (__stpncpy): Likewise.  Do not use BP_SYM.
35763         (stpncpy): Do not use BP_SYM in weak_alias.
35764         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35765         (PARMS): Do not use macros from bp-asm.h.
35766         (STR): Likewise.
35767         (CHR): Likewise.
35768         (strchr): Likewise.  Do not use BP_SYM.
35769         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35770         "bp-asm.h".
35771         (PARMS): Do not use macros from bp-asm.h.
35772         (STR): Likewise.
35773         (CHR): Likewise.
35774         (__strchrnul): Likewise.  Do not use BP_SYM.
35775         (strchrnul): Do not use BP_SYM in weak_alias.
35776         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35777         "bp-asm.h".
35778         (PARMS): Do not use macros from bp-asm.h.
35779         (STOP): Likewise.
35780         (strcspn): Do not use BP_SYM.
35781         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35782         "bp-asm.h".
35783         (PARMS): Do not use macros from bp-asm.h.
35784         (STR): Likewise.
35785         (STOP): Likewise.
35786         (strpbrk): Likewise.  Do not use BP_SYM.
35787         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35788         "bp-asm.h".
35789         (PARMS): Do not use macros from bp-asm.h.
35790         (STR): Likewise.
35791         (CHR): Likewise.
35792         (strrchr): Likewise.  Do not use BP_SYM.
35793         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35794         (PARMS): Do not use macros from bp-asm.h.
35795         (SKIP): Likewise.
35796         (strspn): Do not use BP_SYM.
35797         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35798         (PARMS): Do not use macros from bp-asm.h.
35799         (STR): Likewise.
35800         (DELIM): Likewise.
35801         (SAVE): Likewise.
35802         (FUNCTION): Likewise.  Do not use BP_SYM.
35803         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35804         aliases.
35805         (strtok_r): Likewise.
35806         (__GI___strtok_r): Likewise.
35807         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35808         (PARMS): Do not use macros from bp-asm.h.
35809         (S1): Likewise.
35810         (S2): Likewise.
35811         (SIZE): Likewise.
35812         (__mpn_sub_n): Do not use BP_SYM.
35813         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35814         "bp-asm.h".
35815         (PARMS): Do not use macros from bp-asm.h.
35816         (S1): Likewise.
35817         (SIZE): Likewise.
35818         (__mpn_submul_1): Do not use BP_SYM.
35819         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35820         <bp-sym.h>.
35821         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35822         and <bp-asm.h>.
35823         (PARMS): Do not use macros from bp-asm.h.
35824         (FLAGS): Likewise.
35825         (PTID): Likewise.
35826         (TLS): Likewise.
35827         (CTID): Likewise.
35828         (__clone): Do not use BP_SYM.
35829         (clone): Do not use BP_SYM in weak_alias.
35830         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35831         and <bp-asm.h>.
35832         (PARMS): Do not use macros from bp-asm.h.
35833         (LEN): Likewise.
35834         (__mmap64): Do not use BP_SYM.
35835         (mmap64): Do not use BP_SYM in weak_alias.
35836         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35837         <bp-sym.h> and <bp-asm.h>.
35838         (PARMS): Do not use macros from bp-asm.h.
35839         (__posix_fadvise64_l64): Do not use BP_SYM.
35840         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35841         (PARMS): Do not use macros from bp-asm.h.
35842         (NSOPS): Likewise.
35843         (semtimedop): Do not use BP_SYM.
35844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35845         and <bp-asm.h>.
35847 2013-02-21  Allan McRae  <allan@archlinux.org>
35849         * manual/message.texi (Charset conversion in gettext):
35850         Move @end statement to beginning of line.
35852 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35855         static.
35856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35857         Likewise.
35859         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35860         (denorm): Likewise.
35861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35864 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35866         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35867         tail-call to the resolved function if pltexit isn't needed.
35869 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35872         or Y being zero as being unlikely.
35873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35874         Likewise.
35876 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35878         * manual/nss.texi (System Databases and Name Service Switch):
35879         Remove frobnicate @pxref.
35881 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35883         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35884         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35886 2013-02-20  Petr Machata  <pmachata@redhat.com>
35888         * elf/elf.h (R_ARM_TARGET1): New macro.
35889         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35890         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35891         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35892         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35893         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35894         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35895         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35896         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35897         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35898         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35899         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35900         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35901         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35902         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35903         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35904         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35905         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35906         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35907         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35908         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35909         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35910         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35911         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35912         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35913         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35914         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35915         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35916         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35917         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35918         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35919         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35920         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35921         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35922         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35923         (R_ARM_THM_GOT_BREL12): Likewise.
35924         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35925         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35926         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35927         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35928         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35929         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35930         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35931         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35932         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35934 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35936         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35937         __attribute_used__ to __attribute__ ((unused)).
35939 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35942         powerpc mpa.c.
35943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35944         comment formatting.
35945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35947 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35949         [BZ #13550]
35950         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35951         Remove macro.
35952         (ENTER): Remove both macro definitions.
35953         (LEAVE): Likewise.
35954         (CHECK_BOUNDS_LOW): Likewise.
35955         (CHECK_BOUNDS_HIGH): Likewise.
35956         (CHECK_BOUNDS_BOTH): Likewise.
35957         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35958         (RETURN_BOUNDED_POINTER): Likewise.
35959         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35960         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35961         (POP_ERRNO_LOCATION_RETURN): Likewise.
35962         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35963         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35964         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35965         macros.
35966         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35967         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35968         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35969         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35970         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35971         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35972         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35973         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35974         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35975         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35976         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35977         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35978         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35979         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35980         removed macros.
35981         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35982         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35983         macros.
35984         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35985         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35986         * sysdeps/i386/i586/memset.S (memset): Likewise.
35987         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35988         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35989         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35990         macros.
35991         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35992         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35993         Change uses of L(2) to L(out).
35994         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35995         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35996         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35997         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35998         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35999         removed macros.
36000         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36001         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36002         macros.
36003         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36004         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36005         (RETURN): Do not use macro LEAVE.
36006         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36007         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36008         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36009         * sysdeps/i386/i686/memset.S (memset): Likewise.
36010         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36011         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36012         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36013         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36014         Likewise.
36015         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36016         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36017         L(1_2) and L(1_3) into L(1).
36018         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36019         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36020         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36021         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36022         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36023         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36024         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36025         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36026         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36027         macros.
36028         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36029         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36030         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36031         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36032         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36033         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36034         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36035         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36036         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36037         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36038         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36039         * sysdeps/i386/strspn.S (strspn): Likewise.
36040         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36041         conditional code.
36042         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36043         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36044         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36045         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36046         L(1_3) into L(1_1).
36047         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36049         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36050         macros.
36051         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36053 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36055         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36056         macro.
36058 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36060         * math/atest-exp.c (exp_mpn): Remove ROUND.
36061         * math/atest-exp2.c (exp_mpn): Likewise.
36062         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36064         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36065         * stdlib/tst-tls-atexit-lib.c: Likewise.
36066         * stdlib/tst-tls-atexit.c: Likewise.
36068 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36070         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36071         and __attribute_alloc_size__.
36073 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36075         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36076         __attribute_alloc_size__.
36077         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36078         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36082         * include/programs/xmalloc.h: New file.
36083         * catgets/gencat.c: Include it.
36084         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36085         * elf/pldd.c: Likewise.
36086         * iconv/iconv_charmap.c: Likewise.
36087         * iconv/iconvconfig.c: Likewise.
36088         * iconv/strtab.c: Likewise.
36089         * locale/programs/locale.c: Likewise.
36090         * locale/programs/localedef.h: Likewise.
36091         * locale/programs/simple-hash.c: Likewise.
36092         * nscd/nscd.h: Likewise.
36093         * nss/makedb.c: Likewise.
36094         * sysdeps/generic/ldconfig.h: Likewise.
36096 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36098         * Versions.def: Add GLIBC_2.18.
36099         * include/link.h (struct link_map): New member l_tls_dtor_count.
36100         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36101         (__call_tls_dtors): Likewise.
36102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36103         __cxa_thread_atexit_impl.
36104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36105         Likewise.
36106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36107         Likewise.
36108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36109         Likewise.
36110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36111         Likewise.
36112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36114         Likewise.
36115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36116         Likewise.
36117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36119         Likewise.
36120         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36121         (tests): Add test case tst-tls-atexit.
36122         (modules-names): Add shared library for tst-tls-atexit.
36123         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36124         (GLIBC_PRIVATE): Add __call_tls_dtors.
36125         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36126         for libstdc++.
36127         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36128         * stdlib/tst-tls-atexit.c: New test case.
36129         * stdlib/tst-tls-atexit-lib.c: New test case.
36131         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36133         * elf/Versions (ld): Add _dl_find_dso_for_object.
36134         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36135         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36136         (dl_open_worker): Use _dl_find_dso_for_object.
36137         * elf/dl-sym.c (do_sym): Likewise.
36138         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36140 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36142         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36143         Syntactic changes only.
36144         (_dl_runtime_profile): Do a tail-call to the resolved function.
36146 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36148         [BZ #13550]
36149         * sysdeps/x86_64/bp-asm.h: Remove file.
36150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36151         <bp-sym.h> and <bp-asm.h>.
36152         (__clone): Do not use BP_SYM.
36153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36154         <bp-sym.h> and <bp-asm.h>.
36155         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36156         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36157         "bp-asm.h".
36158         (_setjmp): Do not use BP_SYM.
36159         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36160         "bp-asm.h".
36161         (setjmp): Do not use BP_SYM.
36162         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36163         libc_hidden_def.
36164         (mempcpy): Do not use BP_SYM in weak_alias.
36165         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36166         "bp-asm.h".
36167         (strchr): Do not use BP_SYM.
36168         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36169         "bp-asm.h".
36170         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36171         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36172         (_start): Do not use BP_SYM.
36173         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36174         "bp-asm.h".
36175         (strcat): Do not use BP_SYM.
36176         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36177         "bp-asm.h".
36178         (STRCMP): Do not use BP_SYM.
36179         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36180         "bp-asm.h".
36181         (STRCPY): Do not use BP_SYM.
36182         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36183         "bp-asm.h".
36184         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36185         "bp-asm.h".
36186         (FUNCTION): Do not use BP_SYM.
36187         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36188         weak_alias.
36189         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36191 2013-02-17  Andreas Jaeger  <aj@suse.de>
36193         * time/Versions: Sort entries.
36194         * string/Versions: Likewise.
36195         * resolv/Versions: Likewise.
36196         * posix/Versions: Likewise.
36197         * iconv/Versions: Likewise.
36198         * elf/Versions: Likewise.
36199         * wcsmbs/Versions: Likewise.
36201 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36204         loop termination condition.
36206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36207         variable to calculate EZ.
36208         (__sqr): Likewise.
36210         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36211         the lower precision input.
36213 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36215         [BZ #13550]
36216         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36217         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36218         (run-via-rtld-prefix): Do not handle %-bp tests.
36219         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36220         (all-object-suffixes): Remove .ob.
36221         (bppfx): Remove variable.
36222         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36223         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36224         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36225         [$(build-bounded) = yes] (libtype.ob): Likewise.
36226         * Makerules (elide-routines.ob): Remove variable.
36227         (do-tests-clean): Do not handle *-bp.out.
36228         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36229         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36230         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36231         (tests): Do not include $(tests-bp.out).
36232         (xtests): Do not include $(xtests-bp.out).
36233         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36234         [$(build-bounded) = yes] ($(addprefix
36235         $(objpfx),$(binaries-bounded))): Remove rule.
36236         ($(objpfx)%-bp.out): Remove rule.
36237         * config.make.in (build-bounded): Remove variable.
36238         * crypt/Makefile [$(build-bounded) = yes]
36239         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36240         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36241         append to variable.
36242         [$(build-bounded) = yes] (install-lib): Likewise.
36243         [$(build-bounded) = yes] (generated): Likewise.
36244         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36245         Remove rule.
36246         * intl/Makefile [$(build-bounded) = yes]
36247         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36248         * math/Makefile [$(build-bounded) = yes]
36249         ($(tests:%=$(objpfx)%-bp): Likewise.
36250         * misc/Makefile [$(build-bounded) = yes]
36251         ($(objpfx)tst-tsearch-bp): Likewise.
36252         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36253         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36254         Remove dependency.
36255         * string/Makefile (o-objects.ob): Remove variable.
36256         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36257         (CFLAGS-.ob): Remove variable.
36258         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36259         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36260         both definitions of variable.
36261         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36262         (ASFLAGS-.ob): Remove variable.
36264 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36266         [BZ #13550]
36267         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36268         Remove __BOUNDED_POINTERS__ from condition.
36269         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36270         * string/bits/string2.h [!__NO_STRING_INLINES &&
36271         !__BOUNDED_POINTERS__]: Likewise.
36272         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36273         Likewise.
36274         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36275         Remove conditional code.
36276         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36277         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36278         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36279         condition.
36281         [BZ #13550]
36282         * csu/libc-start.c: Do not include <bp-sym.h>.
36283         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36284         * elf/dl-open.c: Do not include <bp-sym.h>.
36285         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36286         * math/fegetenv.c: Do not include <bp-sym.h>.
36287         (fegetenv): Do not use BP_SYM in versioned symbols.
36288         * nptl/sysdeps/pthread/bits/libc-lockP.h
36289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36290         <bp-sym.h>.
36291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36292         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36294         (__pthread_mutex_destroy): Likewise.
36295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36296         (__pthread_mutex_lock): Likewise.
36297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36298         (__pthread_mutex_trylock): Likewise.
36299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36300         (__pthread_mutex_unlock): Likewise.
36301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36302         (__pthread_mutexattr_init): Likewise.
36303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36304         (__pthread_mutexattr_destroy): Likewise.
36305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36306         (__pthread_mutexattr_settype): Likewise.
36307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36308         (__pthread_rwlock_init): Likewise.
36309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36310         (__pthread_rwlock_destroy): Likewise.
36311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36312         (__pthread_rwlock_rdlock): Likewise.
36313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36314         (__pthread_rwlock_tryrdlock): Likewise.
36315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36316         (__pthread_rwlock_wrlock): Likewise.
36317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36318         (__pthread_rwlock_trywrlock): Likewise.
36319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36320         (__pthread_rwlock_unlock): Likewise.
36321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36322         (__pthread_key_create): Likewise.
36323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36324         (__pthread_setspecific): Likewise.
36325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36326         (__pthread_getspecific): Likewise.
36327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36328         Likewise.
36329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36330         (_pthread_cleanup_push_defer): Likewise.
36331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36332         (_pthread_cleanup_pop_restore): Likewise.
36333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36334         (pthread_setcancelstate): Likewise.
36335         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36336         <bp-sym.h>.
36337         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36338         (memchr): Do not use BP_SYM in weak_alias.
36339         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36340         (fegetenv): Do not use BP_SYM in versioned symbols.
36341         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36342         (fesetenv): Do not use BP_SYM in versioned symbols.
36343         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36344         (feupdateenv): Do not use BP_SYM in versioned symbols.
36345         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36346         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36347         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36348         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36349         (open64): Do not use BP_SYM in weak_alias.
36350         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36351         (fegetenv): Do not use BP_SYM in versioned symbols.
36352         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36353         (fesetenv): Do not use BP_SYM in versioned symbols.
36354         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36355         (feupdateenv): Do not use BP_SYM in versioned symbols.
36356         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36357         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36358         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36359         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36360         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36361         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36363         <bp-sym.h>.
36364         (__libc_start_main): Do not use BP_SYM.
36366 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36369         redundant return line.
36370         (norm): Likewise.
36371         (denorm): Likewise.
36372         (dbl_mp): Likewise.
36373         (sub_magnitudes): Likewise.
36374         (__add): Likewise.
36375         (__sub): Likewise.
36376         (__mul): Likewise.
36377         (__inv): Likewise.
36378         (__dvd): Likewise.
36379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36380         (norm): Likewise.
36381         (denorm): Likewise.
36382         (dbl_mp): Likewise.
36383         (sub_magnitudes): Likewise.
36384         (__add): Likewise.
36385         (__sub): Likewise.
36386         (__mul): Likewise.
36387         (__inv): Likewise.
36388         (__dvd): Likewise.
36390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36391         instead of __mul.
36392         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36393         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36394         (cc32): Likewise.
36396         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36397         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36398         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36399         of __mul for squares.
36400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36401         function
36402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36403         Likewise.
36404         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36405         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36407 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36409         [BZ #13550]
36410         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36411         code.
36412         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36413         prototype or function definition.  Rename ubp_* variables and
36414         parameters.  Remove argv definitions conditional on
36415         [__BOUNDED_POINTERS__].
36416         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36417         * elf/dl-runtime.c (_dl_fixup): Likewise.
36418         * include/set-hooks.h (RUN_HOOK): Likewise.
36419         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36420         definition.
36421         * string/strcpy.c (strcpy): Do not use __unbounded.
36422         * sysdeps/generic/frame.h (struct layout): Likewise.
36423         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36424         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36425         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36426         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36427         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36428         (__backtrace): Likewise.
36429         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36430         use __ptrvalue.
36431         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36432         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36433         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36434         Likewise.
36435         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36436         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36437         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36439         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36440         Do not use __unbounded.
36441         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36442         Rename __unboundedrlimits parameter to rlimits in prototype.
36443         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36444         Do not use __unbounded.
36445         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36446         not use __ptrvalue.
36447         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36448         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36449         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36450         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36451         __ptrvalue or __unbounded.
36452         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36453         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36454         use __unbounded.
36455         (__new_msgctl): Do not use __ptrvalue.
36456         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36457         __unbounded.
36458         (__libc_msgrcv): Do not use __ptrvalue.
36459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36460         startup_info): Do not use __unbounded.
36461         (__libc_start_main): Likewise.  Rename ubp_* variables and
36462         parameters.  Remove argv definitions conditional on
36463         [__BOUNDED_POINTERS__].
36464         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36465         __ptrvalue.
36466         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36467         use __unbounded.
36468         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36469         or __ptrvalue.
36470         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36471         use __unbounded.
36472         (__new_shmctl): Do not use __ptrvalue.
36473         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36474         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36475         Likewise.
36476         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36478         (__libc_sigaction): Likewise.
36479         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36480         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36481         Likewise.
36482         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36484 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36486         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36488         * string/mempcpy.c: Implement by calling memcpy.
36490 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36495         evaluation.
36497         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36498         values in the mantissa.
36500         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36501         minimize writes to Z.
36502         (sub_magnitudes): Simplify code a bit.
36504 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36506         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36507         from the message.  The linker prefixes all warnings with that already.
36509 2013-02-12  Andreas Schwab  <schwab@suse.de>
36511         [BZ #15078]
36512         * posix/regexec.c (extend_buffers): Add parameter min_len.
36513         (check_matching): Pass minimum needed length.
36514         (clean_state_log_if_needed): Likewise.
36515         (get_subexp): Likewise.
36516         * posix/Makefile (tests): Add bug-regex34.
36517         (bug-regex34-ENV): Define.
36518         * posix/bug-regex34.c: New file.
36520         [BZ #11561]
36521         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36522         elements compare against the byte sequence of it, not its name.
36523         * posix/Makefile (tests): Add bug-regex35.
36524         (bug-regex35-ENV): Define.
36525         * posix/bug-regex35.c: New file.
36527 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36529         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36530         comment.
36531         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36532         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36533         (CHECK_EOL): Add undef.
36535 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36537         * bits/stdlib-bsearch.h: New file.
36538         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36539         * stdlib/stdlib.h: Likewise.
36541 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36543         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36544         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36545         declaration.
36546         * manual/search.texi (Array Search Function): Add missing const in
36547         lfind prototype.
36548         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36549         declaration to use rlim_t.
36550         (Basic Scheduling Functions): Remove erroneous const from
36551         sched_getparam prototype.  Remove erroneous * from
36552         sched_get_priority_max and sched_get_priority_min prototypes.
36553         (Resource Usage): Fix summary @comment on vtimes to refer to
36554         sys/vtimes.h rather than vtimes.h.
36555         Add missing *s in vtimes prototype.
36556         (Limits on Resources): Fix ulimit prototype to return long int.
36557         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36558         prototypes to use long int rather than double.
36559         (BSD Random): Fix initstate and setstate to use char *, not void *.
36560         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36561         prototype to make second argument 'struct aiocb64 *const[]'.
36562         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36563         (Status of AIO Operations): Remove erroneous const in aio_return and
36564         aio_return64 prototypes.
36565         (Synchronizing I/O): Fix sync prototype to return void.
36566         * manual/startup.texi (Suboptions): Remove an erroneous const in
36567         getsubopt prototype.
36568         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36569         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36570         use size_t rather than int.
36571         (Scanning All Users): Likewise for getpwent_r.
36572         (Setting Groups): Add missing const to setgroups prototype.
36573         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36574         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36575         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36576         'const void *' rather than 'const char *'.
36577         (Host Address Functions): Likewise for inet_ntop.
36578         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36579         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36580         ssize_t for return value.
36581         (Sending Data): Likewise for send, sendto, sendmsg.
36582         (Socket Option Functions): Add a missing const in setsockopt prototype.
36583         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36584         use wchar_t for the argument.
36585         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36586         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36587         take no arguments.
36588         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36589         double/float/long double for second argument.
36590         Fix return types of significand, significandf, significandl.
36591         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36592         argument in fchmod prototype.
36593         (File Owner): Use uid_t and gid_t in fchown prototype.
36594         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36595         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36596         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36597         use 'const struct dirent **' as argument types to CMP function pointer
36598         argument.
36599         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36600         (File Times): Fix summary magic @comment for struct utimbuf and utime
36601         to refer to utime.h, not time.h.
36602         * manual/string.texi (Argz Functions): Add missing const in
36603         argz_extract and argz_next prototypes.
36604         (Finding Tokens in a String): Likewise for basename.
36605         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36606         (Copying and Concatenation): Fix typo in wmemmove prototype.
36607         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36608         (Signal Stack): Remove erroneous const in sigstack prototype.
36609         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36610         prototype.
36611         (Simple Calendar Time): Likewise for stime.
36612         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36613         prototype.
36614         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36615         say sys/sysctl.h instead.
36616         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36617         and vsyslog prototypes.
36619 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36621         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36622         Remove.
36624 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36626         * misc/sys/mman.h: Fix typo in mremap comment.
36628 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36630         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36631         the '\0' terminator.
36633 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36635         [BZ #13550]
36636         * debug/segfault.c: Don't include <bp-checks.h>.
36637         * sysdeps/generic/bp-checks.h: Remove file.
36638         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36639         (__GETDENTS): Don't use CHECK_N.
36640         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36641         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36642         (__getgroups): Don't use CHECK_N.
36643         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36644         (setgroups): Don't use CHECK_N.
36645         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36646         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36647         (__libc_msgrcv): Don't use CHECK_N.
36648         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36649         (__libc_msgsnd): Don't use CHECK_N.
36650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36651         <bp-checks.h>.
36652         (__libc_pread): Don't use CHECK_N.
36653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36654         include <bp-checks.h>.
36655         (__libc_pread64): Don't use CHECK_N.
36656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36657         include <bp-checks.h>.
36658         (__libc_pwrite): Don't use CHECK_N.
36659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36660         include <bp-checks.h>.
36661         (__libc_pwrite64): Don't use CHECK_N.
36662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36663         <bp-checks.h>.
36664         (__libc_pread): Don't use CHECK_N.
36665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36666         include <bp-checks.h>.
36667         (__libc_pread64): Don't use CHECK_N.
36668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36669         include <bp-checks.h>.
36670         (__libc_pwrite): Don't use CHECK_N.
36671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36672         include <bp-checks.h>.
36673         (__libc_pwrite64): Don't use CHECK_N.
36674         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36675         (do_pread): Don't use CHECK_N.
36676         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36677         (do_pread64): Don't use CHECK_N.
36678         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36679         (do_pwrite): Don't use CHECK_N.
36680         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36681         (do_pwrite64): Don't use CHECK_N.
36682         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36683         (__libc_readv): Don't use CHECK_N.
36684         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36685         (semop): Don't use CHECK_N.
36686         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36687         <bp-checks.h>.
36688         (semtimedop): Don't use CHECK_N.
36689         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36690         (__libc_pread): Don't use CHECK_N.
36691         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36692         <bp-checks.h>.
36693         (__libc_pread64): Don't use CHECK_N.
36694         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36695         <bp-checks.h>.
36696         (__libc_pwrite): Don't use CHECK_N.
36697         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36698         <bp-checks.h>.
36699         (__libc_pwrite64): Don't use CHECK_N.
36700         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36701         <bp-checks.h>.
36702         (__libc_msgrcv): Don't use CHECK_N.
36703         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36704         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36705         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36706         (__libc_writev): Don't use CHECK_N.
36708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36710         * string/strcpy.c: Removed unused variable.
36712         * Makeconfig (+sysdep-includes): Define with := rather than =.
36713         Use an existing include/ subdir of each sysdeps dir before it.
36715 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36717         * nscd/connection.c (register_traced_file): Comment function.
36718         [HAVE_INOTIFY] (union __inev): Define.
36719         [HAVE_INOTIFY] (inotify_check_files): New function.
36720         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36721         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36722         clear_db_cache.
36723         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36725 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36727         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36728         loaded if not already and that a failure is permanent.
36730 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36732         [BZ #15006]
36733         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36734         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36736 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36738         [BZ #13550]
36739         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36740         (CHECK_1_NULL_OK): Likewise.
36741         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36742         (__fxstat): Do not use CHECK_1.
36743         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36744         <bp-checks.h>.
36745         (___fxstat64): Do not use CHECK_1.
36746         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36747         <bp-checks.h>.
36748         (__fxstatat): Do not use CHECK_1.
36749         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36750         <bp-checks.h>.
36751         (__fxstatat64): Do not use CHECK_1.
36752         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36753         <bp-checks.h>.
36754         (__fxstat): Do not use CHECK_1.
36755         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36756         <bp-checks.h>.
36757         (__fxstatat): Do not use CHECK_1.
36758         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36759         <bp-checks.h>.
36760         (__getresgid): Do not use CHECK_1.
36761         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36762         <bp-checks.h>.
36763         (__getresuid): Do not use CHECK_1.
36764         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36765         <bp-checks.h>.
36766         (__lxstat): Do not use CHECK_1.
36767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36768         <bp-checks.h>.
36769         (__old_msgctl): Do not use CHECK_1.
36770         (__new_msgctl): Likewise.
36771         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36772         <bp-checks.h>.
36773         (__new_setrlimit): Do not use CHECK_1.
36774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36775         <bp-checks.h>.
36776         (__old_shmctl): Do not use CHECK_1.
36777         (__new_shmctl): Likewise.
36778         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36779         <bp-checks.h>.
36780         (__xstat): Do not use CHECK_1.
36781         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36782         (__lxstat): Do not use CHECK_1.
36783         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36784         <bp-checks.h>.
36785         (___lxstat64): Do not use CHECK_1.
36786         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36787         (__old_msgctl): Do not use CHECK_1.
36788         (__new_msgctl): Likewise.
36789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36790         <bp-checks.h>.
36791         (__gettimeofday): Do not use CHECK_1.
36792         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36793         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36794         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36795         <bp-checks.h>.
36796         (__gettimeofday): Do not use CHECK_1.
36797         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36798         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36799         (__new_shmctl): Do not use CHECK_1.
36800         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36801         <bp-checks.h>.
36802         (do_sigtimedwait): Do not use CHECK_1.
36803         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36804         <bp-checks.h>.
36805         (do_sigwaitinfo): Do not use CHECK_1.
36806         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36807         <bp-checks.h>.
36808         (msgctl): Do not use CHECK_1.
36809         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36810         <bp-checks.h>.
36811         (shmctl): Do not use CHECK_1.
36812         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36813         (ustat): Do not use CHECK_1.
36814         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36815         <bp-checks.h>.
36816         (__fxstat): Do not use CHECK_1.
36817         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36818         <bp-checks.h>.
36819         (__fxstatat): Do not use CHECK_1.
36820         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36821         <bp-checks.h>.
36822         (__lxstat): Do not use CHECK_1.
36823         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36824         <bp-checks.h>.
36825         (__xstat): Do not use CHECK_1.
36826         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36827         (__xstat): Do not use CHECK_1.
36828         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36829         (___xstat64): Do not use CHECK_1.
36831         [BZ #13550]
36832         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36833         definitions.
36834         (CHECK_BOUNDS_HIGH): Likewise.
36835         * string/strcpy.c: Do not include <bp-checks.h>.
36836         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36838 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36840         * nscd/nscd-client.h (__nscd_drop_map_ref):
36841         Add __attribute__ ((unused)).
36842         * nis/nss-nisplus.h (niserr2nss): Likewise.
36844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36845         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36847         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36848         Remove inline keyword.
36849         * include/rounding-mode.h (round_away): Likewise.
36850         * libio/wfileops.c (adjust_wide_data): Likewise.
36851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36852         (__m128i_strloadu_tolower): Likewise.
36853         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36854         (__m128i_strloadu_tolower): Likewise.
36855         * time/mktime.c (ydhms_diff): Likewise.
36856         * locale/elem-hash.h (elem_hash): Likewise.
36857         * locale/setlocale.c (setdata): Likewise.
36858         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36859         (re_string_wchar_at): Likewise.
36860         (bitset_not, bitset_merge, bitset_mask): Likewise.
36861         [!(__GNUC__ > 3)] (inline): Remove macro.
36862         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36863         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36864         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36865         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36866         * string/memcmp.c (memcmp_bytes): Likewise.
36867         * locale/programs/locarchive.c (compute_hashval): Likewise.
36868         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36869         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36870         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36871         * nss/getent.c (print_rpc, print_protocols): Likewise.
36872         (print_passwd, print_group, print_aliases): Likewise.
36873         * nis/nss-nisplus.h (niserr2nss): Likewise.
36874         * nscd/connections.c (restart_p): Likewise.
36875         Change return type to bool.
36877 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36879         * Makeconfig (all-Depend-files): Add existing
36880         $(sorted-subdirs:=/Depend) files.
36881         (all-subdirs): Remove nss.
36882         * sysdeps/unix/inet/Subdirs: Add it here instead.
36883         * hesiod/Depend: New file.
36885         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36886         instead of calling alloca.
36888         * io/lseek.c (__lseek): Rename to __libc_lseek.
36889         Define __lseek as an alias.
36891         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36893 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36895         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36896         else clause and remove check for non-standard endianness.
36898 2013-02-04  David S. Miller  <davem@davemloft.net>
36900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36902 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36904         [BZ #13550]
36905         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36906         (__ubp_memchr): Remove prototype.
36907         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36908         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36909         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36910         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36911         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36912         Remove alias.
36913         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36914         (__ubp_memchr): Likewise.
36915         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36916         (__ubp_memchr): Likewise.
36917         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36918         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36919         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36920         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36921         CHECK_STRING.
36922         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36923         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36924         (__getcwd): Do not use CHECK_STRING.
36925         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36926         <bp-checks.h>.
36927         (__real_chown): Do not use CHECK_STRING.
36928         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36929         <bp-checks.h>.
36930         (fchownat): Do not use CHECK_STRING.
36931         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36932         CHECK_STRING.
36933         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36934         <bp-checks.h>.
36935         (__lchown): Do not use CHECK_STRING.
36936         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36937         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36938         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36939         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36941         include <bp-checks.h>.
36942         (truncate64): Do not use CHECK_STRING.
36943         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36944         <bp-checks.h>.
36945         (__real_chown): Do not use CHECK_STRING.
36946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36947         <bp-checks.h>.
36948         (__lchown): Do not use CHECK_STRING.
36949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36950         <bp-checks.h>.
36951         (__chown): Do not use CHECK_STRING.
36952         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36953         <bp-checks.h>.
36954         (truncate64): Do not use CHECK_STRING.
36955         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36956         Likewise.
36957         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36958         (__xmknod): Do not use CHECK_STRING.
36959         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36960         <bp-checks.h>.
36961         (__xmknodat): Do not use CHECK_STRING.
36962         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36963         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36965 2013-02-04  Andreas Schwab  <schwab@suse.de>
36967         [BZ #14142]
36968         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36969         * include/netdb.h: Likewise for h_errno.
36970         * elf/tst-stackguard1.c: Include <tls.h>.
36972 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36974         * elf/link.h (struct link_map): Extend the l_addr comment.
36975         * include/link.h (struct link_map): Likewise.
36977 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36979         [BZ #13550]
36980         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36981         (BOUNDED_1): Remove macro.
36982         * debug/backtrace.c: Don't include <bp-checks.h>.
36983         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36984         (__backtrace): Likewise.
36985         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36986         <bp-checks.h>.
36987         (__backtrace): Don't use BOUNDED_1.
36988         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36989         <bp-checks.h>.
36990         (__backtrace): Don't use BOUNDED_1.
36991         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36992         (__backtrace): Don't use BOUNDED_1.
36993         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36994         (shmat): Don't use BOUNDED_N.
36996 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36998         [BZ #13550]
36999         * sysdeps/generic/bp-start.h: Remove file.
37000         * csu/libc-start.c: Don't include <bp-start.h>.
37001         (LIBC_START_MAIN): Set up __environ directly instead of using
37002         INIT_ARGV_and_ENVIRON.
37003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37004         <bp-start.h>.
37006         [BZ #13550]
37007         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37008         definitions.
37009         (CHECK_FCNTL): Likewise.
37010         (CHECK_N_PAGES): Likewise.
37012         [BZ #13550]
37013         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37014         definitions.
37015         (CHECK_SIGSET_NULL_OK): Likewise.
37016         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37017         <bp-checks.h>.
37018         (sigpending): Don't use CHECK_SIGSET.
37019         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37020         <bp-checks.h>.
37021         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37022         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37023         <bp-checks.h>.
37024         (do_sigsuspend): Don't use CHECK_SIGSET.
37025         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37026         use CHECK_SIGSET.
37027         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37028         (do_sigwait): Don't use CHECK_SIGSET.
37029         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37030         use CHECK_SIGSET.
37031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37032         include <bp-checks.h>.
37033         (sigpending): Don't use CHECK_SIGSET.
37034         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37035         include <bp-checks.h>.
37036         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37037         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37038         <bp-checks.h>.
37039         (sigpending): Don't use CHECK_SIGSET.
37040         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37041         <bp-checks.h>.
37042         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37044         [BZ #13550]
37045         * sysdeps/generic/bp-semctl.h: Remove file.
37046         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37047         <bp-checks.h> and <bp-semctl.h>.
37048         (__old_semctl): Don't use CHECK_SEMCTL.
37049         (__new_semctl): Likewise.
37050         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37051         and <bp-semctl.h>.
37052         (__old_semctl): Don't use CHECK_SEMCTL.
37053         (__new_semctl): Likewise.
37054         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37055         <bp-checks.h> and <bp-semctl.h>.
37056         (__old_semctl): Don't use CHECK_SEMCTL.
37057         (__new_semctl): Likewise.
37058         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37059         <bp-checks.h> and <bp-semctl.h>.
37060         (semctl): Don't use CHECK_SEMCTL.
37062         [BZ #13550]
37063         * Makerules (elide-bp-thunks): Remove variable.
37064         (elide-routines.oS): Don't use $(elide-bp-thunks).
37065         (elide-routines.os): Likewise.
37066         (elide-routines.o): Likewise.
37067         (elide-routines.op): Likewise.
37068         (elide-routines.og): Likewise.
37069         (objects): Don't use $(bp-thunks).
37070         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37071         include.
37072         (common-generated): Do not add s-proto-bp.d.
37073         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37074         (int): Likewise.
37075         (typ): Likewise.
37076         Do not generate makefile rules for bounded-pointer thunks.
37077         * sysdeps/generic/bp-thunks.h: Remove file.
37078         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37079         * sysdeps/unix/s-proto-bp.S: Likewise.
37081         [BZ #15062]
37082         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37083         parts of result separately when argument is not close to line from
37084         -i to i and one part of argument is small.
37085         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37086         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37087         * math/libm-test.inc (cacos_test): Add more tests.
37088         (casin_test): Likewise.
37089         (casinh_test): Likewise.
37090         * sysdeps/i386/fpu/libm-test-ulps: Update.
37091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37093 2013-01-31  David S. Miller  <davem@davemloft.net>
37095         * po/de.po: Update from translation team.
37097 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37099         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37101 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37103         * configure.in (_AC_PROG_CC_C89): New definition.
37104         * configure: Regenerate.
37106         * configure.in (AC_PROG_CPP): New definition.
37107         * configure: Regenerate.
37109 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37111         * debug/tst-backtrace.h: New file.
37112         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37113         (ret): Remove variable.
37114         (x): Likewise.
37115         (FAIL): Remove macro.
37116         (NO_INLINE): Likewise.
37117         (fn1): Use match function instead of strstr.
37118         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37119         (ret): Remove variable.
37120         (x): Likewise.
37121         (FAIL): Remove macro.
37122         (NO_INLINE): Likewise.
37123         (fn): Use match function instead of strstr.
37124         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37125         (ret): Remove variable.
37126         (x): Likewise.
37127         (FAIL): Remove macro.
37128         (NO_INLINE): Likewise.
37129         (handle_signal): Use match function instead of strstr.
37130         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37131         (ret): Remove variable.
37132         (x): Likewise.
37133         (FAIL): Remove macro.
37134         (NO_INLINE): Likewise.
37135         (handle_signal): Use match function instead of strstr.
37137 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37139         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37141 2013-01-23  David S. Miller  <davem@davemloft.net>
37143         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37144         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37145         argument of CAS if possible.
37146         * sysdeps/sparc/sparc64/bits/atomic.h
37147         (__arch_compare_and_exchange_val_32_acq): Likewise.
37148         (__arch_compare_and_exchange_val_64_acq): Likewise.
37150 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37152         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37153         * sysdeps/posix/ulimit.c: ... this.
37154         Include <limits.h>.
37155         * sysdeps/unix/bsd/ulimit.c: Remove file.
37157 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37159         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37160         (LDFLAGS-tst-array5): Likewise.
37162 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37164         [BZ #15036]
37165         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37166         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37167         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37168         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37170 2013-01-21  David S. Miller  <davem@davemloft.net>
37172         * sysdeps/sparc/backtrace.c: New file.
37173         * sysdeps/sparc/sparc32/backtrace.h: New file.
37174         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37175         * sysdeps/sparc/sparc64/backtrace.h: New file.
37176         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37177         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37178         -funwind-tables.
37180 2013-01-21  Andreas Schwab  <schwab@suse.de>
37182         [BZ #15020]
37183         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37184         closed its stdout.
37186 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37189         "mpa2.h".
37190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37192 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37193             Mark Mitchell  <mark@codesourcery.com>
37194             Tom de Vries  <tom@codesourcery.com>
37195             Paul Pluzhnikov  <ppluzhnikov@google.com>
37197         * debug/tst-backtrace2.c: New file.
37198         * debug/tst-backtrace3.c: Likewise.
37199         * debug/tst-backtrace4.c: Likewise.
37200         * debug/tst-backtrace5.c: Likewise.
37201         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37202         (CFLAGS-tst-backtrace3.c): Likewise.
37203         (CFLAGS-tst-backtrace4.c): Likewise.
37204         (CFLAGS-tst-backtrace5.c): Likewise.
37205         (LDFLAGS-tst-backtrace2): Likewise.
37206         (LDFLAGS-tst-backtrace3): Likewise.
37207         (LDFLAGS-tst-backtrace4): Likewise.
37208         (LDFLAGS-tst-backtrace5): Likewise.
37209         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37210         tst-backtrace4 and tst-backtrace5.
37212 2013-01-18  Anton Blanchard  <anton@samba.org>
37213             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37216         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37217         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37218         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37220         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37221         "+r" and remove output regs list as redundant.  Add explicit inline
37222         asm to specify register of return val to work around compiler codegen
37223         bug.  Remove (int) cast on return value.  Add return type parameter to
37224         use in macro so that this macro does not truncate return value for
37225         64-bit values.
37226         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37227         pass to INTERNAL_VSYSCALL_NCS.
37228         (INLINE_VSYSCALL): Add 'long int' as return type to
37229         INTERNAL_VSYSCALL_NCS macro invocation.
37230         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37231         INTERNAL_VSYSCALL_NCS macro invocation.
37232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37234 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37236         [BZ #14496]
37237         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37238         Fix application of SIMD FP exception mask.
37240         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37241         mp_no from a power of two.
37242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37243         __mpexp_twomm1.  Use __pow_mp.
37245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37246         multiplication.
37248 2013-01-17  David S. Miller  <davem@davemloft.net>
37250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37252 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37254         [BZ #15023]
37255         * include/complex.h: Condition contents on [!_COMPLEX_H].
37256         (__kernel_casinhf): New prototype.
37257         (__kernel_casinh): Likewise.
37258         (__kernel_casinhl): Likewise.
37259         * math/Makefile (libm_calls): Add k_casinh.
37260         * math/k_casinh.c: New file.
37261         * math/k_casinhf.c: Likewise.
37262         * math/k_casinhl.c: Likewise.
37263         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37264         finite nonzero arguments.
37265         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37266         finite nonzero arguments.
37267         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37268         finite nonzero arguments.
37269         * math/s_casinh.c: Do not include <float.h>.
37270         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37271         * math/s_casinhf.c: Do not include <float.h>.
37272         (__casinhf): Move code for finite nonzero arguments to
37273         k_casinhf.c.
37274         * math/s_casinhl.c: Do not include <float.h>.
37275         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37276         redefine.
37277         (__casinhl): Move code for finite nonzero arguments to
37278         k_casinhl.c.
37279         * math/libm-test.inc (cacos_test): Add more tests.
37280         * sysdeps/i386/fpu/libm-test-ulps: Update.
37281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37283 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37285         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37286         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37287         [!HAVE_MREMAP]: Remove [defined linux] case.
37288         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37290 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37292         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37294 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37296         * elf/elf.h (R_386_SIZE32): New relocation.
37297         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37298         R_386_SIZE32.
37299         (elf_machine_rela): Likewise.
37300         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37301         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37303 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37305         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37306         (FP_FAST_FMA): Do not define.
37307         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37308         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37309         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37310         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37311         !_SOFT_FLOAT]: Likewise.
37312         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37313         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37314         value.
37315         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37316         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37318         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37319         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37320         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37321         file.
37323 2013-01-16  Andreas Schwab  <schwab@suse.de>
37325         [BZ #14327]
37326         * include/stdlib.h (__mktemp): Add declaration.
37327         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37328         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37330 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37332         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37333         definitions.
37334         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37335         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37336         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37337         definitions here.
37338         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37339         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37340         definitions.
37341         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37342         and ONE.
37343         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37344         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37345         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37346         definitions.
37347         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37348         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37349         definitions.
37350         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37352         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37354 2013-01-15  David S. Miller  <davem@davemloft.net>
37356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37357         trunc{,f} to libm-sysdep_routes.
37358         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37360         file.
37361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37363         file.
37364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37365         file.
37366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37368         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37369         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37370         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37371         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37372         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37373         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37376         nearbyint{,f} to libm-sysdep_routes.
37377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37379         New file.
37380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37381         file.
37382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37383         New file.
37384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37385         file.
37386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37388         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37389         file.
37390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37391         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37392         file.
37393         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37394         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37395         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37397         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37398         libc_feholdexcept and libc_fesetenv.
37400 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37402         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37404 2013-01-14  David S. Miller  <davem@davemloft.net>
37406         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37407         (SPARC_ASM_VIS2_IFUNC): Likewise.
37408         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37410         use of 'siam' instruction.
37411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37412         Likewise.
37413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37414         Likewise.
37415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37416         Likewise.
37417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37422         file.
37423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37424         file.
37425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37426         file.
37427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37428         file.
37429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37434         new VIS2 routines.
37435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37438         Likewise.
37439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37444         routines to libm-sysdep_routines.
37445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37448         fdim/fdimf to libm-sysdep_routines.
37449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37450         file.
37451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37453         file.
37454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37457         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37458         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37459         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37460         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37462 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37464         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37465         to optimize copies.
37467         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37472         local variable MPTWO.
37473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37474         Likewise.
37476 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37478         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37479         GLOB_NOESCAPE.
37481 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37483         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37485 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37487         * manual/pattern.texi (glob_t): Document gl_flags.
37488         (glob64_t): Likewise.
37490 2013-01-11  David S. Miller  <davem@davemloft.net>
37492         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37493         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37494         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37495         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37496         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37497         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37498         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37499         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37500         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37501         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37502         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37503         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37504         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37506         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37507         sparc V9 rather than using V8 code.
37508         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37509         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37511         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37512         Move to...
37513         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37514         Here.
37516 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37518         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37519         not in the main loop.
37520         * configure: Regenerated.
37522 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37524         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37525         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37526         to just #else.
37527         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37528         [!__GLIBC_HAVE_LONG_LONG] case.
37529         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37530         condition to just #else.
37531         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37532         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37533         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37534         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37535         unconditional.
37536         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37537         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37538         #elif condition to just #else.
37539         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37540         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37541         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37542         #elif condition to just #else.
37544 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37546         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37547         (EF_MIPS_ARCH_64): Fix value.
37548         (EF_MIPS_ARCH_32R2): New.
37549         (EF_MIPS_ARCH_64R2): New.
37551 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37553         * Makeconfig (+link-pie-before-libc): New.
37554         (+link-pie-after-libc): Likewise.
37555         (+link-pie-tests): Likewise.
37556         (+link-pie): Rewritten.
37557         (link-before-libc): Remove $(config-LDFLAGS).
37558         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37559         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37560         (config-LDFLAGS): Renamed to ...
37561         (rtld-LDFLAGS): This.
37562         (rtld-tests-LDFLAGS): New macro.
37563         (link-libc-rpath-link): Likewise.
37564         (link-libc-tests-rpath-link): Likewise.
37565         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37566         (link-libc): Prepand $(link-libc-rpath-link).
37567         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37568         (test-program-prefix): New macro.
37569         (test-via-rtld-prefix): Likewise.
37570         (test-program-cmd): Likewise.
37571         (host-test-program-cmd): Likewise.
37572         * Makefile ($(common-objpfx)testrun.sh): Replace
37573         $(run-program-prefix) with $(test-program-prefix).
37574         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37575         $(rtld-LDFLAGS).
37576         ($(common-objpfx)shlib.lds): Likewise.
37577         (build-module-helper): Likewise.
37578         ($(common-objpfx)format.lds): Likewise.
37579         * Rules (binaries-pie-tests): New.
37580         (binaries-pie-notests): Likewise.
37581         (binaries-pie): Rewritten.
37582         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37583         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37584         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37585         (make-test-out): Replace $(host-built-program-cmd) with
37586         $(host-test-program-cmd).
37587         * config.make.in (build-hardcoded-path-in-tests): New variable.
37588         * configure.in (--enable-hardcoded-path-in-tests): New configure
37589         option.
37590         (hardcoded_path_in_tests): New AC_SUBST.
37591         * configure: Regenerated.
37592         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37593         $(built-program-cmd) with $(test-program-cmd).
37594         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37595         (test_program_cmd): This.
37596         * elf/Makefile ($(objpfx)order.out): Run test with
37597         $(test-program-prefix).
37598         ($(objpfx)order2.out): Likewise.
37599         ($(objpfx)tst-initorder.out): Likewise.
37600         ($(objpfx)tst-initorder2.out): Likewise.
37601         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37602         $(test-program-cmd).
37603         ($(objpfx)tst-array1-static.out): Likewise.
37604         ($(objpfx)tst-array2.out): Likewise.
37605         ($(objpfx)tst-array3.out): Likewise.
37606         ($(objpfx)tst-array4.out): Likewise.
37607         ($(objpfx)tst-array5.out): Likewise.
37608         ($(objpfx)tst-array5-static.out): Likewise.
37609         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37610         $(test-program-cmd).
37611         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37612         $(run-program-prefix) with $(test-program-prefix).
37613         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37614         (test_program_prefix): This.
37615         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37616         $(run-program-prefix) with $(test-program-prefix).
37617         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37618         (test_program_prefix): This.
37619         * iconvdata/tst-tables.sh: Likewise.
37620         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37621         $(run-program-prefix) with $(test-program-prefix).
37622         ($(objpfx)tst-translit.out): Likewise.
37623         ($(objpfx)tst-gettext2.out): Likewise.
37624         ($(objpfx)tst-gettext4.out): Likewise.
37625         ($(objpfx)tst-gettext6.out): Likewise.
37626         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37627         (test_program_prefix): This.
37628         * intl/tst-gettext2.sh: Likewise.
37629         * intl/tst-gettext4.sh  Likewise.
37630         * intl/tst-gettext6.sh: Likewise.
37631         * intl/tst-translit.sh: Likewise.
37632         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37633         with $(test-program-cmd).
37634         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37635         $(run-program-prefix) with $(test-program-prefix).
37636         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37637         (test_program_prefix): This.
37638         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37639         $(run-program-prefix) with $(test-program-prefix).
37640         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37641         (test_program_prefix): This.
37642         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37643         * posix/Makefile ($(objpfx)globtest.out): Replace
37644         $(run-via-rtld-prefix) and $(test-wrapper) with
37645         $(test-program-prefix) and $(test-via-rtld-prefix).
37646         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37647         $(test-program-prefix).
37648         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37649         $(host-test-program-cmd).
37650         (tst-spawn-ARGS): Likewise.
37651         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37652         $(test-program-prefix).
37653         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37654         (test_via_rtld_prefix): This.
37655         (test_wrapper): Renamed to ...
37656         (test_program_prefix): This.
37657         (run_program_prefix): Replaced by test_program_prefix.
37658         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37659         (test_program_prefix): This.
37660         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37661         with $(host-test-program-cmd).
37662         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37663         $(run-program-prefix) with $(test-program-prefix).
37664         ($(objpfx)tst-printf.out): Likewise.
37665         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37666         $(test-program-cmd).
37667         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37668         (test_program_prefix): This.
37669         * stdio-common/tst-unbputc.sh: Likewise.
37670         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37671         $(run-program-prefix) with $(test-program-prefix).
37672         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37673         (test_program_prefix): This.
37674         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37675         $(built-program-cmd) with $(test-program-cmd).
37677 2013-01-11  Andreas Jaeger  <aj@suse.de>
37679         [BZ #15003]
37680         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37681         value. Sync with Linux 3.7.
37683 2013-01-10  David S. Miller  <davem@davemloft.net>
37685         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37686         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37687         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37689 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37691         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37692         never set.
37693         * configure: Regenerated.
37695 2013-01-10  David S. Miller  <davem@davemloft.net>
37697         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37698         sparc V9 rather than using V8 code.
37699         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37700         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37702 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37704         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37705         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37706         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37707         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37708         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37709         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37710         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37711         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37712         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37713         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37714         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37715         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37716         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37717         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37718         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37719         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37720         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37721         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37722         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37723         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37724         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37725         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37726         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37727         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37728         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37729         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37730         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37732 2013-01-10  David S. Miller  <davem@davemloft.net>
37734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37736 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37738         * posix/Makefile (tests-static): New variable.
37739         (tests): Add $(tests-static).
37740         (tst-exec-static-ARGS): New variable.
37741         (tst-spawn-static-ARGS): Likewise.
37742         * posix/tst-exec-static.c: New file.
37743         * posix/tst-spawn-static.c: Likewise.
37744         * posix/tst-exec.c: Support run directly.
37745         * posix/tst-spawn.c: Likewise.
37747 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37749         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37750         long.
37751         * math/bits/mathcalls.h (llrint): Likewise.
37752         (llround): Likewise.
37753         * stdlib/stdlib.h (struct drand48_data): Likewise.
37754         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37755         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37756         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37757         Likewise.
37758         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37759         Likewise.
37760         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37761         (elf_greg_t): Likewise.
37762         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37763         (__jmp_buf): Likewise.
37764         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37765         definitions.
37766         (llrint): Likewise, for all definitions.
37767         (llrintl): Likewise.
37769         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37770         Remove [__GNUC__] condition.
37771         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37772         condition to just [__USE_ISOC99].
37773         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37775 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37777         [BZ #14200]
37778         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37779         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37780         defined.
37781         (_POSIX_V6_ILP32_OFF32): Likewise.
37782         (_XBS5_ILP32_OFF32): Likewise.
37783         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37784         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37786 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37788         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37791         doubles __mpexp_twomm1.  Adjust usage.
37792         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37793         Remove.
37795 2013-01-10  Andreas Schwab  <schwab@suse.de>
37797         [BZ #14964]
37798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37799         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37801 2013-01-09  David S. Miller  <davem@davemloft.net>
37803         [BZ #15003]
37804         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37805         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37806         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37807         (TCP_FASTOPEN): Define.
37808         (tcp_repair_opt): New structure.
37809         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37810         enum values.
37811         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37812         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37813         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37814         (tcp_cookie_transactions): New structure.
37816 2013-01-09  Anton Blanchard  <anton@samba.org>
37818         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37819         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37821         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37823 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37825         * include/features.h (__USE_ANSI): Remove.
37827 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37829         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37831         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37833 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37835         * sysdeps/s390/fpu/libm-test-ulps: Update.
37837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37839         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37840         (__acr): Likewise.
37841         (__cpy): Likewise.
37842         (norm): Likewise.
37843         (denorm): Likewise.
37844         (__mp_dbl): Likewise.
37845         (__dbl_mp): Likewise.
37846         (add_magnitudes): Likewise.
37847         (sub_magnitudes): Likewise.
37848         (__add): Likewise.
37849         (__sub): Likewise.
37850         (__mul): Likewise.
37851         (__inv): Likewise.
37852         (__dvd): Likewise.
37853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37854         (__acr): Likewise.
37855         (__cpy): Likewise.
37856         (norm): Likewise.
37857         (denorm): Likewise.
37858         (__mp_dbl): Likewise.
37859         (__dbl_mp): Likewise.
37860         (add_magnitudes): Likewise.
37861         (sub_magnitudes): Likewise.
37862         (__add): Likewise.
37863         (__sub): Likewise.
37864         (__mul): Likewise.
37865         (__inv): Likewise.
37866         (__dvd): Likewise.
37867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37868         (__acr): Likewise.
37869         (__cpy): Likewise.
37870         (norm): Likewise.
37871         (denorm): Likewise.
37872         (__mp_dbl): Likewise.
37873         (__dbl_mp): Likewise.
37874         (add_magnitudes): Likewise.
37875         (sub_magnitudes): Likewise.
37876         (__add): Likewise.
37877         (__sub): Likewise.
37878         (__mul): Likewise.
37879         (__inv): Likewise.
37880         (__dvd): Likewise.
37882 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37884         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37885         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37886         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37887         2 && __USE_EXTERN_INLINES]: Likewise.
37889 2013-01-08  Andreas Jaeger  <aj@suse.de>
37891         [BZ# 14985]
37892         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37893         Remove.
37894         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37895         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37897 2013-01-07  Anton Blanchard  <anton@samba.org>
37899         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37900         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37901         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37902         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37903         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37905         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37906         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37908         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37910         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37914         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37915         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37917         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37918         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37919         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37920         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37922         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37923         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37925         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37926         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37928         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37929         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37931         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37932         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37933         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37934         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37935         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37937         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37940         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37941         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37943 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37945         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37946         (__MALLOC_PMT): Likewise.
37947         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37948         [__GNUC__], only on [_LIBC].
37949         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37950         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37951         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37952         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37953         forward declaration.
37954         (realloc_hook_ini): Likewise.
37955         (memalign_hook_ini): Likewise.
37956         (__libc_memalign): Do not use __MALLOC_PMT in variable
37957         declaration.
37958         (__libc_valloc): Likewise.
37959         (__libc_pvalloc): Likewise.
37960         (__libc_calloc): Likewise.
37961         (__posix_memalign): Likewise.
37963         [BZ #14996]
37964         * math/s_casinh.c: Include <float.h>.
37965         (__casinh): Do not do computation with squaring and square root
37966         for large arguments.
37967         * math/s_casinhf.c: Include <float.h>.
37968         (__casinhf): Do not do computation with squaring and square root
37969         for large arguments.
37970         * math/s_casinhl.c: Include <float.h>.
37971         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37972         (__casinhl): Do not do computation with squaring and square root
37973         for large arguments.
37974         * math/libm-test.inc (casin_test): Add more tests.
37975         (casinh_test): Likewise.
37976         * sysdeps/i386/fpu/libm-test-ulps: Update.
37977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37979 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37981         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37982         (__x86_64_raw_data_cache_size): Likewise.
37983         (__x86_64_data_cache_size_half): Likewise.
37984         (__x86_64_raw_data_cache_size_half): Likewise.
37985         (__x86_64_shared_cache_size): Likewise.
37986         (__x86_64_raw_shared_cache_size): Likewise.
37987         (__x86_64_shared_cache_size_half): Likewise.
37988         (__x86_64_raw_shared_cache_size_half): Likewise.
37989         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37990         to ...
37991         (__x86_data_cache_size): This.
37992         (__x86_64_raw_data_cache_size): Renamed to ...
37993         (__x86_raw_data_cache_size): This.
37994         (__x86_64_data_cache_size_half): Renamed to ...
37995         (__x86_data_cache_size_half): This.
37996         (__x86_64_raw_data_cache_size_half): Renamed to ...
37997         (__x86_raw_data_cache_size_half): This.
37998         (__x86_64_shared_cache_size): Renamed to ...
37999         (__x86_shared_cache_size): This.
38000         (__x86_64_raw_shared_cache_size): Renamed to ...
38001         (__x86_raw_shared_cache_size): This.
38002         (__x86_64_shared_cache_size_half): Renamed to ...
38003         (__x86_shared_cache_size_half): This.
38004         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38005         (__x86_raw_shared_cache_size_half): This.
38006         * sysdeps/x86_64/memcpy.S: Updated.
38007         * sysdeps/x86_64/memset.S: Likewise.
38008         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38012 2013-01-04  David S. Miller  <davem@davemloft.net>
38014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38016 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38018         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38019         1 to avoid redefinition warning.
38020         (__USE_GNU): Don't define.
38021         (init_signaling_nan): Protoize.
38023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38025 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38027         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38029         (__cpymn): Likewise.
38030         (norm): Remove commented code.
38031         (denorm): Likewise.
38032         (__mp_dbl): Likewise.
38033         (__inv): Likewise.
38034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38035         (__cpymn): Likewise.
38036         (norm): Remove commented code.
38037         (denorm): Likewise.
38038         (__mp_dbl): Likewise.
38039         (__inv): Likewise.
38041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38042         mp_no value for 1.0 and 2.0.
38043         (norm): Use RADIXI instead of radixi.d.
38044         (denorm): Likewise.
38045         (__mul): Use 0.0 instead of zero.d.
38046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38047         mp_no value for 1.0 and 2.0.
38048         (norm): Use RADIXI instead of radixi.d.
38049         (denorm): Likewise.
38050         (__mul): Use 0.0 instead of zero.d.
38052 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38054         [BZ #14994]
38055         * math/s_casinh.c (__casinh): Reduce finite argument to first
38056         quadrant then set signs of results at the end.
38057         * math/s_casinhf.c (__casinhf): Likewise.
38058         * math/s_casinhl.c (__casinhl): Likewise.
38059         * math/libm-test.inc (casin_test): Add more tests.
38060         (casinh_test): Likewise.
38061         * sysdeps/i386/fpu/libm-test-ulps: Update.
38062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38064 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38066         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38068         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38070         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38071         declarations.
38072         (denorm): Likewise.
38073         (__mp_dbl): Likewise.
38074         (__inv): Likewise.
38076         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38077         and adjust the header comment.
38079         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38080         variable name from declaration.
38082 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38085         Initialize COMMON_CPUID_INDEX_7 element.
38086         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38087         (CPUID_RTM): Likewise.
38088         (HAS_RTM): Likewise.
38089         (COMMON_CPUID_INDEX_7): New enum.
38091 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38093         [BZ #14981]
38094         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38095         size is zero, record memory as freed.
38097 2013-01-03  Andreas Jaeger  <aj@suse.de>
38099         * po/ia.po: Add new Interlingua translation.
38101 2012-01-03  Allan McRae  <allan@archlinux.org>
38103         * locale/programs/localedef.c: Fix description of '--posix' flag.
38105 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38107         * NEWS: Update dates in second copyright notice.
38108         * README: Update copyright dates in example.
38109         * manual/libc.texinfo: Update copyright dates.
38110         * scripts/test-installation.pl: Update copyright date in --version
38111         output.
38113         * hurd/ctty-input.c: Fix copyright notice formatting.
38114         * hurd/ctty-output.c: Likewise.
38115         * hurd/dtable.c: Likewise.
38116         * hurd/hurd-raise.c: Likewise.
38117         * hurd/hurdprio.c: Likewise.
38118         * hurd/msgportdemux.c: Likewise.
38119         * misc/sys/file.h: Likewise.
38120         * misc/sys/ioctl.h: Likewise.
38121         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38122         * sysdeps/mach/hurd/chdir.c: Likewise.
38123         * sysdeps/mach/hurd/fchdir.c: Likewise.
38124         * sysdeps/mach/hurd/rename.c: Likewise.
38125         * sysdeps/mach/hurd/rmdir.c: Likewise.
38126         * sysdeps/mach/hurd/seekdir.c: Likewise.
38127         * sysdeps/mach/hurd/setsid.c: Likewise.
38128         * sysdeps/posix/wait3.c: Likewise.
38130         * All files with FSF copyright notices: Update copyright dates
38131         using scripts/update-copyrights.
38132         * intl/plural.c: Regenerated.
38133         * locale/programs/charmap-kw.h: Likewise.
38134         * locale/programs/locfile-kw.h: Likewise.
38136 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38138         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38139         four values.
38141         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38142         calculation loop and add branch prediction.
38144         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38145         check access beyond bounds of m1np.
38147         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38148         MPTWO.
38149         (__inv): Remove local variable MPTWO to use the global
38150         constant.
38151         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38153         variable MPTWO.
38154         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38155         MP3HALFS static const.
38157 2013-01-01  David S. Miller  <davem@davemloft.net>
38159         * po/ca.po: Update from translation team.
38161 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38163         * scripts/update-copyrights: New file.
38164         * Makeconfig: Reformat copyright notice.
38165         * ctype/ctype.h: Likewise.
38166         * debug/swprintf_chk.c: Likewise.
38167         * elf/dl-cache.c: Likewise.
38168         * elf/dl-debug.c: Likewise.
38169         * elf/dl-object.c: Likewise.
38170         * grp/initgroups.c: Likewise.
38171         * hurd/Makefile: Likewise.
38172         * hurd/hurd/signal.h: Likewise.
38173         * hurd/hurdfault.c: Likewise.
38174         * hurd/hurdioctl.c: Likewise.
38175         * hurd/hurdlookup.c: Likewise.
38176         * hurd/intr-msg.c: Likewise.
38177         * iconv/gconv_open.c: Likewise.
38178         * libio/swprintf.c: Likewise.
38179         * locale/lc-ctype.c: Likewise.
38180         * locale/nl_langinfo.c: Likewise.
38181         * mach/Machrules: Likewise.
38182         * mach/Makefile: Likewise.
38183         * malloc/obstack.h: Likewise.
38184         * manual/Makefile: Likewise.
38185         * manual/tsort.awk: Likewise.
38186         * misc/bits/stab.def: Likewise.
38187         * nis/nis_print_group_entry.c: Likewise.
38188         * nis/nis_table.c: Likewise.
38189         * nis/nss_compat/compat-pwd.c: Likewise.
38190         * nis/nss_compat/compat-spwd.c: Likewise.
38191         * po/Makefile: Likewise.
38192         * posix/fnmatch.c: Likewise.
38193         * posix/regex.h: Likewise.
38194         * resolv/Makefile: Likewise.
38195         * resolv/nss_dns/dns-network.c: Likewise.
38196         * resolv/res_hconf.c: Likewise.
38197         * scripts/gen-sorted.awk: Likewise.
38198         * soft-fp/soft-fp.h: Likewise.
38199         * stdio-common/printf.h: Likewise.
38200         * stdlib/monetary.h: Likewise.
38201         * stdlib/random.c: Likewise.
38202         * stdlib/random_r.c: Likewise.
38203         * sysdeps/generic/Makefile: Likewise.
38204         * sysdeps/gnu/Makefile: Likewise.
38205         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38207         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38212         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38213         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38215         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38216         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38217         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38218         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38219         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38220         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38221         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38222         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38225         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38226         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38227         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38228         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38229         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38230         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38232         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38233         * sysdeps/mach/hurd/errnos.awk: Likewise.
38234         * sysdeps/mach/hurd/fork.c: Likewise.
38235         * sysdeps/mach/hurd/getcwd.c: Likewise.
38236         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38237         * sysdeps/mach/hurd/mmap.c: Likewise.
38238         * sysdeps/mach/hurd/utimes.c: Likewise.
38239         * sysdeps/mach/hurd/xmknod.c: Likewise.
38240         * sysdeps/posix/profil.c: Likewise.
38241         * sysdeps/posix/readdir_r.c: Likewise.
38242         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38243         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38244         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38245         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38247         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38249         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38251         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38252         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38253         * sysdeps/pthread/lio_listio.c: Likewise.
38254         * sysdeps/sparc/dl-procinfo.h: Likewise.
38255         * sysdeps/unix/i386/sysdep.S: Likewise.
38256         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38257         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38258         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38259         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38261         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38262         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38263         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38264         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38265         * sysdeps/wordsize-32/divdi3.c: Likewise.
38266         * time/sys/time.h: Likewise.
38267         * wcsmbs/Makefile: Likewise.
38269 2013-01-01  David S. Miller  <davem@davemloft.net>
38271         * po/fr.po: Update from translation team.
38273         * catgets/gencat.c: Update copyright year.
38274         * csu/version.c: Likewise.
38275         * debug/catchsegv.sh: Likewise.
38276         * debug/pcprofiledump.c: Likewise.
38277         * debug/xtrace.sh: Likewise.
38278         * elf/ldconfig.c: Likewise.
38279         * elf/ldd.bash.in: Likewise.
38280         * elf/pldd.c: Likewise.
38281         * elf/sotruss.ksh: Likewise.
38282         * elf/sprof.c: Likewise.
38283         * iconv/iconv_prog.c: Likewise.
38284         * iconv/iconvconfig.c: Likewise.
38285         * locale/programs/locale.c: Likewise.
38286         * locale/programs/localedef.c: Likewise.
38287         * login/programs/pt_chown.c: Likewise.
38288         * malloc/memusage.sh: Likewise.
38289         * malloc/memusagestat.c: Likewise.
38290         * malloc/mtrace.pl: Likewise.
38291         * nscd/nscd.c: Likewise.
38292         * nss/getent.c: Likewise.
38293         * nss/makedb.c: Likewise.
38294         * posix/getconf.c: Likewise.
38296 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38298         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38299         numbers.
38301 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38303         * math/bits/mathcalls.h (modf): Use __nonnull.
38305 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38307         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38308         (split): Use macro CN instead of the bare value.
38309         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38310         could be used.
38311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38312         instead of the bare value.
38313         (power1): Likewise.
38315 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38318         __ATAN_TWOM.
38319         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38321         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38322         their values.
38323         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38325         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38326         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38328 2012-12-28  Andreas Jaeger  <aj@suse.de>
38330         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38331         values are from Linux 3.7.
38333         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38334         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38336 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38338         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38339         TRUE case.
38341         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38342         (norm): Likewise.
38343         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38344         variables with preprocessor constants.
38345         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38346         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38347         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38349 2012-12-27  Bruno Haible  <bruno@clisp.org>
38351         [BZ #14317]
38352         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38353         only if needed.
38355 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38358         and use variable directly.
38359         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38361         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38362         MPONE.
38363         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38365         variable MPONE.
38366         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38368         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38369         include directive.  Remove local variable MPONE.
38370         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38371         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38372         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38374 2012-12-25  David S. Miller  <davem@davemloft.net>
38376         * version.h (RELEASE): Set to "development".
38377         (VERSION): Set to "2.17.90".
38378         * NEWS: Add 2.18 section.
38380 2012-12-21  David S. Miller  <davem@davemloft.net>
38382         * po/hr.po: Update from translation team.
38384 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38386         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38388 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38390         * NEWS:  Mention new memcpy for MIPS.
38392 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38394         * manual/contrib.texi (Contributors): Spelling correction.
38396 2012-12-15  David S. Miller  <davem@davemloft.net>
38398         * po/ru.po: Update from translation team.
38400 2012-12-13  David S. Miller  <davem@davemloft.net>
38402         * NEWS: Mention IFUNC testsuite enhancements.
38404         * po/pl.po: Update from translation team.
38405         * po/bg.po: Likewise.
38407         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38408         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38410 2012-12-11  David S. Miller  <davem@davemloft.net>
38412         * po/sv.po: Update from translation team.
38414         * po/vi.po: Update from translation team.
38416         * po/cs.po: Update from translation team.
38418         * po/de.po: Update from translation team.
38419         * po/eo.po: Likewise.
38420         * po/nl.po: Likewise.
38422 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38424         [BZ #14246]
38425         * manual/argp.texi (Argp Helper Functions): Move node to follow
38426         Argp Parsing State.
38428         [BZ #14872]
38429         * manual/conf.texi (Limits on File System Capacity): Mention if
38430         terminating null is included in the max size.
38432 2012-12-10  Andreas Jaeger  <aj@suse.de>
38434         * po/cs.po: Update from translation team.
38436 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38438         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38439         void pointer and cast to uintptr_t.
38440         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38441         path.
38442         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38443         * sysdeps/s390/s390-64/memset.S: Likewise.
38445 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38447         [BZ #14833]
38448         * menual/message.texi (Message Translation): Fix typos.
38449         (Helper programs for gettext): Likewise.
38451 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38453         [BZ #14898]
38454         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38455         Change to -1.
38457 2012-12-07  David S. Miller  <davem@davemloft.net>
38459         * po/libc.pot: Update.
38461 2012-12-07  Richard Henderson  <rth@redhat.com>
38463         [BZ #10114]
38464         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38465         normal/normal case to before the switch.
38466         (_FP_DIV): Likewise.
38468 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38469             Mike Frysinger  <vapier@gentoo.org>
38471         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38472         check for __NR_fadvise64_64.
38474 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38476         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38477         0, not just to plain "0" as a statement.
38478         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38479         with cw.
38481 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38483         * NEWS: Use sourceware.org in Bugzilla URL.
38485 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38488         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38490         * stdio-common/tst-put-error.c (do_test): Add newline to the
38491         padded test to ensure flush.
38493 2012-12-05  Jeff Law  <law@redhat.com>
38495         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38497 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38499         * README: Don't refer to ports add-on as distributed separately.
38500         Mention AArch64 in list of systems supported in the ports add-on.
38502         * LICENSES: Add more non-FSF copyright and license notices.
38504         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38505         ((unused)).
38507         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38509         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38510         10000 as width of padded output.
38512 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38514         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38516         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38517         variable LX with __attribute__ ((unused)).
38518         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38519         Likewise.
38520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38523         with __attribute__ ((unused)).
38525 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38527         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38529 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38531         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38532         (CFLAGS-nldbl-acos.c): New variable.
38533         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38534         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38535         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38536         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38537         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38538         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38539         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38540         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38541         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38542         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38543         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38544         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38545         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38546         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38547         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38548         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38549         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38550         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38551         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38552         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38553         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38554         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38555         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38556         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38557         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38558         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38559         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38560         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38561         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38562         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38563         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38564         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38565         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38566         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38567         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38568         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38569         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38570         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38571         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38572         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38573         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38574         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38575         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38576         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38577         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38578         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38579         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38580         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38581         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38582         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38583         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38584         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38585         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38586         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38587         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38588         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38589         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38590         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38591         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38592         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38593         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38594         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38595         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38596         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38597         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38598         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38599         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38600         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38601         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38602         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38603         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38604         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38605         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38606         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38607         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38608         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38609         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38610         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38611         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38612         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38613         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38614         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38615         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38616         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38617         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38618         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38619         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38620         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38621         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38622         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38623         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38624         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38625         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38626         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38627         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38628         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38629         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38632         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38634         [BZ #14914]
38635         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38636         whole low double instead of just low 47 bits when splitting values
38637         into two parts.
38639 2012-12-03  Allan McRae  <allan@archlinux.org>
38641         * manual/stdio.texi (Predefined Printf Handlers): Remove
38642         @hsep and @vsep usage.
38644 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38646         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38647         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38649 2012-12-03  Jeff Law  <law@redhat.com>
38651         * time/sys/time.h (settimeofday): Do not mark TV argument
38652         as __nonnull.
38654 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38656         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38657         when currently writing and seek to current position when not.
38658         * libio/Makefile (tests): Remove bug-fclose1.
38659         * libio/bug-fclose1.c: Delete.
38661 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38663         * manual/arith.texi (feenableexcept): Fix typo.
38664         (fedisableexcept): Likewise.
38666 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38668         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38669         second, differently-typed declaration, rather than a cast.
38671 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38673         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38674         * include/rpc/svc.h: ... here.
38676 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38678         [BZ #13013]
38679         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38680         depending n and resplen2 to catch cases where answer
38681         equals answerp2.
38683 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38685         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38686         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38688 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38690         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38692 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38694         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38696 2012-11-28  Jeff Law  <law@redhat.com>
38698         [BZ #13761]
38699         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38700         dataset_temporary.  Track alloca usage into alloca_used.
38701         If dataset is large allocate and release it via malloc/free.
38703 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38705         [BZ #14197]
38706         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38708 2012-11-28  David S. Miller  <davem@davemloft.net>
38710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38712 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38714         [BZ #14803]
38715         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38716         of pi/2 rounded to nearest to 64 bits.
38717         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38718         nearest to 64 bits.
38719         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38720         bits.
38722 2012-11-28  Jeff Law <law@redhat.com>
38723             Martin Osvald <mosvald@redhat.com>
38725         [BZ #14889]
38726         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38727         * sunrpc/svc.c: Include time.h.
38728         (__svc_accept_failed): New function.
38729         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38730         any reason other than EINTR, call __svc_accept_failed.
38731         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38732         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38734 2012-11-28  Andreas Schwab  <schwab@suse.de>
38736         * scripts/abilist.awk: Also handle indirect functions in .opd
38737         section.
38739 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38741         [BZ #13881]
38742         * sysdeps/x86/fpu/powl_helper.c: New file.
38743         * sysdeps/x86/fpu/Makefile: Likewise.
38744         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38745         (p3): New object.
38746         (__ieee754_powl): Use __powl_helper for finite arguments except
38747         integer exponents below 8.
38748         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38749         (p3): New object.
38750         (__ieee754_powl): Use __powl_helper for finite arguments except
38751         integer exponents below 8.
38752         * math/libm-test.inc (pow_test): Add more tests and enable some
38753         previously disabled tests.
38754         * sysdeps/i386/fpu/libm-test-ulps: Update.
38755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38757 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38758             Carlos O'Donell  <carlos_odonell@mentor.com>
38760         * nss/makedb.c (is_prime): Assert that input is odd and greater
38761         than 4.  Note that fact in a comment too.
38762         (next_prime): Add 4 to input.
38764 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38766         [BZ #11741]
38767         * libio/Makefile (tests): Add test case tst-fwrite-error.
38768         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38769         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38770         * libio/tst-fwrite-error.c: New test case.
38772 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38774         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38775         before casting to void *.
38776         * include/libc-internal.h (__pointer_type): New macro.
38777         (__integer_if_pointer_type_sub): Likewise.
38778         (__integer_if_pointer_type): Likewise.
38779         (cast_to_integer): Likewise.
38780         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38781         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38782         before casting to atomic64_t.
38783         (atomic_exchange_acq): Likewise.
38784         (__arch_exchange_and_add_body): Likewise.
38785         (__arch_add_body): Likewise.
38786         (atomic_add_negative): Likewise.
38787         (atomic_add_zero): Likewise.
38789 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38791         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38792         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38793         (add_fdes): Likewise.
38794         (linear_search_fdes): Likewise.
38795         (binary_search_unencoded_fdes): Likewise.
38797 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38799         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38801 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38803         * configure.in: Autodetect C++ header directories.
38804         * configure: Regenerated.
38806 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38808         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38810 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38814 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38816         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38817         LDBL_MANT_DIG == 106]: Disable some tests.
38818         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38819         Likewise.
38820         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38821         Likewise.
38823         [BZ #14871]
38824         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38825         input for small inputs.  Return +/- pi/2 for large inputs.
38826         * math/libm-test.inc (atan_test): Add more tests.
38828         * sysdeps/generic/unwind-dw2-fde-glibc.c
38829         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38830         __attribute__ ((unused)).
38832         [BZ #14645]
38833         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38834         x * y if x and y are nonzero and z is zero.
38836         [BZ #14811]
38837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38838         nonzero exponents with absolute value below 0x1p-117 to +/-
38839         0x1p-117.
38841         [BZ #14869]
38842         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38843         up arguments below 2**-450, not just those below 2**-500.
38844         * math/libm-test.inc (hypot_test): Add another test.
38846         [BZ #14868]
38847         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38848         Return a+b for ratio over 2**120, not 2**60.
38849         * math/libm-test.inc (hypot_test): Add another test.
38851         * math/libm-test.inc (clog_test): Use
38852         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38853         (clog10_test): Likewise.
38855         [BZ #6778]
38856         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38858 2012-11-22  Andreas Schwab  <schwab@suse.de>
38860         * sysdeps/i386/fpu/libm-test-ulps: Update.
38862 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38864         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38865         printf output with newline.
38867 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38869         [BZ #14865]
38870         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38871         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38872         -z nodlopen, -z initfirst and -z execstack support.
38873         * configure: Regenerated.
38875         * elf/elf.h (DF_1_NODIRECT): New macro.
38876         (DF_1_IGNMULDEF): Likewise.
38877         (DF_1_NOKSYMS): Likewise.
38878         (DF_1_NOHDR): Likewise.
38879         (DF_1_EDITED): Likewise.
38880         (DF_1_NORELOC): Likewise.
38881         (DF_1_SYMINTPOSE): Likewise.
38882         (DF_1_GLOBAUDIT): Likewise.
38883         (DF_1_SINGLETON): Likewise.
38884         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38885         DT_1_SUPPORTED_MASK bits.
38886         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38888 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38890         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38892 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38894         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38895         macro.
38897         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38898         (sendmmsg): Move declarations...
38899         * socket/sys/socket.h: ... here.
38900         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38901         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38902         include it from...
38903         * socket/recvmmsg.c: ... this new file.
38904         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38905         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38906         definition of __sendmmsg hidden.
38907         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38908         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38909         Move ENOSYS stub into and include it from...
38910         * socket/sendmmsg.c: ... this new file.
38911         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38912         (sysdep_routines): Move recvmmsg and sendmmsg...
38913         * socket/Makefile (routines): ... here.
38914         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38915         (GLIBC_PRIVATE): Add __sendmmsg.
38916         * include/sys/socket.h (__sendmmsg): Add declarations.
38917         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38918         sendmmsg.
38920 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38923         variable I1 with __attribute__ ((unused)).
38924         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38926 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38928         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38929         DUMMY variables with __attribute__ ((unused)).
38931         * bits/byteswap.h: Include <bits/types.h>.
38932         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38934 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38936         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38937         string_t.  Do not manually set errno.
38938         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38939         length with __strnlen.  Make sure to both set errno and return it on
38940         failure.
38942 2012-11-19  David S. Miller  <davem@davemloft.net>
38944         With help from Joseph Myers.
38945         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38946         very large arguments properly.
38947         * math/libm-test.inc (atan_test): New tests.
38948         (atan2_test): New tests.
38949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38952 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38954         [BZ #14856]
38955         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38956         Define to 3.
38958         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38959         [POSIX] (EADDRNOTAVAIL): Likewise.
38960         [POSIX] (EAFNOSUPPORT): Likewise.
38961         [POSIX] (EALREADY): Likewise.
38962         [POSIX] (ECONNABORTED): Likewise.
38963         [POSIX] (ECONNREFUSED): Likewise.
38964         [POSIX] (ECONNRESET): Likewise.
38965         [POSIX] (EDESTADDRREQ): Likewise.
38966         [POSIX] (EDQUOT): Likewise.
38967         [POSIX] (EHOSTUNREACH): Likewise.
38968         [POSIX] (EIDRM): Likewise.
38969         [POSIX] (EISCONN): Likewise.
38970         [POSIX] (ELOOP): Likewise.
38971         [POSIX] (EMULTIHOP): Likewise.
38972         [POSIX] (ENETDOWN): Likewise.
38973         [POSIX] (ENETUNREACH): Likewise.
38974         [POSIX] (ENOBUFS): Likewise.
38975         [POSIX] (ENODATA): Likewise.
38976         [POSIX] (ENOLINK): Likewise.
38977         [POSIX] (ENOMSG): Likewise.
38978         [POSIX] (ENOPROTOOPT): Likewise.
38979         [POSIX] (ENOSR): Likewise.
38980         [POSIX] (ENOSTR): Likewise.
38981         [POSIX] (ENOTCONN): Likewise.
38982         [POSIX] (ENOTSOCK): Likewise.
38983         [POSIX] (EOPNOTSUPP): Likewise.
38984         [POSIX] (EOVERFLOW): Likewise.
38985         [POSIX] (EPROTO): Likewise.
38986         [POSIX] (EPROTONOSUPPORT): Likewise.
38987         [POSIX] (EPROTOTYPE): Likewise.
38988         [POSIX] (ESTALE): Likewise.
38989         [POSIX] (ETIME): Likewise.
38990         [POSIX] (ETXTBSY): Likewise.
38991         [POSIX] (EWOULDBLOCK): Likewise.
38992         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38993         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38994         [POSIX] (SEEK_CUR): Likewise.
38995         [POSIX] (SEEK_END): Likewise.
38996         [POSIX || UNIX98] (mode_t): Do not require.
38997         [POSIX] (off_t): Likewise.
38998         [POSIX] (pid_t): Likewise.
38999         [POSIX] (sys/stat.h): Do not allow header.
39000         [POSIX] (unistd.h): Likewise.
39001         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39002         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39003         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39004         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39005         require.
39006         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39007         sigevent): Specify elements.
39008         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39009         entry.
39010         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39011         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39013         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39014         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39015         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39016         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39017         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39018         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39019         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39020         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39021         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39022         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39023         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39024         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39025         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39026         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39027         Likewise.
39028         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39029         Likewise.
39030         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39031         Likewise.
39032         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39033         Likewise.
39034         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39035         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39038         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39039         Specify lower bound on value.
39040         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39041         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39042         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39043         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39044         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39045         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39046         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39047         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39048         value.
39049         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39050         as optional.
39051         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39052         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39053         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39054         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39055         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39056         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39057         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39058         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39059         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39060         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39061         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39062         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39063         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39064         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39065         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39066         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39067         entry.
39068         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39069         optional.
39070         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39071         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39072         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39073         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39074         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39075         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39076         Likewise.
39077         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39078         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39079         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39080         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39081         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39082         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39083         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39084         as optional.
39085         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39088         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39089         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39090         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39091         specify as optional.
39092         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39093         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39094         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39095         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39096         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39097         [XPG3] (NL_LANGMAX): Likewise.
39098         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39099         [POSIX || XPG3] (NL_NMAX): Likewise.
39100         [POSIX || XPG3] (NL_SETMAX): Likewise.
39101         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39102         [XPG3] (NZERO): Likewise.
39103         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39104         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39105         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39106         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39107         (REG_ERANGE): Expect.
39108         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39109         optional-constant.
39110         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39111         Use (void) in prototype.
39112         [POSIX] (*_t): Allow.
39113         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39114         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39115         (WRDE_BADVAL): Expect.
39117         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39118         expect.
39119         [XPG3 || XPG4] (O_RSYNC): Likewise.
39120         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39121         Likewise.
39122         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39123         [XPG3 || XPG4] (sigqueue): Likewise.
39124         [XPG3 || XPG4] (sigtimedwait): Likewise.
39125         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39126         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39127         [XPG3 || XPG4] (vsnprintf): Likewise.
39128         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39129         Likewise.
39130         [XPG3 || XPG4] (blksize_t): Likewise.
39131         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39132         Likewise.
39133         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39134         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39135         [XPG3 || XPG4] (struct itimerspec): Likewise.
39136         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39137         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39138         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39139         [XPG3 || XPG4] (clockid_t): Likewise.
39140         [XPG3 || XPG4] (timer_t): Likewise.
39141         [XPG3 || XPG4] (clock_getres): Likewise.
39142         [XPG3 || XPG4] (clock_gettime): Likewise.
39143         [XPG3 || XPG4] (clock_settime): Likewise.
39144         [XPG3 || XPG4] (nanosleep): Likewise.
39145         [XPG3 || XPG4] (timer_create): Likewise.
39146         [XPG3 || XPG4] (timer_delete): Likewise.
39147         [XPG3 || XPG4] (timer_gettime): Likewise.
39148         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39149         [XPG3 || XPG4] (timer_settime): Likewise.
39150         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39151         [XPG3 || XPG4] (getlogin_r): Likewise.
39152         [XPG3 || XPG4] (pread): Likewise.
39153         [XPG3 || XPG4] (pthread_atfork): Likewise.
39154         [XPG3 || XPG4] (pwrite): Likewise.
39156         [BZ #14835]
39157         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39158         <bits/siginfo.h>.
39160 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39162         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39163         finalizing MALLSTREAM.
39165         * sysdeps/mach/hurd/syncfs.c: New file.
39167 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39169         [BZ #14719]
39170         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39171         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39172         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39173         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39174         (_nss_dns_gethostbyname4_r): Likewise.
39175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39176         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39178 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39180         [BZ #13763]
39181         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39183 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39185         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39186         * elf/cache.c (print_entry): Print ",AArch64" for
39187         FLAG_AARCH64_LIB64
39189         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39190         * elf/cache.c (print_entry): Print ",hard-float" for
39191         FLAG_ARM_LIBHF.
39193 2012-11-18  David S. Miller  <davem@davemloft.net>
39195         With help from Joseph Myers.
39196         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39197         cutoff to 2**-13.
39198         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39199         cutoff to 2**-25.
39200         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39201         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39202         small.
39203         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39204         * math/libm-test.inc (y0_test): New tests.
39205         (y1_test): New tests.
39206         * sysdeps/i386/fpu/libm-test-ulps: Update.
39207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39210 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39212         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39213         64-bit targets.
39214         * configure: Regenerated.
39216 2012-11-17  David S. Miller  <davem@davemloft.net>
39218         [BZ #14811]
39219         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39220         nonzero exponents with absolute value below 0x1p-128 to +/-
39221         0x1p-128.
39223 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39225         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39227         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39229         * posix/getconf-speclist.c: New file.
39230         * posix/posix-envs.def: Likewise.
39231         * posix/confstr.c (START_ENV_GROUP): New macro.
39232         (END_ENV_GROUP): Likewise.
39233         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39234         (KNOWN_PRESENT_ENV_STRING): Likewise.
39235         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39236         (UNKNOWN_ENVIRONMENT): Likewise.
39237         (confstr): Include posix-envs.def instead of handling
39238         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39239         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39240         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39241         (END_ENV_GROUP): Likewise.
39242         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39243         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39244         (UNKNOWN_ENVIRONMENT): Likewise.
39245         (__sysconf): Include posix-envs.def instead of handling associated
39246         cases directly here.
39247         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39248         preprocessing getconf-speclist.c rather than running getconf or
39249         generating empty file.
39251 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39253         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39255 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39257         [BZ #14672]
39258         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39260 2012-11-16  David S. Miller  <davem@davemloft.net>
39262         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39263         smaller than LDBL_EPSILON/2.0L, just return xm1.
39265 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39267         * elf/tst-array1.c (init): Set constructor priority to 1000.
39268         (fini): Set destructor priority to 1000.
39269         * elf/tst-array2dep.c: Likewise.
39271 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39273         [BZ #11741]
39274         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39275         (_IO_new_file_xsputn): Also return EOF if none of the input
39276         data was written when overflow failed.
39277         * libio/iopadn.c (_IO_padn): Likewise.
39278         * libio/iowpadn.c (_IO_wpadn): Likewise.
39279         * stdio-common/tst-put-error.c: Add copyright notice.
39280         (do_test): Add case for printing padded string.
39281         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39282         _IO_padn returned error.
39283         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39284         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39285         return EOF.
39287 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39289         * libio/libioP.h: Add comment note that the references to C++
39290         bits are now obsolete.
39292 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39294         * math/libm-test.inc (check_complex): Use asprintf.
39296 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39298         * debug/pcprofiledump.c (print_version): Update copyright year.
39299         * malloc/memusagestat.c (print_version): Likewise.
39301 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39303         [BZ #14831]
39304         * elf/Makefile (tests): Add tst-audit8.
39305         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39306         ($(objpfx)tst-audit8.out): New target.
39307         (tst-audit8-ENV): New variable.
39308         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39309         audit if l_reloc_result is NULL.
39310         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39311         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39312         * elf/tst-audit8.c: New file.
39314 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39316         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39317         * misc/Makefile (CFLAGS-select.c): Define.
39318         * posix/Makefile (CFLAGS-pause.c): Define.
39320 2012-11-13  David S. Miller  <davem@davemloft.net>
39322         * crypt/Makefile: Move test targets after toplevel Rules
39323         inclusion.  Grab any necessary sysdep routines when linking.
39324         * crypt/md5.c (md5_process_block): Remove define, we will always
39325         name it __md5_process_block.
39326         (md5_finish_ctx): Update md5_process_block call.
39327         (md5_stream): Likewise.
39328         (md5_process_bytes): Likewise.
39329         (md5_process_block): Rename to __md5_process_block and move to ...
39330         * crypt/md5-block.c: ... here.
39331         * crypt/sha256.c (sha256_process_block): Move to ...
39332         * crypt/sha256-block.c: ... here.
39333         * crypt/sha512.c (sha512_process_block): Move to ...
39334         * crypt/sha512-block.c: ... here.
39335         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39336         path.
39337         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39338         * sysdeps/sparc/sparc64/multiarch/Makefile
39339         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39340         crypt subdir.
39341         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39342         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39343         multiarch changes.
39344         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39345         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39346         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39347         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39348         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39349         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39350         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39351         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39352         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39353         file.
39354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39355         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39356         file.
39357         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39359 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39361         * timezone/tzselect.ksh: Update from tzcode git revision
39362         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39363         * timezone/zdump.c: Likewise.
39364         * timezone/zic.c: Likewise.
39365         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39366         in TZVERSION setting, not $(PKGVERSION).
39367         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39368         REPORT_BUGS_TO settings.
39370         [BZ #14838]
39371         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39372         macro.
39374 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39376         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39377         detection to immediately after _FP_ROUND().
39378         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39379         bits are 0.
39381 2012-11-11  David S. Miller  <davem@davemloft.net>
39383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39384         inttypes.h
39385         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39386         __close rather than their public counterparts.
39388 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39390         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39391         file.
39392         [UNIX98] (sem_timedwait): Do not expect.
39393         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39394         [XPG4 || UNIX98] (sockatmark): Do not expect.
39395         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39396         (clock_getcpuclockid): Do not expect.
39397         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39398         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39399         Do not expect.
39400         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39401         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39402         [UNIX98] (vwscanf): Likewise.
39403         [UNIX98] (vswscanf): Likewise.
39405 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39407         * timezone/version.h: Remove file.
39408         * timezone/README: Do not refer to version.h.
39409         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39410         $(objpfx)version.h.
39411         ($(objpfx)zdump.o): Likewise.
39412         ($(objpfx)version.h): New target.
39414         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39415         2012i.
39416         * timezone/README: Don't mention modification to tzselect.ksh.
39417         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39418         work on unmodified tzselect.ksh.  Substitute version numbers in
39419         tzselect.ksh.
39421         * Makefile (format-me): Remove.
39422         (INSTALL): Adjust indentation.  Use commands directly instead of
39423         using $(format-me).
39425         * aclocal.m4 (ACX_PKGVERSION): New macro.
39426         (ACX_BUGURL): Likewise.
39427         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39428         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39429         (REPORT_BUGS_TO): Likewise.
39430         * configure: Regenerated.
39431         * config.h.in (PKGVERSION): New macro.
39432         (REPORT_BUGS_TO): Likewise.
39433         * config.make.in (PKGVERSION): New variable.
39434         (PKGVERSION_TEXI): Likewise.
39435         (REPORT_BUGS_TO): Likewise.
39436         (REPORT_BUGS_TEXI): Likewise.
39437         * Makefile (format-me): Use -I$(common-objpfx)manual.
39438         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39439         ($(common-objpfx)manual/%): New target.
39440         (manual/%): Remove target.
39441         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39442         (print_version): Use PKGVERSION.
39443         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39444         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39445         and REPORT_BUGS_TO.
39446         ($(objpfx)xtrace): Likewise.
39447         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39448         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39449         (print_version): Use PKGVERSION.
39450         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39451         (do_version): Use PKGVERSION.
39452         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39453         REPORT_BUGS_TO.
39454         (common-ldd-rewrite): Likewise.
39455         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39456         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39457         (print_version): Use PKGVERSION.
39458         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39459         * elf/pldd.c (argp_program_bug_address): Remove variable.
39460         (more_help): New function.
39461         (argp): Use more_help.
39462         (print_version): Use PKGVERSION.
39463         * elf/sln.c (main): Use PKGVERSION.
39464         (usage): Use REPORT_BUGS_TO.
39465         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39466         (top level): Use PKGVERSION.
39467         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39468         (print_version): Use PKGVERSION.
39469         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39470         (print_version): Use PKGVERSION.
39471         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39472         (print_version): Use PKGVERSION.
39473         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39474         (print_version): Use PKGVERSION.
39475         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39476         (print_version): Use PKGVERSION.
39477         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39478         (print_version): Use PKGVERSION.
39479         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39480         and BUGURL.
39481         ($(objpfx)memusage): Likewise.
39482         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39483         (do_version): Use PKGVERSION.
39484         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39485         (print_version): Use PKGVERSION.
39486         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39487         ($PKGVERSION): New variable.
39488         ($REPORT_BUGS_TO): Likewise.
39489         (usage): Use $REPORT_BUGS_TO.
39490         (top level): Use $PKGVERSION.
39491         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39492         ($(objpfx)pkgvers.texi): New rule.
39493         ($(objpfx)stamp-pkgvers): Likewise.
39494         * manual/install.texi: Include pkgvers.texi.
39495         (--with-pkgversion): Document new configure option.
39496         (--with-bugurl): Likewise.
39497         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39498         than necessarily for this particular distribution.  Use
39499         REPORT_BUGS_TO for where to report bugs.
39500         * INSTALL: Regenerated.
39501         * manual/libc.texinfo: Include pkgvers.texi.
39502         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39503         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39504         (print_version): Use PKGVERSION.
39505         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39506         (print_version): Use PKGVERSION.
39507         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39508         (print_version): Use PKGVERSION.
39509         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39510         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39511         macro.
39512         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39513         (print_version): Use PKGVERSION.
39514         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39515         (print_version): Use PKGVERSION.
39516         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39517         and PKGVERSION.
39519         * timezone/checktab.awk: Update from tzcode 2012i.
39520         * timezone/ialloc.c: Likewise.
39521         * timezone/private.h: Likewise.
39522         * timezone/scheck.c: Likewise.
39523         * timezone/tzfile.h: Likewise.
39524         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39525         (TZVERSION): Hardcode tzcode version number.
39526         * timezone/zdump.c: Update from tzcode 2012i.
39527         * timezone/zic.c: Likewise.
39528         * timezone/version.h: New file.
39529         * timezone/README: Describe version.h.  Update upstream location.
39531         [BZ #14824]
39532         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39533         (mktemp): Enable declaration.
39534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39538         Likewise.
39539         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39540         Likewise.
39541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39542         Likewise.
39543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39544         Likewise.
39545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39546         Likewise.
39547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39548         Likewise.
39550         [BZ #14821]
39551         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39552         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39553         for copies of such integer values.
39554         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39555         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39557 2012-11-09  Andreas Jaeger  <aj@suse.de>
39559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39560         definitions and declarations that are provided by
39561         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39563 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39565         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39566         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39567         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39568         definition.
39570 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39572         * elf/elf.h: Update comment before AArch64 relocations.
39574 2012-11-07  David S. Miller  <davem@davemloft.net>
39576         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39577         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39578         (__start_context): Declare.
39579         (__makecontext_ret): Delete.
39580         (__makecontext): Hook up __start_context instead of
39581         __makecontext_ret.
39582         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39583         (sysdep_routines): Add __start_context when in stdlib.
39585 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39587         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39588         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39589         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39590         hardcoded "nm".
39591         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39592         (READELF): New variable.  Use it instead of hardcoded "readelf".
39594 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39596         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39597         * sysdeps/x86/Makefile: Here.
39598         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39599         * sysdeps/x86/tst-xmmymm.sh: This.
39601 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39603         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39604         expectations.
39605         [UNIX98] (pthread_barrier_t): Do not expect.
39606         [UNIX98] (pthread_barrierattr_t): Likewise.
39607         [UNIX98] (pthread_spinlock_t): Likewise.
39608         [UNIX98] (pthread_barrier_destroy): Likewise.
39609         [UNIX98] (pthread_barrier_init): Likewise.
39610         [UNIX98] (pthread_barrier_wait): Likewise.
39611         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39612         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39613         [UNIX98] (pthread_barrierattr_init): Likewise.
39614         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39615         [UNIX98] (pthread_getcpuclockid): Likewise.
39616         [UNIX98] (pthread_mutex_timedlock): Likewise.
39617         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39618         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39619         [UNIX98] (pthread_sigmask): Likewise.
39620         [UNIX98] (pthread_spin_destroy): Likewise.
39621         [UNIX98] (pthread_spin_init): Likewise.
39622         [UNIX98] (pthread_spin_lock): Likewise.
39623         [UNIX98] (pthread_spin_trylock): Likewise.
39624         [UNIX98] (pthread_spin_unlock): Likewise.
39625         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39626         Do not expect.
39627         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39628         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39629         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39630         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39631         [XPG3 || XPG4] (pthread_key_t): Likewise.
39632         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39633         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39634         [XPG3 || XPG4] (pthread_once_t): Likewise.
39635         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39636         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39637         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39638         [XPG3 || XPG4] (pthread_t): Likewise.
39640         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39641         not expect.
39642         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39644         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39645         Change function return type to int.
39647         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39648         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39649         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39650         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39651         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39652         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39653         [!POSIX] (posix_madvise): Likewise.
39654         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39655         && !UNIX98].
39656         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39657         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39658         (mode_t): Likewise.
39659         (posix_mem_offset): Likewise.
39660         (posix_typed_mem_get_info): Likewise.
39661         (posix_typed_mem_open): Likewise.
39663         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39664         Change condition to [XOPEN2K8].
39666         * conform/conformtest.pl: Preprocess allow-header data with -x c
39667         instead of from stdin.
39668         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39669         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39670         [C99-based standards] (cerfc): Likewise.
39671         [C99-based standards] (cexp2): Likewise.
39672         [C99-based standards] (cexpm1): Likewise.
39673         [C99-based standards] (clog10): Likewise.
39674         [C99-based standards] (clog1p): Likewise.
39675         [C99-based standards] (clog2): Likewise.
39676         [C99-based standards] (clgamma): Likewise.
39677         [C99-based standards] (ctgamma): Likewise.
39678         [C99-based standards] (cerff): Likewise.
39679         [C99-based standards] (cerfcf): Likewise.
39680         [C99-based standards] (cexp2f): Likewise.
39681         [C99-based standards] (cexpm1f): Likewise.
39682         [C99-based standards] (clog10f): Likewise.
39683         [C99-based standards] (clog1pf): Likewise.
39684         [C99-based standards] (clog2f): Likewise.
39685         [C99-based standards] (clgammaf): Likewise.
39686         [C99-based standards] (ctgammaf): Likewise.
39687         [C99-based standards] (cerfl): Likewise.
39688         [C99-based standards] (cerfcl): Likewise.
39689         [C99-based standards] (cexp2l): Likewise.
39690         [C99-based standards] (cexpm1l): Likewise.
39691         [C99-based standards] (clog10l): Likewise.
39692         [C99-based standards] (clog1pl): Likewise.
39693         [C99-based standards] (clog2l): Likewise.
39694         [C99-based standards] (clgammal): Likewise.
39695         [C99-based standards] (ctgammal): Likewise.
39696         * conform/data/inttypes.h-data [C99-based standards]: Include
39697         stdint.h-data.  Remove all expectations for stdint.h contents.
39698         [C99-based standards] (PRI*): Do not allow.
39699         [C99-based standards] (SCN*): Likewise.
39700         [C99-based standards] (*_t): Likewise.
39701         [C99-based-standards] (PRId8): Expect macro.
39702         [C99-based-standards] (PRIi8): Likewise.
39703         [C99-based-standards] (PRIo8): Likewise.
39704         [C99-based-standards] (PRIu8): Likewise.
39705         [C99-based-standards] (PRIx8): Likewise.
39706         [C99-based-standards] (PRIX8): Likewise.
39707         [C99-based-standards] (SCNd8): Likewise.
39708         [C99-based-standards] (SCNi8): Likewise.
39709         [C99-based-standards] (SCNo8): Likewise.
39710         [C99-based-standards] (SCNu8): Likewise.
39711         [C99-based-standards] (SCNx8): Likewise.
39712         [C99-based-standards] (PRIdLEAST8): Likewise.
39713         [C99-based-standards] (PRIiLEAST8): Likewise.
39714         [C99-based-standards] (PRIoLEAST8): Likewise.
39715         [C99-based-standards] (PRIuLEAST8): Likewise.
39716         [C99-based-standards] (PRIxLEAST8): Likewise.
39717         [C99-based-standards] (PRIXLEAST8): Likewise.
39718         [C99-based-standards] (SCNdLEAST8): Likewise.
39719         [C99-based-standards] (SCNiLEAST8): Likewise.
39720         [C99-based-standards] (SCNoLEAST8): Likewise.
39721         [C99-based-standards] (SCNuLEAST8): Likewise.
39722         [C99-based-standards] (SCNxLEAST8): Likewise.
39723         [C99-based-standards] (PRIdFAST8): Likewise.
39724         [C99-based-standards] (PRIiFAST8): Likewise.
39725         [C99-based-standards] (PRIoFAST8): Likewise.
39726         [C99-based-standards] (PRIuFAST8): Likewise.
39727         [C99-based-standards] (PRIxFAST8): Likewise.
39728         [C99-based-standards] (PRIXFAST8): Likewise.
39729         [C99-based-standards] (SCNdFAST8): Likewise.
39730         [C99-based-standards] (SCNiFAST8): Likewise.
39731         [C99-based-standards] (SCNoFAST8): Likewise.
39732         [C99-based-standards] (SCNuFAST8): Likewise.
39733         [C99-based-standards] (SCNxFAST8): Likewise.
39734         [C99-based-standards] (PRId16): Likewise.
39735         [C99-based-standards] (PRIi16): Likewise.
39736         [C99-based-standards] (PRIo16): Likewise.
39737         [C99-based-standards] (PRIu16): Likewise.
39738         [C99-based-standards] (PRIx16): Likewise.
39739         [C99-based-standards] (PRIX16): Likewise.
39740         [C99-based-standards] (SCNd16): Likewise.
39741         [C99-based-standards] (SCNi16): Likewise.
39742         [C99-based-standards] (SCNo16): Likewise.
39743         [C99-based-standards] (SCNu16): Likewise.
39744         [C99-based-standards] (SCNx16): Likewise.
39745         [C99-based-standards] (PRIdLEAST16): Likewise.
39746         [C99-based-standards] (PRIiLEAST16): Likewise.
39747         [C99-based-standards] (PRIoLEAST16): Likewise.
39748         [C99-based-standards] (PRIuLEAST16): Likewise.
39749         [C99-based-standards] (PRIxLEAST16): Likewise.
39750         [C99-based-standards] (PRIXLEAST16): Likewise.
39751         [C99-based-standards] (SCNdLEAST16): Likewise.
39752         [C99-based-standards] (SCNiLEAST16): Likewise.
39753         [C99-based-standards] (SCNoLEAST16): Likewise.
39754         [C99-based-standards] (SCNuLEAST16): Likewise.
39755         [C99-based-standards] (SCNxLEAST16): Likewise.
39756         [C99-based-standards] (PRIdFAST16): Likewise.
39757         [C99-based-standards] (PRIiFAST16): Likewise.
39758         [C99-based-standards] (PRIoFAST16): Likewise.
39759         [C99-based-standards] (PRIuFAST16): Likewise.
39760         [C99-based-standards] (PRIxFAST16): Likewise.
39761         [C99-based-standards] (PRIXFAST16): Likewise.
39762         [C99-based-standards] (SCNdFAST16): Likewise.
39763         [C99-based-standards] (SCNiFAST16): Likewise.
39764         [C99-based-standards] (SCNoFAST16): Likewise.
39765         [C99-based-standards] (SCNuFAST16): Likewise.
39766         [C99-based-standards] (SCNxFAST16): Likewise.
39767         [C99-based-standards] (PRId32): Likewise.
39768         [C99-based-standards] (PRIi32): Likewise.
39769         [C99-based-standards] (PRIo32): Likewise.
39770         [C99-based-standards] (PRIu32): Likewise.
39771         [C99-based-standards] (PRIx32): Likewise.
39772         [C99-based-standards] (PRIX32): Likewise.
39773         [C99-based-standards] (SCNd32): Likewise.
39774         [C99-based-standards] (SCNi32): Likewise.
39775         [C99-based-standards] (SCNo32): Likewise.
39776         [C99-based-standards] (SCNu32): Likewise.
39777         [C99-based-standards] (SCNx32): Likewise.
39778         [C99-based-standards] (PRIdLEAST32): Likewise.
39779         [C99-based-standards] (PRIiLEAST32): Likewise.
39780         [C99-based-standards] (PRIoLEAST32): Likewise.
39781         [C99-based-standards] (PRIuLEAST32): Likewise.
39782         [C99-based-standards] (PRIxLEAST32): Likewise.
39783         [C99-based-standards] (PRIXLEAST32): Likewise.
39784         [C99-based-standards] (SCNdLEAST32): Likewise.
39785         [C99-based-standards] (SCNiLEAST32): Likewise.
39786         [C99-based-standards] (SCNoLEAST32): Likewise.
39787         [C99-based-standards] (SCNuLEAST32): Likewise.
39788         [C99-based-standards] (SCNxLEAST32): Likewise.
39789         [C99-based-standards] (PRIdFAST32): Likewise.
39790         [C99-based-standards] (PRIiFAST32): Likewise.
39791         [C99-based-standards] (PRIoFAST32): Likewise.
39792         [C99-based-standards] (PRIuFAST32): Likewise.
39793         [C99-based-standards] (PRIxFAST32): Likewise.
39794         [C99-based-standards] (PRIXFAST32): Likewise.
39795         [C99-based-standards] (SCNdFAST32): Likewise.
39796         [C99-based-standards] (SCNiFAST32): Likewise.
39797         [C99-based-standards] (SCNoFAST32): Likewise.
39798         [C99-based-standards] (SCNuFAST32): Likewise.
39799         [C99-based-standards] (SCNxFAST32): Likewise.
39800         [C99-based-standards] (PRId64): Likewise.
39801         [C99-based-standards] (PRIi64): Likewise.
39802         [C99-based-standards] (PRIo64): Likewise.
39803         [C99-based-standards] (PRIu64): Likewise.
39804         [C99-based-standards] (PRIx64): Likewise.
39805         [C99-based-standards] (PRIX64): Likewise.
39806         [C99-based-standards] (SCNd64): Likewise.
39807         [C99-based-standards] (SCNi64): Likewise.
39808         [C99-based-standards] (SCNo64): Likewise.
39809         [C99-based-standards] (SCNu64): Likewise.
39810         [C99-based-standards] (SCNx64): Likewise.
39811         [C99-based-standards] (PRIdLEAST64): Likewise.
39812         [C99-based-standards] (PRIiLEAST64): Likewise.
39813         [C99-based-standards] (PRIoLEAST64): Likewise.
39814         [C99-based-standards] (PRIuLEAST64): Likewise.
39815         [C99-based-standards] (PRIxLEAST64): Likewise.
39816         [C99-based-standards] (PRIXLEAST64): Likewise.
39817         [C99-based-standards] (SCNdLEAST64): Likewise.
39818         [C99-based-standards] (SCNiLEAST64): Likewise.
39819         [C99-based-standards] (SCNoLEAST64): Likewise.
39820         [C99-based-standards] (SCNuLEAST64): Likewise.
39821         [C99-based-standards] (SCNxLEAST64): Likewise.
39822         [C99-based-standards] (PRIdFAST64): Likewise.
39823         [C99-based-standards] (PRIiFAST64): Likewise.
39824         [C99-based-standards] (PRIoFAST64): Likewise.
39825         [C99-based-standards] (PRIuFAST64): Likewise.
39826         [C99-based-standards] (PRIxFAST64): Likewise.
39827         [C99-based-standards] (PRIXFAST64): Likewise.
39828         [C99-based-standards] (SCNdFAST64): Likewise.
39829         [C99-based-standards] (SCNiFAST64): Likewise.
39830         [C99-based-standards] (SCNoFAST64): Likewise.
39831         [C99-based-standards] (SCNuFAST64): Likewise.
39832         [C99-based-standards] (SCNxFAST64): Likewise.
39833         [C99-based-standards] (PRIdMAX): Likewise.
39834         [C99-based-standards] (PRIiMAX): Likewise.
39835         [C99-based-standards] (PRIoMAX): Likewise.
39836         [C99-based-standards] (PRIuMAX): Likewise.
39837         [C99-based-standards] (PRIxMAX): Likewise.
39838         [C99-based-standards] (PRIXMAX): Likewise.
39839         [C99-based-standards] (SCNdMAX): Likewise.
39840         [C99-based-standards] (SCNiMAX): Likewise.
39841         [C99-based-standards] (SCNoMAX): Likewise.
39842         [C99-based-standards] (SCNuMAX): Likewise.
39843         [C99-based-standards] (SCNxMAX): Likewise.
39844         [C99-based-standards] (PRIdPTR): Likewise.
39845         [C99-based-standards] (PRIiPTR): Likewise.
39846         [C99-based-standards] (PRIoPTR): Likewise.
39847         [C99-based-standards] (PRIuPTR): Likewise.
39848         [C99-based-standards] (PRIxPTR): Likewise.
39849         [C99-based-standards] (PRIXPTR): Likewise.
39850         [C99-based-standards] (SCNdPTR): Likewise.
39851         [C99-based-standards] (SCNiPTR): Likewise.
39852         [C99-based-standards] (SCNoPTR): Likewise.
39853         [C99-based-standards] (SCNuPTR): Likewise.
39854         [C99-based-standards] (SCNxPTR): Likewise.
39855         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39856         allow.
39857         * conform/data/stdint.h-data: Update comments to clarify
39858         requirements.
39859         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39860         type.
39861         [C99-based standards] (INT8_MAX): Likewise.
39862         [C99-based standards] (INT16_MIN): Likewise.
39863         [C99-based standards] (INT16_MAX): Likewise.
39864         [C99-based standards] (INT32_MIN): Likewise.
39865         [C99-based standards] (INT32_MAX): Likewise.
39866         [C99-based standards] (INT64_MIN): Likewise.
39867         [C99-based standards] (INT64_MAX): Likewise.
39868         [C99-based standards] (UINT8_MAX): Likewise.
39869         [C99-based standards] (UINT16_MAX): Likewise.
39870         [C99-based standards] (UINT32_MAX): Likewise.
39871         [C99-based standards] (UINT64_MAX): Likewise.
39872         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39873         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39874         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39875         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39876         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39877         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39878         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39879         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39880         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39881         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39882         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39883         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39884         [C99-based standards] (INT_FAST8_MIN): Likewise.
39885         [C99-based standards] (INT_FAST8_MAX): Likewise.
39886         [C99-based standards] (INT_FAST16_MIN): Likewise.
39887         [C99-based standards] (INT_FAST16_MAX): Likewise.
39888         [C99-based standards] (INT_FAST32_MIN): Likewise.
39889         [C99-based standards] (INT_FAST32_MAX): Likewise.
39890         [C99-based standards] (INT_FAST64_MIN): Likewise.
39891         [C99-based standards] (INT_FAST64_MAX): Likewise.
39892         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39893         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39894         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39895         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39896         [C99-based standards] (INTPTR_MIN): Likewise.
39897         [C99-based standards] (INTPTR_MAX): Likewise.
39898         [C99-based standards] (UINTPTR_MAX): Likewise.
39899         [C99-based standards] (INTMAX_MIN): Likewise.
39900         [C99-based standards] (INTMAX_MAX): Likewise.
39901         [C99-based standards] (UINTMAX_MAX): Likewise.
39902         [C99-based standards] (PTRDIFF_MIN): Likewise.
39903         [C99-based standards] (PTRDIFF_MAX): Likewise.
39904         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39905         [C99-based standards] (SIZE_MAX): Likewise.
39906         [C99-based standards] (WCHAR_MAX): Likewise.
39907         [C99-based standards] (WINT_MAX): Likewise.
39908         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39909         constraint on value.
39910         [C99-based standards] (WCHAR_MIN): Likewise.
39911         [C99-based standards] (WINT_MIN): Likewise.
39912         [C99-based standards] (*_t): Allow.
39913         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39914         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39915         Include math.h-data and complex.h-data.  Remove all expectations
39916         of math.h and complex.h contents.
39917         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39918         at end of line.
39919         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39920         (struct tm): Expect tag.
39921         [C99-based-standards] (wcstof): Expect function.
39922         [C99-based-standards] (wcstold): Likewise.
39923         [C99-based-standards] (wcstoll): Likewise.
39924         [C99-based-standards] (wcstoull): Likewise.
39925         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39926         macro-int-constant.  Specify type.
39927         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39928         constraint on value.
39929         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39930         Specify type.
39931         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39932         Specify value.
39933         [ISO C standards]: Do not allow headers.
39934         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39935         wcs[abcdefghijklmnopqrstuvwxyz]*.
39936         [ISO C standards] (*_t): Do not allow.
39937         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39938         Expect function.
39939         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39940         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39941         Specify type.
39942         [ISO C standards]: Do not allow headers.
39943         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39944         is[abcdefghijklmnopqrstuvwxyz]*.
39945         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39946         to[abcdefghijklmnopqrstuvwxyz]*.
39947         [ISO C standards] (*_t): Do not allow.
39948         * conform/data/stdalign.h-data: New file.
39949         * conform/data/stdbool.h-data: Likewise.
39950         * conform/data/stdnoreturn.h-data: Likewise.
39952 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39954         [BZ #14815]
39955         * manual/filesys.texi (Directory Entries): Typo fix.
39956         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39958 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39960         * elf/elf.h (EM_AARCH64): New macro.
39961         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39962         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39963         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39964         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39965         (R_AARCH64_TLSDESC): Likewise.
39966         (NT_ARM_TLS): Likewise.
39967         (NT_ARM_HW_BREAK): Likewise.
39968         (NT_ARM_HW_WATCH): Likewise.
39970 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39972         [BZ #14811]
39973         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39974         (__ieee754_powl): Saturate nonzero exponents with absolute value
39975         below 0x1p-79 to +/- 0x1p-79.
39976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39977         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39978         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39979         nonzero exponents with absolute value below 0x1p-32 to +/-
39980         0x1p-32.
39981         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39982         (__ieee754_powl): Saturate nonzero exponents with absolute value
39983         below 0x1p-79 to +/- 0x1p-79.
39984         * math/libm-test.inc (pow_test): Add more tests.
39986 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39988         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39989         _dl_s390_cap_flags with kernel. Increase string length.
39990         (_dl_s390_platforms): Add z196 and zEC12.
39992 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39994         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39995         Change XOPEN21K to XOPEN2K.
39997 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39999         * string/memmove.c: Use memcpy when possible.
40001 2012-11-06  Andreas Jaeger  <aj@suse.de>
40003         * po/eo.po: Update from translation team.
40005 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40007         [BZ #14793]
40008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40009         exponent and small x and y exponents, scale x or y up.  Increase
40010         by 2 the exponent used in scaling up.
40011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40012         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40013         * math/libm-test.inc (fma_test): Add more tests.
40014         (fma_test_towardzero): Likewise.
40015         (fma_test_downward): Likewise.
40016         (fma_test_upward): Likewise.
40018 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40020         [BZ #14805]
40021         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40022         fenv_t *.
40024         [BZ #14801]
40025         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40026         namespace for names of struct fields.
40027         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40028         fenv_t fields.
40029         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40030         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40032 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40034         [BZ #3665]
40035         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40037 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40039         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40040         PTR_DEMANGLE.
40042         [BZ #5246]
40043         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40044         PTR_DEMANGLE.
40046 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40048         [BZ #14797]
40049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40050         definitely overflow as x * y not x * y + z.
40051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40053         * math/libm-test.inc (fma_test): Add more tests.
40054         (fma_test_towardzero): Likewise.
40055         (fma_test_downward): Likewise.
40056         (fma_test_upward): Likewise.
40058 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40060         [BZ #157]
40062         * include/stub-tag.h: Remove file.
40063         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40064         '#include' of it.
40065         * manual/maint.texi (Porting): Don't reference it.
40066         * Makerules ($(objpfx)stubs): Likewise.
40067         * dirent/closedir.c: Don't include <stub-tag.h>.
40068         * dirent/dirfd.c: Likewise.
40069         * dirent/fdopendir.c: Likewise.
40070         * dirent/getdents.c: Likewise.
40071         * dirent/getdents64.c: Likewise.
40072         * dirent/opendir.c: Likewise.
40073         * dirent/readdir.c: Likewise.
40074         * dirent/readdir64.c: Likewise.
40075         * dirent/readdir64_r.c: Likewise.
40076         * dirent/readdir_r.c: Likewise.
40077         * dirent/rewinddir.c: Likewise.
40078         * dirent/seekdir.c: Likewise.
40079         * dirent/telldir.c: Likewise.
40080         * gmon/profil.c: Likewise.
40081         * grp/setgroups.c: Likewise.
40082         * inet/if_index.c: Likewise.
40083         * io/access.c: Likewise.
40084         * io/chdir.c: Likewise.
40085         * io/chmod.c: Likewise.
40086         * io/chown.c: Likewise.
40087         * io/close.c: Likewise.
40088         * io/dup.c: Likewise.
40089         * io/dup2.c: Likewise.
40090         * io/dup3.c: Likewise.
40091         * io/euidaccess.c: Likewise.
40092         * io/faccessat.c: Likewise.
40093         * io/fchdir.c: Likewise.
40094         * io/fchmod.c: Likewise.
40095         * io/fchmodat.c: Likewise.
40096         * io/fchown.c: Likewise.
40097         * io/fchownat.c: Likewise.
40098         * io/fcntl.c: Likewise.
40099         * io/flock.c: Likewise.
40100         * io/fstatfs.c: Likewise.
40101         * io/fstatfs64.c: Likewise.
40102         * io/fstatvfs.c: Likewise.
40103         * io/fstatvfs64.c: Likewise.
40104         * io/futimens.c: Likewise.
40105         * io/fxstat.c: Likewise.
40106         * io/fxstat64.c: Likewise.
40107         * io/fxstatat.c: Likewise.
40108         * io/fxstatat64.c: Likewise.
40109         * io/getcwd.c: Likewise.
40110         * io/isatty.c: Likewise.
40111         * io/lchmod.c: Likewise.
40112         * io/lchown.c: Likewise.
40113         * io/link.c: Likewise.
40114         * io/linkat.c: Likewise.
40115         * io/lseek.c: Likewise.
40116         * io/lseek64.c: Likewise.
40117         * io/lxstat64.c: Likewise.
40118         * io/mkdir.c: Likewise.
40119         * io/mkdirat.c: Likewise.
40120         * io/mkfifo.c: Likewise.
40121         * io/mkfifoat.c: Likewise.
40122         * io/open.c: Likewise.
40123         * io/open64.c: Likewise.
40124         * io/openat.c: Likewise.
40125         * io/openat64.c: Likewise.
40126         * io/pipe.c: Likewise.
40127         * io/pipe2.c: Likewise.
40128         * io/poll.c: Likewise.
40129         * io/posix_fadvise.c: Likewise.
40130         * io/posix_fadvise64.c: Likewise.
40131         * io/posix_fallocate.c: Likewise.
40132         * io/posix_fallocate64.c: Likewise.
40133         * io/read.c: Likewise.
40134         * io/readlink.c: Likewise.
40135         * io/readlinkat.c: Likewise.
40136         * io/rmdir.c: Likewise.
40137         * io/sendfile.c: Likewise.
40138         * io/sendfile64.c: Likewise.
40139         * io/statfs.c: Likewise.
40140         * io/statfs64.c: Likewise.
40141         * io/statvfs.c: Likewise.
40142         * io/statvfs64.c: Likewise.
40143         * io/symlink.c: Likewise.
40144         * io/symlinkat.c: Likewise.
40145         * io/ttyname.c: Likewise.
40146         * io/ttyname_r.c: Likewise.
40147         * io/umask.c: Likewise.
40148         * io/unlink.c: Likewise.
40149         * io/unlinkat.c: Likewise.
40150         * io/utime.c: Likewise.
40151         * io/utimensat.c: Likewise.
40152         * io/write.c: Likewise.
40153         * io/xmknod.c: Likewise.
40154         * io/xmknodat.c: Likewise.
40155         * io/xstat.c: Likewise.
40156         * io/xstat64.c: Likewise.
40157         * login/getpt.c: Likewise.
40158         * login/grantpt.c: Likewise.
40159         * login/unlockpt.c: Likewise.
40160         * math/e_acoshl.c: Likewise.
40161         * math/e_acosl.c: Likewise.
40162         * math/e_asinl.c: Likewise.
40163         * math/e_atan2l.c: Likewise.
40164         * math/e_atanhl.c: Likewise.
40165         * math/e_coshl.c: Likewise.
40166         * math/e_expl.c: Likewise.
40167         * math/e_fmodl.c: Likewise.
40168         * math/e_gammal_r.c: Likewise.
40169         * math/e_hypotl.c: Likewise.
40170         * math/e_j0l.c: Likewise.
40171         * math/e_j1l.c: Likewise.
40172         * math/e_jnl.c: Likewise.
40173         * math/e_lgammal_r.c: Likewise.
40174         * math/e_log10l.c: Likewise.
40175         * math/e_log2l.c: Likewise.
40176         * math/e_logl.c: Likewise.
40177         * math/e_powl.c: Likewise.
40178         * math/e_rem_pio2l.c: Likewise.
40179         * math/e_sinhl.c: Likewise.
40180         * math/e_sqrtl.c: Likewise.
40181         * math/fclrexcpt.c: Likewise.
40182         * math/fedisblxcpt.c: Likewise.
40183         * math/feenablxcpt.c: Likewise.
40184         * math/fegetenv.c: Likewise.
40185         * math/fegetexcept.c: Likewise.
40186         * math/fegetround.c: Likewise.
40187         * math/feholdexcpt.c: Likewise.
40188         * math/fesetenv.c: Likewise.
40189         * math/fesetround.c: Likewise.
40190         * math/feupdateenv.c: Likewise.
40191         * math/fgetexcptflg.c: Likewise.
40192         * math/fraiseexcpt.c: Likewise.
40193         * math/fsetexcptflg.c: Likewise.
40194         * math/ftestexcept.c: Likewise.
40195         * math/k_cosl.c: Likewise.
40196         * math/k_rem_pio2l.c: Likewise.
40197         * math/k_sinl.c: Likewise.
40198         * math/k_tanl.c: Likewise.
40199         * math/s_asinhl.c: Likewise.
40200         * math/s_atanl.c: Likewise.
40201         * math/s_cbrtl.c: Likewise.
40202         * math/s_erfl.c: Likewise.
40203         * math/s_expm1l.c: Likewise.
40204         * math/s_log1pl.c: Likewise.
40205         * math/s_tanhl.c: Likewise.
40206         * misc/acct.c: Likewise.
40207         * misc/brk.c: Likewise.
40208         * misc/chflags.c: Likewise.
40209         * misc/chroot.c: Likewise.
40210         * misc/fchflags.c: Likewise.
40211         * misc/fgetxattr.c: Likewise.
40212         * misc/flistxattr.c: Likewise.
40213         * misc/fremovexattr.c: Likewise.
40214         * misc/fsetxattr.c: Likewise.
40215         * misc/fsync.c: Likewise.
40216         * misc/ftruncate.c: Likewise.
40217         * misc/futimes.c: Likewise.
40218         * misc/futimesat.c: Likewise.
40219         * misc/getdomain.c: Likewise.
40220         * misc/getdtsz.c: Likewise.
40221         * misc/gethostid.c: Likewise.
40222         * misc/gethostname.c: Likewise.
40223         * misc/getloadavg.c: Likewise.
40224         * misc/getpagesize.c: Likewise.
40225         * misc/getsysstats.c: Likewise.
40226         * misc/getxattr.c: Likewise.
40227         * misc/gtty.c: Likewise.
40228         * misc/ioctl.c: Likewise.
40229         * misc/lgetxattr.c: Likewise.
40230         * misc/listxattr.c: Likewise.
40231         * misc/llistxattr.c: Likewise.
40232         * misc/lremovexattr.c: Likewise.
40233         * misc/lsetxattr.c: Likewise.
40234         * misc/lutimes.c: Likewise.
40235         * misc/madvise.c: Likewise.
40236         * misc/mincore.c: Likewise.
40237         * misc/mlock.c: Likewise.
40238         * misc/mlockall.c: Likewise.
40239         * misc/mmap.c: Likewise.
40240         * misc/mprotect.c: Likewise.
40241         * misc/msync.c: Likewise.
40242         * misc/munlock.c: Likewise.
40243         * misc/munlockall.c: Likewise.
40244         * misc/munmap.c: Likewise.
40245         * misc/preadv.c: Likewise.
40246         * misc/preadv64.c: Likewise.
40247         * misc/ptrace.c: Likewise.
40248         * misc/pwritev.c: Likewise.
40249         * misc/pwritev64.c: Likewise.
40250         * misc/readv.c: Likewise.
40251         * misc/reboot.c: Likewise.
40252         * misc/remap_file_pages.c: Likewise.
40253         * misc/removexattr.c: Likewise.
40254         * misc/revoke.c: Likewise.
40255         * misc/select.c: Likewise.
40256         * misc/setdomain.c: Likewise.
40257         * misc/setegid.c: Likewise.
40258         * misc/seteuid.c: Likewise.
40259         * misc/sethostid.c: Likewise.
40260         * misc/sethostname.c: Likewise.
40261         * misc/setregid.c: Likewise.
40262         * misc/setreuid.c: Likewise.
40263         * misc/setxattr.c: Likewise.
40264         * misc/sstk.c: Likewise.
40265         * misc/stty.c: Likewise.
40266         * misc/swapoff.c: Likewise.
40267         * misc/swapon.c: Likewise.
40268         * misc/sync.c: Likewise.
40269         * misc/syncfs.c: Likewise.
40270         * misc/syscall.c: Likewise.
40271         * misc/truncate.c: Likewise.
40272         * misc/ualarm.c: Likewise.
40273         * misc/usleep.c: Likewise.
40274         * misc/ustat.c: Likewise.
40275         * misc/utimes.c: Likewise.
40276         * misc/vhangup.c: Likewise.
40277         * misc/writev.c: Likewise.
40278         * posix/_exit.c: Likewise.
40279         * posix/alarm.c: Likewise.
40280         * posix/execve.c: Likewise.
40281         * posix/fexecve.c: Likewise.
40282         * posix/fork.c: Likewise.
40283         * posix/fpathconf.c: Likewise.
40284         * posix/getaddrinfo.c: Likewise.
40285         * posix/getegid.c: Likewise.
40286         * posix/geteuid.c: Likewise.
40287         * posix/getgid.c: Likewise.
40288         * posix/getgroups.c: Likewise.
40289         * posix/getlogin.c: Likewise.
40290         * posix/getlogin_r.c: Likewise.
40291         * posix/getpgid.c: Likewise.
40292         * posix/getpid.c: Likewise.
40293         * posix/getppid.c: Likewise.
40294         * posix/getresgid.c: Likewise.
40295         * posix/getresuid.c: Likewise.
40296         * posix/getsid.c: Likewise.
40297         * posix/getuid.c: Likewise.
40298         * posix/glob64.c: Likewise.
40299         * posix/nanosleep.c: Likewise.
40300         * posix/pathconf.c: Likewise.
40301         * posix/pause.c: Likewise.
40302         * posix/posix_madvise.c: Likewise.
40303         * posix/pread.c: Likewise.
40304         * posix/pread64.c: Likewise.
40305         * posix/pwrite.c: Likewise.
40306         * posix/pwrite64.c: Likewise.
40307         * posix/sched_getaffinity.c: Likewise.
40308         * posix/sched_getp.c: Likewise.
40309         * posix/sched_gets.c: Likewise.
40310         * posix/sched_primax.c: Likewise.
40311         * posix/sched_primin.c: Likewise.
40312         * posix/sched_rr_gi.c: Likewise.
40313         * posix/sched_setaffinity.c: Likewise.
40314         * posix/sched_setp.c: Likewise.
40315         * posix/sched_sets.c: Likewise.
40316         * posix/sched_yield.c: Likewise.
40317         * posix/setgid.c: Likewise.
40318         * posix/setlogin.c: Likewise.
40319         * posix/setpgid.c: Likewise.
40320         * posix/setresgid.c: Likewise.
40321         * posix/setresuid.c: Likewise.
40322         * posix/setsid.c: Likewise.
40323         * posix/setuid.c: Likewise.
40324         * posix/sleep.c: Likewise.
40325         * posix/spawni.c: Likewise.
40326         * posix/sysconf.c: Likewise.
40327         * posix/times.c: Likewise.
40328         * posix/wait.c: Likewise.
40329         * posix/wait3.c: Likewise.
40330         * posix/wait4.c: Likewise.
40331         * posix/waitpid.c: Likewise.
40332         * resolv/gai_sigqueue.c: Likewise.
40333         * resource/getpriority.c: Likewise.
40334         * resource/getrlimit.c: Likewise.
40335         * resource/getrusage.c: Likewise.
40336         * resource/nice.c: Likewise.
40337         * resource/setpriority.c: Likewise.
40338         * resource/setrlimit.c: Likewise.
40339         * resource/ulimit.c: Likewise.
40340         * rt/aio_cancel.c: Likewise.
40341         * rt/aio_fsync.c: Likewise.
40342         * rt/aio_read.c: Likewise.
40343         * rt/aio_sigqueue.c: Likewise.
40344         * rt/aio_suspend.c: Likewise.
40345         * rt/aio_write.c: Likewise.
40346         * rt/clock_getres.c: Likewise.
40347         * rt/clock_gettime.c: Likewise.
40348         * rt/clock_nanosleep.c: Likewise.
40349         * rt/clock_settime.c: Likewise.
40350         * rt/lio_listio.c: Likewise.
40351         * rt/mq_close.c: Likewise.
40352         * rt/mq_getattr.c: Likewise.
40353         * rt/mq_notify.c: Likewise.
40354         * rt/mq_open.c: Likewise.
40355         * rt/mq_receive.c: Likewise.
40356         * rt/mq_send.c: Likewise.
40357         * rt/mq_setattr.c: Likewise.
40358         * rt/mq_timedreceive.c: Likewise.
40359         * rt/mq_timedsend.c: Likewise.
40360         * rt/mq_unlink.c: Likewise.
40361         * rt/shm_open.c: Likewise.
40362         * rt/shm_unlink.c: Likewise.
40363         * rt/timer_create.c: Likewise.
40364         * rt/timer_delete.c: Likewise.
40365         * rt/timer_getoverr.c: Likewise.
40366         * rt/timer_gettime.c: Likewise.
40367         * rt/timer_settime.c: Likewise.
40368         * setjmp/__longjmp.c: Likewise.
40369         * setjmp/setjmp.c: Likewise.
40370         * signal/kill.c: Likewise.
40371         * signal/killpg.c: Likewise.
40372         * signal/raise.c: Likewise.
40373         * signal/sigaction.c: Likewise.
40374         * signal/sigaltstack.c: Likewise.
40375         * signal/sigblock.c: Likewise.
40376         * signal/sigignore.c: Likewise.
40377         * signal/sigintr.c: Likewise.
40378         * signal/signal.c: Likewise.
40379         * signal/sigpause.c: Likewise.
40380         * signal/sigpending.c: Likewise.
40381         * signal/sigqueue.c: Likewise.
40382         * signal/sigreturn.c: Likewise.
40383         * signal/sigset.c: Likewise.
40384         * signal/sigsetmask.c: Likewise.
40385         * signal/sigstack.c: Likewise.
40386         * signal/sigsuspend.c: Likewise.
40387         * signal/sigtimedwait.c: Likewise.
40388         * signal/sigvec.c: Likewise.
40389         * signal/sigwait.c: Likewise.
40390         * signal/sigwaitinfo.c: Likewise.
40391         * signal/sysv_signal.c: Likewise.
40392         * socket/accept.c: Likewise.
40393         * socket/accept4.c: Likewise.
40394         * socket/bind.c: Likewise.
40395         * socket/connect.c: Likewise.
40396         * socket/getpeername.c: Likewise.
40397         * socket/getsockname.c: Likewise.
40398         * socket/getsockopt.c: Likewise.
40399         * socket/isfdtype.c: Likewise.
40400         * socket/listen.c: Likewise.
40401         * socket/recv.c: Likewise.
40402         * socket/recvfrom.c: Likewise.
40403         * socket/recvmsg.c: Likewise.
40404         * socket/send.c: Likewise.
40405         * socket/sendmsg.c: Likewise.
40406         * socket/sendto.c: Likewise.
40407         * socket/setsockopt.c: Likewise.
40408         * socket/shutdown.c: Likewise.
40409         * socket/sockatmark.c: Likewise.
40410         * socket/socket.c: Likewise.
40411         * socket/socketpair.c: Likewise.
40412         * stdio-common/ctermid.c: Likewise.
40413         * stdio-common/cuserid.c: Likewise.
40414         * stdio-common/remove.c: Likewise.
40415         * stdio-common/rename.c: Likewise.
40416         * stdio-common/renameat.c: Likewise.
40417         * stdio-common/tempname.c: Likewise.
40418         * stdlib/getcontext.c: Likewise.
40419         * stdlib/makecontext.c: Likewise.
40420         * stdlib/setcontext.c: Likewise.
40421         * stdlib/swapcontext.c: Likewise.
40422         * stdlib/system.c: Likewise.
40423         * streams/fattach.c: Likewise.
40424         * streams/fdetach.c: Likewise.
40425         * streams/getmsg.c: Likewise.
40426         * streams/getpmsg.c: Likewise.
40427         * streams/putmsg.c: Likewise.
40428         * streams/putpmsg.c: Likewise.
40429         * sysdeps/unix/bsd/getpt.c: Likewise.
40430         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40431         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40432         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40434         Likewise.
40435         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40436         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40437         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40438         * sysvipc/msgctl.c: Likewise.
40439         * sysvipc/msgget.c: Likewise.
40440         * sysvipc/msgrcv.c: Likewise.
40441         * sysvipc/msgsnd.c: Likewise.
40442         * sysvipc/semctl.c: Likewise.
40443         * sysvipc/semget.c: Likewise.
40444         * sysvipc/semop.c: Likewise.
40445         * sysvipc/semtimedop.c: Likewise.
40446         * sysvipc/shmat.c: Likewise.
40447         * sysvipc/shmctl.c: Likewise.
40448         * sysvipc/shmdt.c: Likewise.
40449         * sysvipc/shmget.c: Likewise.
40450         * termios/tcdrain.c: Likewise.
40451         * termios/tcflow.c: Likewise.
40452         * termios/tcflush.c: Likewise.
40453         * termios/tcgetattr.c: Likewise.
40454         * termios/tcgetpgrp.c: Likewise.
40455         * termios/tcsendbrk.c: Likewise.
40456         * termios/tcsetattr.c: Likewise.
40457         * termios/tcsetpgrp.c: Likewise.
40458         * time/adjtime.c: Likewise.
40459         * time/clock.c: Likewise.
40460         * time/getitimer.c: Likewise.
40461         * time/gettimeofday.c: Likewise.
40462         * time/setitimer.c: Likewise.
40463         * time/settimeofday.c: Likewise.
40464         * time/stime.c: Likewise.
40465         * time/time.c: Likewise.
40467 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40469         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40470         /usr/old/bin.
40472         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40473         instead of spaces.
40474         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40476 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40478         [BZ #14796]
40479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40480         FE_TONEAREST before applying Dekker multiplication and Knuth
40481         addition.  Clear inexact exceptions and check for exact zero
40482         results afterwards.
40483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40486         * math/libm-test.inc (fma_test): Add more tests.
40487         (fma_test_towardzero): Likewise.
40488         (fma_test_downward): Likewise.
40489         (fma_test_upward): Likewise.
40490         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40491         function.
40492         (libc_fesetround): New macro.
40493         (libc_fesetroundf): Likewise.
40494         (libc_fesetroundl): Likewise.
40495         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40496         function.
40497         (libc_fesetround_387): Likewise.
40498         (libc_fesetroundf): New macro.
40499         (libc_fesetround): Likewise.
40500         (libc_fesetroundl): Likewise.
40501         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40502         function.
40503         (libc_fesetroundf): New macro.
40504         (libc_fesetround): Likewise.
40505         (libc_fesetroundl): Likewise.
40506         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40507         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40508         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40509         libm_hidden_ver.
40510         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40511         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40512         libm_hidden_def.
40513         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40514         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40515         libm_hidden_ver.
40516         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40517         libm_hidden_def.
40519         [BZ #3439]
40520         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40521         integer constant usable in #if and use that to give value to enum
40522         constant.
40523         (FE_DIVBYZERO): Likewise.
40524         (FE_UNDERFLOW): Likewise.
40525         (FE_OVERFLOW): Likewise.
40526         (FE_INVALID): Likewise.
40527         (FE_INVALID_SNAN): Likewise.
40528         (FE_INVALID_ISI): Likewise.
40529         (FE_INVALID_IDI): Likewise.
40530         (FE_INVALID_ZDZ): Likewise.
40531         (FE_INVALID_IMZ): Likewise.
40532         (FE_INVALID_COMPARE): Likewise.
40533         (FE_INVALID_SOFTWARE): Likewise.
40534         (FE_INVALID_SQRT): Likewise.
40535         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40536         (FE_TONEAREST): Likewise.
40537         (FE_TOWARDZERO): Likewise.
40538         (FE_UPWARD): Likewise.
40539         (FE_DOWNWARD): Likewise.
40540         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40541         (FE_DIVBYZERO): Likewise.
40542         (FE_OVERFLOW): Likewise.
40543         (FE_UNDERFLOW): Likewise.
40544         (FE_INEXACT): Likewise.
40545         (FE_TONEAREST): Likewise.
40546         (FE_DOWNWARD): Likewise.
40547         (FE_UPWARD): Likewise.
40548         (FE_TOWARDZERO): Likewise.
40549         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40550         (FE_UNDERFLOW): Likewise.
40551         (FE_OVERFLOW): Likewise.
40552         (FE_DIVBYZERO): Likewise.
40553         (FE_INVALID): Likewise.
40554         (FE_TONEAREST): Likewise.
40555         (FE_TOWARDZERO): Likewise.
40556         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40557         (FE_OVERFLOW): Likewise.
40558         (FE_UNDERFLOW): Likewise.
40559         (FE_DIVBYZERO): Likewise.
40560         (FE_INEXACT): Likewise.
40561         (FE_TONEAREST): Likewise.
40562         (FE_TOWARDZERO): Likewise.
40563         (FE_UPWARD): Likewise.
40564         (FE_DOWNWARD): Likewise.
40565         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40566         (FE_DIVBYZERO): Likewise.
40567         (FE_OVERFLOW): Likewise.
40568         (FE_UNDERFLOW): Likewise.
40569         (FE_INEXACT): Likewise.
40570         (FE_TONEAREST): Likewise.
40571         (FE_DOWNWARD): Likewise.
40572         (FE_UPWARD): Likewise.
40573         (FE_TOWARDZERO): Likewise.
40575 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40577         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40579 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40581         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40582         commands.  Quote $PWD.
40583         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40584         -x" by "export".
40585         (remove_newlines): Remove.
40587 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40589         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40590         * stdlib/stdlib.h (atof): Moved to ...
40591         * include/bits/stdlib-float.h: Here.  New file.
40592         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40593         * stdlib/bits/stdlib-float.h: New file.
40594         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40595         -mno-sse -mno-mmx.
40596         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40597         <xmmintrin.h>.
40599 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40601         * conform/conformtest.pl (@headers): Add fenv.h.
40602         * conform/data/fenv.h-data: New file.
40603         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40604         include of <math/fenv.h>.
40606         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40607         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40608         && !UNIX98].  Enables tests for XOPEN2K8.
40609         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40610         POSIX2008]: Likewise.
40612         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40613         (struct rusage): Do not expect type or its members.
40615         [BZ #3439]
40616         * math/math.h (FP_NAN): Define macro to integer constant usable in
40617         #if and use that to give value to enum constant.
40618         (FP_INFINITE): Likewise.
40619         (FP_ZERO): Likewise.
40620         (FP_SUBNORMAL): Likewise.
40621         (FP_NORMAL): Likewise.
40623 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40625         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40626         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40627         arguments.
40629 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40631         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40632         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40633         autoconf-time if not.
40634         * configure.in: Remove AC_PREREQ.
40636 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40638         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40639         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40640         of the internal implementation.
40642 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40644         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40645         except include of <misc/sys/syslog.h>.
40647 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40650         function returns with a NULL context exit with zero.
40652 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40654         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40656 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40658         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40659         (run_program_cmd): This.
40660         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40661         (tst_langinfo): New variable.  Use it.
40663 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40665         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40666         floating point opcodes.
40668 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40670         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40671         variable.
40673         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40675         * sysdeps/mach/hurd/powerpc: Remove directory.
40676         * sysdeps/mach/powerpc: Likewise.
40678 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40680         * scripts/check-local-headers.sh: Ignore c++ headers.
40682 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40684         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40685         __libc_cleanup_region_start argument.
40687 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40689         [BZ #14784]
40690         [BZ #14785]
40691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40692         x * y using scaling, not as x * y + z.
40693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40695         * math/libm-test.inc (fma_test): Add more tests.
40696         (fma_test_towardzero): Likewise.
40697         (fma_test_downward): Likewise.
40698         (fma_test_upward): Likewise.
40700 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40702         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40704 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40706         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40707         New variable.
40709 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40711         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40713 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40716         Fix sort order.
40717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40718         Likewise.
40720 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40723         Fix the order of the list for glibc 2.17.
40724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40725         Likewise.
40727 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40731 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40733         [BZ #14610]
40734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40735         for low part of x being zero before using __atanl (y).
40736         * math/libm-test.inc (atan2_test): Add another test.
40738         * manual/install.texi (Configuring and compiling): Document
40739         general use of test-wrapper and test-wrapper-env.
40740         * INSTALL: Regenerated.
40742         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40743         (__fma): Do not extract and scale down low bits on after-rounding
40744         systems when result rounded to normal precision would have normal
40745         exponent.
40746         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40747         (__fmal): Do not extract and scale down low bits on after-rounding
40748         systems when result rounded to normal precision would have normal
40749         exponent.
40750         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40751         (__fmal): Do not extract and scale down low bits on after-rounding
40752         systems when result rounded to normal precision would have normal
40753         exponent.
40754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40755         macro.
40756         (fma_test): Add more tests.
40757         (fma_test_towardzero): Likewise.
40758         (fma_test_downward): Likewise.
40759         (fma_test_upward): Likewise.
40761 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40763         * sysdeps/i386/tininess.h: Renamed to ...
40764         * sysdeps/x86/tininess.h: This.
40765         * sysdeps/x86_64/tininess.h: Removed.
40767 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40769         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40770         input.  Use $(build-program-cmd).
40771         ($(objpfx)tst-array1-static.out): Likewise.
40772         ($(objpfx)tst-array2.out): Likewise.
40773         ($(objpfx)tst-array3.out): Likewise.
40774         ($(objpfx)tst-array4.out): Likewise.
40775         ($(objpfx)tst-array5.out): Likewise.
40776         ($(objpfx)tst-array5-static.out): Likewise.
40778 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40780         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40781         if defined.
40783         * nss/nsswitch.h (nss_interface_function): Provide new
40784         macro for use with NSS functions.
40785         * grp/initgroups.c: Use new macro.
40786         * nss/getXXbyYY.c: Likewise.
40787         * nss/getXXbyYY_r.c: Likewise.
40788         * nss/getXXent.c: Likewise.
40789         * nss/getXXent_r.c: Likewise.
40790         * sysdeps/posix/getaddrinfo.c: Likewise.
40792 2012-10-30  Andreas Jaeger  <aj@suse.de>
40794         * po/ru.po: Update Russion translation from translation project.
40796 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40798         [BZ #14152]
40799         [BZ #14783]
40800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40801         result and shift together with sticky bit instead of replicating
40802         round-to-nearest rounding.
40803         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40805         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40806         missing underflow exceptions.
40807         (fma_test_towardzero): Add more tests.
40808         (fma_test_downward): Likewise.
40809         (fma_test_upward): Likewise.
40811         [BZ #14047]
40812         * sysdeps/generic/tininess.h: New file.
40813         * sysdeps/i386/tininess.h: Likewise.
40814         * sysdeps/sh/tininess.h: Likewise.
40815         * sysdeps/x86_64/tininess.h: Likewise.
40816         * stdlib/tst-strtod-underflow.c: Likewise.
40817         * stdlib/tst-tininess.c: Likewise.
40818         * stdlib/strtod_l.c: Include <tininess.h>.
40819         (round_and_return): Do not set errno for exact underflow cases.
40820         Force an underflow exception when setting errno for underflow.
40821         Determine underflow based on rounding to normal precision if
40822         TININESS_AFTER_ROUNDING.
40823         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40824         ERANGE for exact underflow cases.
40825         * stdlib/Makefile (tests): Add tst-tininess and
40826         tst-strtod-underflow.
40827         ($(objpfx)tst-tininess): Use $(link-libm).
40828         ($(objpfx)tst-strtod-underflow): Likewise.
40830 2012-10-30  Andreas Jaeger  <aj@suse.de>
40832         [BZ#14767]
40833         * elf/Makefile (tests): Remove conditional for have-initfini-array
40834         since this is now always required and the variable does not exist
40835         anymore.
40836         (tests-static): Likewise.
40837         (modules-names): Likewise.
40839         * po/eo.po: Add Esperanto translation from translation project.
40841         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40842         merged with constructor/destructor.
40843         (init_array): Likewise.
40844         * elf/tst-array2dep.c (fini_array): Likewise.
40845         (init_array): Likewise.
40847 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40849         * manual/message.texi: Delete @cartouche tags.
40851 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40853         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40854         EOPNOTSUPP.
40855         * sysdeps/mach/hurd/fsync.c: Likewise.
40857         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40858         [_POSIX_REALTIME_SIGNALS]: Change condition to
40859         [_POSIX_REALTIME_SIGNALS > 0].
40861 2012-10-27  Andreas Jaeger  <aj@suse.de>
40863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40864         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40866         [__WORDSIZE != 64]: Likewise.
40868 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40870         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40871         *  iconvdata/tst-tables.sh: Likewise.
40873 2012-10-25  David S. Miller  <davem@davemloft.net>
40875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40876         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40877         of strtoull.
40879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40880         ifunc-impl-list.c
40881         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40882         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40883         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40884         file.
40886 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40889         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40890         __getdirentries.
40892 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40893             Jim Blandy  <jimb@codesourcery.com>
40895         * scripts/cross-test-ssh.sh: New file.
40896         * manual/install.texi (Configuring and compiling): Document use of
40897         cross-test-ssh.sh.
40898         * INSTALL: Regenerated.
40900 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40902         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40903         EOPNOTSUPP.
40905 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40907         * Makeconfig (run-program-prefix): Fix comment.
40909 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40910             Jim Blandy  <jimb@codesourcery.com>
40912         * Makeconfig (test-wrapper): New variable,
40913         (test-wrapper-env): Likewise.
40914         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40915         (run-built-tests): Define to yes.
40916         (run-program-prefix): Use $(test-wrapper).
40917         (built-program-cmd): Likewise.
40918         * Rules (make-test-out): Use $(test-wrapper-env) and
40919         $(host-built-program-cmd).
40920         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40921         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40922         tst-pathopt.sh.
40923         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40924         $(test-wrapper-env) to tst-rtld-load-self.sh.
40925         ($(objpfx)order2.out): Use $(test-wrapper).
40926         ($(objpfx)tst-initorder.out): Likewise.
40927         ($(objpfx)tst-initorder2.out): Likewise.
40928         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40929         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40930         (test_wrapper_env): New variable.  Use it to run ld.so.
40931         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40932         Use it to run ld.so.
40933         (test_wrapper_env): Likewise.
40934         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40935         $(test-wrapper) to run-iconv-test.sh.
40936         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40937         (ICONV): Use $test_wrapper.
40938         * posix/Makefile ($(objpfx)globtest.out): Pass
40939         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40940         globtest.sh, not $(run-program-prefix).
40941         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40942         (test_wrapper): Likewise.
40943         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40944         set together with run_via_rtld_prefix.
40945         (run_program_prefix): Define in terms of test_wrapper and
40946         run_via_rtld_prefix.
40948 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40950         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40951         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40952         Targets removed.
40954         [BZ #14743]
40955         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40956         Declare __clock_getres, __clock_gettime, __clock_settime,
40957         __clock_nanosleep, and __clock_getcpuclockid.
40958         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40959         Remove librt_hidden_def (clock_gettime).
40960         * sysdeps/unix/clock_gettime.c: Likewise.
40961         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40962         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40963         * rt/clock_getres.c: Define __clock_getres as an alias.
40964         * sysdeps/posix/clock_getres.c: Likewise.
40965         * rt/clock_settime.c: Define __clock_settime as an alias.
40966         * sysdeps/unix/clock_settime.c: Likewise.
40967         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40968         * sysdeps/unix/clock_nanosleep.c: Likewise.
40969         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40970         * rt/clock-compat.c: New file.
40971         * rt/Makefile (librt-routines): Add clock-compat and move
40972         $(clock-routines) to ...
40973         (routines): ... here, new variable.
40974         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40975         Don't add get_clockfreq here.
40976         * rt/Versions (libc: GLIBC_2.17): New version set.
40977         Add clock_* symbols here.
40978         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40979         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40980         (GLIBC_2.17): Add clock_* symbols.
40981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40985         Likewise.
40986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40987         Likewise.
40988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40992         * NEWS: Mention the move.
40994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40995         Use __open, __read, __close rather than their public counterparts.
40996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40997         (__get_clockfreq_via_cpuinfo): Likewise.
40998         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40999         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41001         * config.h.in (HAVE_IFUNC): New #undef.
41002         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41003         was successful.
41004         * configure: Regenerated.
41006 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41008         * configure.in: Move READELF check to start of file.
41009         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41010         libc_cv_asm_gnu_indirect_function in the process.
41011         * configure: Regenerated.
41013 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41015         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41016         send the output to /dev/null.
41017         (libc_cv_cc_with_libunwind): Likewise.
41018         (libc_cv_as_noexecstack): Likewise.
41019         * configure: Regenerate.
41021 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41023         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41025         * posix/globtest.sh (TMPDIR): Do not set.
41026         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41027         (testout): Likewise.
41029 2012-10-24  Andreas Jaeger  <aj@suse.de>
41031         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41032         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41033         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41034         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41035         posix_fadvise64, posix_fallocate64.
41037         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41038         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41039         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41040         Likewise.
41041         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41042         Likewise.
41043         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41046         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41047         <bits/fcntl-linux.h>.
41048         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41051         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41052         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41053         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41054         [__WORDSIZE != 64]: Likewise.
41056 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41058         * Makeconfig (run-built-tests): New variable.
41059         * Rules [$(cross-compiling) = yes]: Change condition to
41060         [$(run-built-tests) = no].
41061         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41062         to [$(run-built-tests) = yes].
41063         * elf/Makefile [$(cross-compiling) = no]: Likewise
41064         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41065         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41066         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41067         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41068         * io/Makefile [$(cross-compiling) = no]: Likewise.
41069         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41070         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41071         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41072         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41073         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41074         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41075         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41076         * string/Makefile [$(cross-compiling) = no]: Likewise.
41078         * posix/Makefile ($(objpfx)globtest.out): Pass
41079         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41080         $(rtld-installed-name).
41081         * posix/globtest.sh (elf_objpfx): Remove variable.
41082         (rtld_installed_name): Likewise.
41083         (library_path): Likewise.
41084         (run_program_prefix): New variable.  Use for running globtest
41085         binary.
41087 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41088             Joseph Myers  <joseph@codesourcery.com>
41090         * Makeconfig (host-built-program-cmd): New variable.
41091         * elf/Makefile (tst-stackguard1-ARGS): Use
41092         $(host-built-program-cmd).
41093         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41094         (tst-spawn-ARGS): Likewise.
41095         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41097 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41098             Jim Blandy  <jimb@codesourcery.com>
41100         * Makeconfig (run-via-rtld-prefix): New variable.
41101         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41102         (built-program-cmd): Likewise.
41104 2012-10-22  Andreas Jaeger  <aj@suse.de>
41106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41107         __O_RSYNC if it exists, otherwise to O_SYNC.
41109 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41110             Joseph Myers  <joseph@codesourcery.com>
41112         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41113         /dev/null.
41114         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41115         from /dev/null
41116         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41117         /dev/null.
41119 2012-10-22  Andreas Jaeger  <aj@suse.de>
41121         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41122         Define always.
41123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41126         bits/fcntl-linux.h.
41128         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41129         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41131         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41132         to __O_LARGEFILE.
41133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41134         to __O_LARGEFILE.
41136 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41137             Joseph Myers  <joseph@codesourcery.com>
41139         * config.make.in (NM): New variable.
41141 2012-10-21  Andreas Jaeger  <aj@suse.de>
41143         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41144         definitions and declarations that are provided by
41145         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41147 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41149         [BZ #14683]
41150         * elf/Makefile (tests-static): Add tst-leaks1-static.
41151         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41152         ($(objpfx)tst-leaks1-static): New rule.
41153         ($(objpfx)tst-leaks1-static-mem): Likewise.
41154         (tst-leaks1-static-ENV): New macro.
41155         * elf/dl-open.c (dl_open_worker): Check the main application
41156         only if SHARED is defined.
41157         * elf/tst-leaks1-static.c: New file.
41159 2012-10-20  Andreas Jaeger  <aj@suse.de>
41161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41162         generic values for Linux.
41163         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41164         and declarations that are provided by <bits/fcntl-linux.h> and
41165         include <bits/fcntl-linux.h>.
41166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41169 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41171         * io/fcntl.h: Move include of <bits/types.h> to the top and
41172         include it unconditionally.
41174 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41176         * wcsmbs/Makefile (tests-ifunc): New variable.
41177         (tests): Add $(tests-ifunc).
41178         * wcsmbs/test-wcschr-ifunc.c: New file.
41179         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41180         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41181         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41182         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41183         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41185         * string/Makefile (tests-ifunc): New variable.
41186         (tests): Add $(tests-ifunc).
41187         * string/test-memccpy.c (TEST_NAME): New macro.
41188         * string/test-memchr.c (TEST_NAME): Likewise.
41189         * string/test-memcmp.c (TEST_NAME): Likewise.
41190         * string/test-memcpy.c (TEST_NAME): Likewise.
41191         * string/test-memmem.c (TEST_NAME): Likewise.
41192         * string/test-memmove.c (TEST_NAME): Likewise.
41193         * string/test-memset.c (TEST_NAME): Likewise.
41194         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41195         * string/test-stpcpy.c (TEST_NAME): Likewise.
41196         * string/test-stpncpy.c (TEST_NAME): Likewise.
41197         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41198         * string/test-strcasestr.c (TEST_NAME): Likewise.
41199         * string/test-strcat.c (TEST_NAME): Likewise.
41200         * string/test-strchr.c (TEST_NAME): Likewise.
41201         * string/test-strcmp.c(TEST_NAME): Likewise.
41202         * string/test-strcpy.c (TEST_NAME): Likewise.
41203         * string/test-strcspn.c (TEST_NAME): Likewise.
41204         * string/test-strlen.c (TEST_NAME): Likewise.
41205         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41206         * string/test-strncmp.c (TEST_NAME): Likewise.
41207         * string/test-strncpy.c (TEST_NAME): Likewise.
41208         * string/test-strnlen.c (TEST_NAME): Likewise.
41209         * string/test-strpbrk.c (TEST_NAME): Likewise.
41210         * string/test-strrchr.c (TEST_NAME): Likewise.
41211         * string/test-strspn.c (TEST_NAME): Likewise.
41212         * string/test-strstr.c (TEST_NAME): Likewise.
41213         * string/test-bcopy-ifunc.c: New file.
41214         * string/test-bzero-ifunc.c: Likewise.
41215         * string/test-memccpy-ifunc.c: Likewise.
41216         * string/test-memchr-ifunc.c: Likewise.
41217         * string/test-memcmp-ifunc.c: Likewise.
41218         * string/test-memcpy-ifunc.c: Likewise.
41219         * string/test-memmem-ifunc.c: Likewise.
41220         * string/test-memmove-ifunc.c: Likewise.
41221         * string/test-mempcpy-ifunc.c: Likewise.
41222         * string/test-memset-ifunc.c: Likewise.
41223         * string/test-rawmemchr-ifunc.c: Likewise.
41224         * string/test-stpcpy-ifunc.c: Likewise.
41225         * string/test-stpncpy-ifunc.c: Likewise.
41226         * string/test-strcasecmp-ifunc.c: Likewise.
41227         * string/test-strcasestr-ifunc.c: Likewise.
41228         * string/test-strcat-ifunc.c: Likewise.
41229         * string/test-strchr-ifunc.c: Likewise.
41230         * string/test-strchrnul-ifunc.c: Likewise.
41231         * string/test-strcmp-ifunc.c: Likewise.
41232         * string/test-strcpy-ifunc.c: Likewise.
41233         * string/test-strcspn-ifunc.c: Likewise.
41234         * string/test-strlen-ifunc.c: Likewise.
41235         * string/test-strncasecmp-ifunc.c: Likewise.
41236         * string/test-strncat-ifunc.c: Likewise.
41237         * string/test-strncmp-ifunc.c: Likewise.
41238         * string/test-strncpy-ifunc.c: Likewise.
41239         * string/test-strnlen-ifunc.c: Likewise.
41240         * string/test-strpbrk-ifunc.c: Likewise.
41241         * string/test-strrchr-ifunc.c: Likewise.
41242         * string/test-strspn-ifunc.c: Likewise.
41243         * string/test-strstr-ifunc.c: Likewise.
41245         * debug/Makefile (tests-ifunc): New variable.
41246         (tests): Add $(tests-ifunc).
41247         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41248         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41249         * debug/test-stpcpy_chk-ifunc.c: New file.
41250         * debug/test-strcpy_chk-ifunc.c: Likewise.
41252 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41254         [BZ #13601]
41255         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41256         header is not read in.
41258 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41260         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41261         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41262         directly.  Pass built executable to script as
41263         $(built-program-cmd).
41264         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41265         $testprogram without using LD_LIBRARY_PATH and $ldso.
41267         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41268         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41269         $(rtld-installed-name).
41270         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41271         (rtld_installed_name): Likewise.
41272         (library_path): Likewise.
41273         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41274         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41275         $(run-program-prefix) to tst-tables.sh.
41276         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41277         it to run tst-table-from and tst-table-to.
41278         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41279         Pass it to tst-table.sh.
41280         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41281         $(run-program-prefix) to tst-gettext.sh.
41282         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41283         tst-translit.sh.
41284         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41285         tst-gettext2.sh.
41286         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41287         to run tst-gettext.
41288         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41289         to run tst-gettext2.
41290         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41291         to run tst-translit.
41292         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41293         $(run-program-prefix) to tst-mtrace.sh.
41294         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41295         to run tst-mtrace.
41296         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41297         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41298         $(rtld-installed-name).
41299         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41300         (rtld_installed_name): Likewise.
41301         (run_program_prefix): New variable.  Use it to run wordexp-test.
41303         * Makeconfig (ARCH): Remove all definitions.
41304         (machine): Likewise.
41305         [ARCH]: Remove conditional code.
41306         [!objdir]: Give error.
41307         [!objdir] (objpfx): Remove.
41308         [!objdir] (common-objpfx): Likewise.
41309         [!objdir] (common-objdir): Likewise.
41310         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41311         AC_CONFIG_FILES call.
41312         * configure: Regenerated.
41314         [BZ #13888]
41315         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41316         or TMPDIR.
41317         (testout): Likewise.
41319         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41320         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41321         $(rtld-installed-name).
41322         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41323         (rtld_installed_name): Likwise.
41324         (runit): Remove function.
41325         (run_getconf): New variable,  Use it for running getconf binary.
41327 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41329         [BZ #14716]
41330         * string/test-memmem.c (check_result): New function.
41331         (do_one_test): Use it.
41332         (check1): New function.
41333         (test_main): Use it.
41335 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41337         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41339 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41341         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41342         (_G_LSEEK64): Likewise.
41343         (_G_MMAP64): Likewise.
41344         (_G_FSTAT64): Likewise.
41345         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41346         (_G_LSEEK64): Likewise.
41347         (_G_MMAP64): Likewise.
41348         (_G_FSTAT64): Likewise.
41349         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41350         unconditional.  Call __mmap64 directly.
41351         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41352         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41353         __lseek64 directly.
41354         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41355         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41356         __mmap64 directly.
41357         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41358         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41359         __lseek64 directly.
41360         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41361         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41362         __lseek64 directly.
41363         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41364         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41365         __lseek64 directly.
41366         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41367         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41368         __fxstat64 directly.
41369         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41370         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41371         unconditional.
41372         (freopen64) [!_G_OPEN64]: Remove conditional code.
41373         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41374         unconditional.
41375         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41376         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41377         unconditional.
41378         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41379         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41380         unconditional.
41381         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41382         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41383         unconditional.
41384         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41385         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41386         unconditional.
41387         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41388         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41389         unconditional.
41390         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41391         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41392         unconditional.
41393         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41395 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41397         [BZ #12140]
41398         * manual/memory.texi (Malloc Tunable Parameters): Add note
41399         about free list pointers overwriting some perturb bytes.
41400         Wording suggested by Roland McGrath.
41402 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41404         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41405         (lgamma_test): Likewise.
41406         (tgamma_test): Likewise.
41408 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41410         [BZ #14700]
41411         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41412         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41414 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41416         * NEWS: Mention BZ #14716.
41417         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41418         when removing AVAILABLE1_USES_J macro.
41420 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41422         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41423         (__bswap_64): __uint64_t for unsigned 64-bit int.
41425 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41427         * include/string.h (memmem): Declare libc hidden alias.
41428         * string/memmem.c (memmem): Define libc hidden alias.
41429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41430         __read, __close instead of open, read, close.
41432 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41435         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41436         global and hidden.
41437         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41438         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41439         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41440         Likewise.
41441         (__rawmemchr_sse2): Likewise.
41442         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41443         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41444         (__strchr_sse2): Likewise.
41445         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41446         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41447         (__strcasecmp_sse2): Likewise.
41448         (__strncasecmp_sse2): Likewise.
41449         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41450         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41451         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41452         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41453         (__strrchr_sse2): Likewise.
41454         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41455         ifunc-impl-list.c.
41456         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41457         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41458         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41460         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41461         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41462         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41463         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41464         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41465         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41466         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41467         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41468         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41469         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41470         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41471         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41472         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41473         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41474         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41475         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41476         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41477         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41478         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41479         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41480         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41481         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41482         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41483         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41484         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41485         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41487         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41488         global and hidden.
41489         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41490         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41491         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41492         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41493         Likewise.
41494         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41495         Likewise.
41496         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41497         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41498         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41499         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41500         ifunc-impl-list.c.
41501         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41502         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41504         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41505         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41506         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41507         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41508         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41509         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41510         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41511         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41512         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41513         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41514         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41515         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41516         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41517         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41518         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41519         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41520         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41521         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41522         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41523         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41524         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41525         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41526         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41527         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41528         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41529         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41531         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41532         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41533         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41534         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41535         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41536         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41537         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41538         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41539         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41540         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41541         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41543         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41544         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41545         * include/ifunc-impl-list.h: New file.
41546         * misc/ifunc-impl-list.c: Likewise.
41547         * misc/Makefile (routines): Add ifunc-impl-list.
41548         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41549         * string/test-string.h: Include <ifunc-impl-list.h>.
41550         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41551         TEST_NAME]: New variables.
41552         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41553         are defined.
41554         (test_init): Call __libc_ifunc_impl_list to initialize
41555         func_list if TEST_IFUNC and TEST_NAME are defined.
41557         * string/Makefile (strop-tests): Add bcopy and bzero.
41558         * string/test-bcopy.c: New file.
41559         * string/test-bzero.c: Likewise.
41560         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41561         defined.
41562         * string/test-memset.c: Support bzero test if TEST_BZERO is
41563         defined.
41564         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41565         __libc_memmove.
41566         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41567         __libc_memset.
41568         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41569         of memset.
41571 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41573         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41574         * configure: Regenerated.
41576         * Makeconfig (+link-static-before-libc): Don't include
41577         $(link-static-libc).
41579         * libio/libio.h (_IO_pos_t): Remove.
41581 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41583         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41584         McGrath.
41586 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41588         * crypt/crypt-entry.c: Include fips-private.h.
41589         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41590         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41591         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41592         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41594 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41596         * crypt/crypt-private.h: Include stdbool.h.
41597         (_ufc_setup_salt_r): Return bool.
41598         * crypt/crypt-entry.c: Include errno.h.
41599         (__crypt_r): Return NULL with EINVAL for bad salt.
41600         * crypt/crypt_util.c (bad_for_salt): New.
41601         (_ufc_setup_salt_r): Check that salt is long enough and within
41602         the specified alphabet.
41603         * crypt/badsalttest.c: New file.
41604         * crypt/Makefile (tests): Add it.
41605         ($(objpfx)badsalttest): New.
41607 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41609         * NEWS: Add entry for BZ #14602.
41611 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41613         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41614         type-generic.
41615         * math/libm-test.inc: Update comment listing what functions and
41616         macros are tested.
41617         (isgreater_test): New function.
41618         (isgreaterequal_test): Likewise.
41619         (isless_test): Likewise.
41620         (islessequal_test): Likewise.
41621         (islessgreater_test): Likewise.
41622         (isunordered_test): Likewise.
41623         (main): Call the new functions.
41625 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41627         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41628         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41629         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41630         * sysdeps/i386/configure: Regenerated.
41631         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41632         * sysdeps/mach/configure: Regenerated.
41633         * sysdeps/mach/hurd/configure: Regenerated.
41634         * sysdeps/powerpc/configure: Regenerated.
41635         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41636         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41637         * sysdeps/s390/s390-32/configure: Regenerated.
41638         * sysdeps/s390/s390-64/configure: Regenerated.
41639         * sysdeps/sh/configure: Regenerated.
41640         * sysdeps/sparc/configure: Regenerated.
41641         * sysdeps/unix/sysv/linux/configure: Regenerated.
41642         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41643         * sysdeps/x86_64/configure: Regenerated.
41645         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41646         defined.  Don't check if MAP is NULL.
41648 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41650         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41651         (_G_stat64): Likewise.
41652         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41653         (_G_stat64): Likewise.
41654         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41655         instead of struct _G_stat64.
41656         * libio/fileops.c (mmap_remap_check): Likewise.
41657         (decide_maybe_mmap): Likewise.
41658         (_IO_new_file_seekoff): Likewise.
41659         (_IO_file_stat): Likewise.
41660         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41661         _G_off64_t.
41662         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41663         instead of struct _G_stat64.
41664         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41666 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41668         [BZ #14602]
41669         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41670         Replace with ...
41671         (CHECK_EOL): New macro.
41672         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41673         CHECK_EOL.
41674         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41675         Replace with CHECK_EOL.
41676         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41677         Replace with CHECK_EOL.
41679 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41681         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41682         type-generic.
41683         * math/libm-test.inc: Update comment listing what functions and
41684         macros are tested.
41685         (finite_test): New function.
41686         (isinf_test): Likewise.
41687         (isnan_test): Likewise.
41688         (fpclassify_test): Test subnormal input.
41689         (isfinite_test): Likewise.
41690         (isnormal_test): Likewise.
41691         (main): Call the new functions.
41693 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41695         [BZ #14660]
41696         * Makerules (%.dynsym): Force C locale when running
41697         $(OBJDUMP) --dynamic-syms.
41699 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41701         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41702         <stdint.h>.
41704 2012-10-06  David S. Miller  <davem@davemloft.net>
41706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41707         upper 32-bits of the length value in %o2 since we use branch-on-register
41708         tests which consider the entire 64-bit register.
41710 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41712         * string/test-strstr.c (check2): Add a test for page boundary.
41714 2012-10-05  David S. Miller  <davem@davemloft.net>
41716         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41717         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41718         file.
41719         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41720         sysdep_routines.
41721         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41722         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41723         and bzero when HWCAP_SPARC_CRYPTO is present.
41725 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41727         [BZ #14602]
41728         * string/test-strstr.c (check2): New function.
41729         (test_main): Call check2.
41731         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41732         and bug-strchr1.
41733         * string/bug-strcasestr1.c (do_test): Moved to ...
41734         * string/test-strcasestr.c (check1): Here.  New function.
41735         (do_one_test): Break out result checking code into ...
41736         (check_result): This.  New function.
41737         (do_one_test): Call check_result.
41738         (test_main): Call check1.
41739         * string/bug-strchr1.c (do_test): Moved to ...
41740         * string/test-strchr.c (check1): Here.  New function.
41741         (do_one_test): Break out result checking code into ...
41742         (check_result): This.  New function.
41743         (do_one_test): Call check_result.
41744         (test_main): Call check1.
41745         * string/bug-strstr1.c (main): Moved to ...
41746         * string/test-strstr.c (check1): Here.  New function.
41747         (do_one_test): Break out result checking code into ...
41748         (check_result): This.  New function.
41749         (do_one_test): Call check_result.
41750         (test_main): Call check1.
41751         * string/bug-strcasestr1.c: Removed.
41752         * string/bug-strchr1.c: Likewise.
41753         * string/bug-strstr1.c: Likewise.
41755         * elf/Makefile (dl-routines): Add hwcaps.
41756         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41757         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41758         (_dl_important_hwcaps): Moved to ...
41759         * elf/dl-hwcaps.c: Here.  New file.
41760         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41762         [BZ #14557]
41763         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41764         if IS_IN_rtld isn't defined.
41766         * elf/dl-support.c (_dl_sysinfo_map): New.
41767         Include "get-dynamic-info.h" and "setup-vdso.h".
41768         (_dl_non_dynamic_init): Call setup_vdso.
41769         * elf/dynamic-link.h: Don't include <assert.h>.
41770         (elf_get_dynamic_info): Moved to ...
41771         * elf/get-dynamic-info.h: Here.  New file.
41772         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41773         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41774         * elf/setup-vdso.h: Here.  New file.
41775         * elf/rtld.c: Include "setup-vdso.h".
41776         (dl_main): Call setup_vdso.
41778 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41780         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41781         creal in comment listing functions tested.  List finite, isinf,
41782         isnan, isless, islessequal, isgreater, isgreaterequal,
41783         islessgreater, isunordered, lgamma_r and pow10 as functions and
41784         macros not tested.  Mention which functions not tested are aliases
41785         for other functions.  Fix typo.  Note that signs of NaNs are not
41786         tested.
41788         * scripts/config.guess: Update from config.git.
41789         * scripts/config.sub: Likewise.
41791 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41793         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41794         * misc/madvise.c (madvise): Renamed to __madvise.
41795         Make madvise a weak alias.
41796         * include/sys/mman.h: Declare __madvise.
41797         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41798         * sysdeps/unix/syscalls.list
41799         (madvise): Make __madvise the strong name, and madvise a weak alias.
41800         * sysdeps/unix/sysv/linux/syscalls.list
41801         (madvise, mmap): Remove redundant entries.
41802         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41803         * malloc/malloc.c (mtrim): Likewise.
41804         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41806 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41808         * sysdeps/mach/hurd/dl-cache.c: File removed.
41809         * config.h.in (USE_LDCONFIG): New #undef.
41810         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41811         * configure: Regenerated.
41812         * elf/Makefile (dl-routines): Add dl-cache only under
41813         [$(use-ldconfig) = yes].
41814         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41815         cache on [USE_LDCONFIG].
41816         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41817         [USE_LDCONFIG].
41818         * elf/rtld.c (dl_main): Likewise.
41820 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41822         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41823         _SC_LEVEL4_CACHE_LINESIZE.
41825 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41827         * sysdeps/unix/bsd/confstr.h: File removed.
41829 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41831         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41832         sys/sdt-config.h.
41834 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41836         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41837         Make 'mapoff' field ElfW(Off) rather than off_t.
41839 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41841         * nscd/Makefile: Remove nscd-cflags and all its users.
41842         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41843         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41845         [BZ #10631]
41846         * malloc.c (malloc_printerr): Clarify error message.
41848 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41850         [BZ #14648]
41851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41852         Set bit_FMA_Usable if FMA is supported.
41853         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41854         macro.
41855         (bit_FMA4_Usable): Updated.
41856         (index_FMA_Usable): New macro.
41857         (CPUID_FMA): Likewise
41858         (HAS_FMA): Defined with bit_FMA_Usable.
41860 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41862         * bits/types.h (__swblk_t): Type removed.
41863         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41864         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41866         (__SWBLK_T_TYPE): Likewise.
41867         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41868         (__SWBLK_T_TYPE): Likewise.
41869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41870         (__SWBLK_T_TYPE): Likewise.
41871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41872         (__SWBLK_T_TYPE): Likewise.
41874 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41875             Honza Horak <hhorak@redhat.com>
41877         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41878         (xdr_mapname): Use YPMAXMAP as maxsize.
41879         (xdr_peername): Use YPMAXPEER as maxsize.
41880         (xdr_keydat): Use YPAXRECORD as maxsize.
41881         (xdr_valdat): Use YPMAXRECORD as maxsize.
41883 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41885         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41887         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41888         * csu/init-first.c: ... here.
41889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41890         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41891         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41892         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41893         * sysdeps/i386/init-first.c: File removed.
41894         * sysdeps/sh/init-first.c: File removed.
41896 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41898         [BZ #14645]
41899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41900         if x * y might underflow to zero and z is zero.
41901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41903         * math/libm-test.inc (min_subnorm_value): New variable.
41904         (fma_test): Add more tests.
41905         (fma_test_towardzero): Likewise.
41906         (fma_test_downward): Likewise
41907         (fma_test_upward): Likewise.
41908         (initialize): Set min_subnorm_value.
41910 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41912         [BZ #14638]
41913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41914         0 + 0.
41915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41916         mode for addition resulting in exact zero.
41917         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41919         exact 0 + 0.
41920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41922         * math/libm-test.inc (fma_test): Add more tests.
41923         (fma_test_towardzero): New function.
41924         (fma_test_downward): Likewise.
41925         (fma_test_upward): Likewise.
41926         (main): Call the new functions.
41928 2012-09-28  David S. Miller  <davem@davemloft.net>
41930         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41932 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41934         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41935         instead of SIGALRM.
41937         * sysdeps/gnu/_G_config.h: Moved to ...
41938         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41939         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41940         * sysdeps/generic/_G_config.h: ... here.
41942         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41944         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41946         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41947         Conditionalize target on [libnss_test1.so-version].
41949         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41951         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41952         (elfobjdir): Move out of conditionals.
41954         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41955         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41956         (__nss_lookup_function): Conditionalize label remove_from_tree on
41957         [!DO_STATIC_NSS || SHARED], matching its only use.
41959 2012-09-28  David S. Miller  <davem@davemloft.net>
41961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41962         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41963         file.
41964         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41965         sysdep_routines.
41966         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41968         when HWCAP_SPARC_CRYPTO is present.
41970 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41972         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41974 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41976         [BZ #6530]
41977         * stdio-common/vfprintf.c (process_string_arg): Revert
41978         2000-07-22 change.
41980 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41982         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41983         for testcase.
41984         * stdio-common/tst-sprintf.c: Include <locale.h>
41985         (main): Test sprintf's handling of incomplete multibyte
41986         characters.
41988 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41990         * elf/dl-runtime.c (VERSYMIDX): Removed.
41991         * elf/dl-version.c (VERSYMIDX): Likewise.
41992         * elf/do-rel.h (VERSYMIDX): Likewise.
41993         (VALIDX): Likewise.
41994         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41995         * elf/rtld.c (VALIDX): Likewise.
41996         (ADDRIDX): Likewise.
41997         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41998         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41999         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42000         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42001         (VALIDX): Likewise.
42002         (ADDRIDX): Likewise.
42004 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42006         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42008 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42010         [BZ #11438]
42011         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42012         to global scope.
42013         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42014         addresses are in the same scope as 192.0.2/24.
42015         * posix/gai.conf: Document new scope table defaults.
42017 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42019         [BZ #5298]
42020         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42021         for ftell.  Compute offsets from write pointers instead.
42022         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42024 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42026         [BZ #14543]
42027         * libio/Makefile (tests): New test case tst-fseek.
42028         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42029         combination works in wide mode.
42030         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42031         state when the external buffer state changes.
42033 2012-09-27  David S. Miller  <davem@davemloft.net>
42035         [BZ #14376]
42036         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42037         pass reloc->r_addend in as the 'high' argument to
42038         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42042 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42044         * rt/tst-aio2.c: Include <pthread.h>.
42045         * rt/tst-aio3.c: Likewise.
42047 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42049         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42051 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42053         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42054         contents on [SHARED].
42056 2012-09-26  Marek Polacek  <polacek@redhat.com>
42058         [BZ #14530]
42059         [BZ #13741]
42060         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42061         for C++ and GCC <4.3 as well as for non GCC compilers.
42063 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42067 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42069         * Makefile.in (all, install): Declare with .PHONY.
42070         Reported by Michael Hope <michael.hope@linaro.org>.
42072 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42074         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42075         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42076         system header.
42077         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42078         Likewise.
42079         (sydep_routines): Add the new and the internal functions.
42080         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42081         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42083         (GLIBC_2.17): Add the new function.
42084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42085         (GLIBC_2.17): Likewise.
42086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42087         (GLIBC_2.17): Likewise.
42088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42089         (GLIBC_2.17): Likewise.
42090         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42092 2012-09-25  Alan Modra  <amodra@gmail.com>
42094         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42095         Add release barrier before setting once_control to say
42096         initialisation is done.  Add hints on lwarx.  Use macro in
42097         place of isync.
42098         (clear_once_control): Add release barrier.
42100 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42102         [BZ #13629]
42103         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42104         specially.
42105         * math/s_clog10.c (__clog10): Likewise.
42106         * math/s_clog10f.c (__clog10f): Likewise.
42107         * math/s_clog10l.c (__clog10l): Likewise.
42108         * math/s_clogf.c (__clogf): Likewise.
42109         * math/s_clogl.c (__clogl): Likewise.
42110         * math/Makefile (libm-calls): Add x2y2m1.
42111         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42112         (__x2y2m1): Likewise.
42113         (__x2y2m1l): Likewise.
42114         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42115         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42116         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42117         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42118         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42119         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42120         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42121         * sysdeps/i386/fpu/libm-test-ulps: Update.
42122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42124         [BZ #14621]
42125         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42126         int as type of variable DEPTH.
42127         (glob): Use size_t instead of int as type of variables NEWCOUNT
42128         and OLD_PATHC.
42130 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42132         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42133         Add s_sincosf-sse2.
42134         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42135         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42136         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42137         macros for using routine as __sincosf_ia32.
42138         Use macro for function declaration and weak_alias.
42139         * sysdeps/i386/fpu/libm-test-ulps: Update.
42141         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42144         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42145         subnormal argument.
42146         * math/s_cexpf.c (__cexpf): Likewise.
42147         * math/s_csinf.c (__csinf): Likewise.
42148         * math/s_csinhf.c (__csinhf): Likewise.
42149         * math/s_ctanf.c (__ctanf): Likewise.
42150         * math/s_ctanhf.c (__ctanhf): Likewise.
42151         * math/s_ccosh.c (__ccoshf): Likewise.
42152         * math/s_cexp.c (__cexpl): Likewise.
42153         * math/s_csin.c (__csin): Likewise.
42154         * math/s_csinh.c (__csinh): Likewise.
42155         * math/s_ctan.c (__ctan): Likewise.
42156         * math/s_ctanh.c (ctanh): Likewise.
42157         * math/s_ccoshl.c (__ccoshl): Likewise.
42158         * math/s_cexpl.c (__cexpl): Likewise.
42159         * math/s_csinl.c (__csinl): Likewise.
42160         * math/s_csinhl.c (__csinhl): Likewise.
42161         * math/s_ctanl.c (__ctanl): Likewise.
42162         * math/s_ctanhl.c (__ctanhl): Likewise.
42164 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42166         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42167         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42168         (_IO_off_t): Define to __off_t, not _G_off_t.
42169         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42170         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42171         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42172         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42173         type of __dummy and __dummy2 fields.
42174         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42175         (_G_ssize_t): Likewise.
42176         (_G_off_t): Likewise.
42177         (_G_pid_t): Likewise.
42178         (_G_uid_t): Likewise.
42179         (_G_wchar_t): Likewise.
42180         (_G_wint_t): Likewise.
42181         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42182         (_G_ssize_t): Likewise.
42183         (_G_off_t): Likewise.
42184         (_G_pid_t): Likewise.
42185         (_G_uid_t): Likewise.
42186         (_G_wchar_t): Likewise.
42187         (_G_wint_t): Likewise.
42188         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42189         (_G_ssize_t): Likewise.
42190         (_G_off_t): Likewise.
42191         (_G_pid_t): Likewise.
42192         (_G_uid_t): Likewise.
42193         (_G_wchar_t): Likewise.
42194         (_G_wint_t): Likewise.
42196 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42198         * malloc/arena.c: Include malloc-sysdep.h.
42199         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42200         is sufficient to shrink the heap or an unmap is needed.
42201         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42202         new function check_may_shrink_heap.
42203         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42204         new function check_may_shrink_heap.
42206 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42208         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42209         comments.
42211 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42213         * catgets/test-gencat.sh: Add "set -e".
42214         * elf/tst-pathopt.sh: Likewise.
42215         * grp/tst_fgetgrent.sh: Likewise.
42216         * iconvdata/run-iconv-test.sh: Likewise.
42217         * intl/tst-gettext.sh: Likewise.
42218         * intl/tst-gettext2.sh: Likewise.
42219         * intl/tst-gettext4.sh: Likewise.
42220         * intl/tst-gettext6.sh: Likewise.
42221         * intl/tst-translit.sh: Likewise.
42222         * io/ftwtest-sh: Likewise.
42223         * libio/test-freopen.sh: Likewise.
42224         * malloc/tst-mtrace.sh: Likewise.
42225         * posix/globtest.sh: Likewise.
42226         * posix/tst-getconf.sh: Likewise.
42227         * posix/wordexp-tst.sh: Likewise.
42228         * stdio-common/tst-printf.sh: Likewise.
42229         * stdio-common/tst-unbputc.sh: Likewise.
42230         * stdlib/tst-fmtmsg.sh: Likewise.
42231         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42232         * catgets/Makefile: Do not specify -e option when running
42233         testsuite shell scripts.
42234         * elf/Makefile: Likewise.
42235         * grp/Makefile: Likewise.
42236         * iconvdata/Makefile: Likewise.
42237         * intl/Makefile: Likewise.
42238         * io/Makefile: Likewise.
42239         * libio/Makefile: Likewise.
42240         * malloc/Makefile: Likewise.
42241         * posix/Makefile: Likewise.
42242         * stdio-common/Makefile: Likewise.
42243         * stdlib/Makefile: Likewise.
42244         * sysdeps/x86_64/Makefile: Likewise.
42246         * io/ftwtest-sh: Add copyright header.
42247         * posix/globtest.sh: Likewise.
42248         * posix/tst-getconf.sh: Likewise.
42249         * posix/wordexp-tst.sh: Likewise.
42250         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42252 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42254         [BZ #13679]
42255         * Makeconfig (+link): Defined as $(+link-static) if
42256         $(build-shared) isn't yes.
42257         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42258         isn't yes.
42259         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42261         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42263         [BZ #14562]
42264         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42265         new chunk size with MALLOC_ALIGN_MASK.
42267 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42269         [BZ #5044]
42270         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42271         <rounding-mode.h>.
42272         (__printf_fphex): Determine rounding using get_rounding_mode and
42273         round_away.
42274         * stdio-common/tst-printf-round.c (struct hex_test): New
42275         structure.
42276         (hex_tests): New variable.
42277         (test_hex_in_one_mode): New function.
42278         (do_test): Also run tests for hex float output.
42280 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42282         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42283         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42284         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42285         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42286         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42287         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42288         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42289         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42291 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42293         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42294         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42295         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42296         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42298 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42300         [BZ #14579]
42301         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42302         mode only.
42303         * elf/tst-rtld-load-self.sh: New test.
42304         * elf/Makefile: Run it.
42306 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42308         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42309         (tst-writev-ENV): Remove.
42310         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42312 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42314         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42316 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42318         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42319         unconditional.
42320         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42321         Likewise.
42322         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42323         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42324         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42325         Likewise.
42327 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42329         [BZ #14587]
42330         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42331         * config.make.in (have-cpp-asm-debuginfo): Removed.
42332         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42333         * configure: Regenerated.
42335 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42337         [BZ #5044]
42338         * stdio-common/printf_fp.c: Include <stdbool.h> and
42339         <rounding-mode.h>.
42340         (___printf_fp): Determine rounding using get_rounding_mode and
42341         round_away.
42342         * stdio-common/tst-printf-round.c: New file.
42343         * stdio-common/Makefile (tests): Add tst-printf-round.
42344         (link-libm): New variable.
42345         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42347 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42349         [BZ #14576]
42350         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42351         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42352         Likewise.
42353         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42354         Likewise.
42356 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42358         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42359         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42360         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42361         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42363 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42365         [BZ #14518]
42366         * include/rounding-mode.h: New file.
42367         * sysdeps/generic/get-rounding-mode.h: Likewise.
42368         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42369         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42370         (MAX_VALUE): New macro.
42371         (MIN_VALUE): Likewise.
42372         (overflow_value): New function.
42373         (underflow_value): Likewise.
42374         (round_and_return): Use overflow_value and underflow_value to
42375         determine return values in overflow and underflow cases.  Use
42376         round_away to determine rounding depending on rounding mode.
42377         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42378         determine return values in overflow and underflow cases.
42379         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42380         (struct test_results): New structure.
42381         (struct test): Use struct test_results to store expected results
42382         for all rounding modes.
42383         (TEST): Include expected results for all rounding modes.
42384         (test_in_one_mode): New function.
42385         (do_test): Use test_in_one_mode to compute and check results.
42386         Check results for all rounding modes.
42387         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42388         $(link-libm).
42390 2012-12-09  Allan McRae  <allan@archlinux.org>
42392         * sysdeps/i386/fpu/libm-test-ulps: Update
42394 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42396         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42397         (_G_int32_t): Likewise.
42398         (_G_uint16_t): Likewise.
42399         (_G_uint32_t): Likewise.
42400         (_G_HAVE_BOOL): Likewise.
42401         (_G_HAVE_ATEXIT): Likewise.
42402         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42403         (_G_HAVE_IO_FILE_OPEN): Likewise.
42404         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42405         (_G_int32_t): Likewise.
42406         (_G_uint16_t): Likewise.
42407         (_G_uint32_t): Likewise.
42408         (_G_HAVE_BOOL): Likewise.
42409         (_G_HAVE_ATEXIT): Likewise.
42410         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42411         (_G_HAVE_IO_FILE_OPEN): Likewise.
42412         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42413         (_G_int32_t): Likewise.
42414         (_G_uint16_t): Likewise.
42415         (_G_uint32_t): Likewise.
42416         (_G_HAVE_BOOL): Likewise.
42417         (_G_HAVE_ATEXIT): Likewise.
42418         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42419         (_G_HAVE_IO_FILE_OPEN): Likewise.
42421 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42423         * csu/libc-tls.c: Update copyright years.
42425 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42427         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42428         [!_G_USING_THUNKS]: Remove conditional code.
42429         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42430         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42432         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42433         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42434         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42435         (_G_VTABLE_LABEL_PREFIX): Likewise.
42436         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42437         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42438         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42439         (_G_VTABLE_LABEL_PREFIX): Likewise.
42440         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42441         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42442         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42443         (_G_VTABLE_LABEL_PREFIX): Likewise.
42444         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42446 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42448         * libio/Makefile: Include ../Makeconfig before tests.
42449         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42450         only if $(build-shared) is yes.
42452         * iconv/gconv_db.c: Update copyright years.
42454 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42456         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42457         unwind info if defined PIC. Fix special cases description.
42458         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42460         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42461         DP_HI_MASK entry.
42462         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42464 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42466         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42468         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42469         is NULL.
42471         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42472         (LDLIBS-tst-chk4): This.
42473         (LDFLAGS-tst-chk5): Renamed to ...
42474         (LDLIBS-tst-chk5): This.
42475         (LDFLAGS-tst-chk6): Renamed to ...
42476         (LDLIBS-tst-chk6): This.
42477         (LDFLAGS-tst-lfschk4): Renamed to ...
42478         (LDLIBS-tst-lfschk4): This.
42479         (LDFLAGS-tst-lfschk5): Renamed to ...
42480         (LDLIBS-tst-lfschk5): This.
42481         (LDFLAGS-tst-lfschk6): Renamed to ...
42482         (LDLIBS-tst-lfschk6): This.
42484         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42485         on $(common-objpfx)soversions.mk.
42487 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42489         [BZ #10014]
42490         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42491         example host name.
42493 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42495         * malloc/arena.c (arena_get_retry): New function that gets
42496         another arena for the caller to try its request on.
42497         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42498         current arena cannot fulfill the request.
42499         (__libc_memalign): Likewise.
42500         (__libc_memalign): Likewise.
42501         (__libc_pvalloc): Likewise.
42502         (__libc_calloc): Likewise.
42504 2012-09-05  John Tobey  <john.tobey@gmail.com>
42506         [BZ #13542]
42507         * manual/arith.texi (Operations on Complex): Fix description
42508         of carg branch cut.
42510 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42512         [BZ #10014]
42513         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42514         host name.
42516         [BZ #10038]
42517         * manual/memory.texi (Memory): Make order of menu items match
42518         order of sections.
42520 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42522         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42523         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42524         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42526 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42528         * csu/libc-tls.c (static_dtv): Renamed to ...
42529         (_dl_static_dtv): This.  Make it global.
42530         (_dl_initial_dtv): Removed.
42531         (__libc_setup_tls): Updated.
42532         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42533         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42534         DL_INITIAL_DTV.
42536 2012-09-06  Petr Machata  <pmachata@redhat.com>
42538         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42539         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42540         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42541         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42543 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42545         [BZ #14545]
42546         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42547         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42548         freeing dtv[-1].
42550 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42552         [BZ #14544]
42553         * Makeconfig (link-static-before-libc): Replace $(+prector)
42554         with $(+prectorT).
42555         (link-static-after-libc): Replace $(+postctor) with
42556         $(+postctorT).
42557         (link-bounded): Replace $(+prector)/$(+postctor) with
42558         $(+prectorT)/$(+postctorT).
42559         (+prectorT): New macro.
42560         (+postctorT): Likewise.
42562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42564         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42565         (round_str): Handle values above the maximum for IBM long double
42566         as inexact.
42567         * stdlib/tst-strtod-round.c (tests): Regenerated.
42569 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42571         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42572         assembler flag.
42573         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42574         zarch_nohighgprs around the zarch optimized routines.
42575         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42576         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42577         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42578         for zarch.
42580 2012-09-05  David S. Miller  <davem@davemloft.net>
42582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42584         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42585         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42586         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42587         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42588         entries.
42590 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42592         * malloc/arena.c: Fold copyright years.
42593         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42595 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42597         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42599 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42601         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42603 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42605         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42606         change internal state upon failure.
42608 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42610         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42611         * malloc/memusage.c (mmap): Likewise.
42612         (mmap64, mremap): Likewise.  Adjust name in comment.
42614 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42616         * libio/fileops.c: Fix typos in comments.
42617         * libio/oldfileops.c: Likewise.
42618         * libio/wfileops.c: Likewise.
42620 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42622         [BZ #1349]
42623         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42624         (tst-malloc-usable-ENV): Set environment for test case.
42625         * malloc/hooks.c (malloc_check_get_size): New function to get
42626         requested size.
42627         * malloc/malloc.c (musable): Use malloc_check_get_size.
42628         * malloc/tst-malloc-usable.c: New test case.
42630 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42632         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42634 2012-09-05  Allan McRae  <allan@archlinux.org>
42636         [BZ #13966]
42637         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42638         determine header location.
42639         * configure: Regenerated.
42641 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42643         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42644         float format.
42645         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42646         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42647         format.
42648         (test): Regenerate.
42650 2012-09-04  David S. Miller  <davem@davemloft.net>
42652         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42653         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42654         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42656 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42658         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42659         failures.
42661         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42663 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42665         [BZ #9914]
42666         * libio/iogetdelim.c: Include <limits.h>.
42667         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42668         + len + 1 would overflow.
42670 2012-09-03  Andreas Jaeger  <aj@suse.de>
42672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42673         * sysdeps/i386/fpu/libm-test-ulps: Update.
42675 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42677         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42678         Add s_sinf-sse2, s_conf-sse2.
42680         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42681         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42682         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42683         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42685         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42686         for using routine as __sinf_ia32.
42687         Use macro for function declaration and weak_alias.
42688         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42689         for using routine as __cosf_ia32.
42690         Use macro for function declaration and weak_alias.
42692         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42693         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42695         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42696         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42699         * math/libm-test.inc (cos_test): Add more test cases.
42700         (sin_test): Likewise.
42701         (sincos_test): Likewise.
42703 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42705         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42706         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42707         hidden.
42708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42710 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42712         [BZ #14538]
42713         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42714         first element of the GOT.
42715         (elf_machine_load_address): Return the difference between
42716         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42718 2012-09-01  Allan McRae  <allan@archlinux.org>
42720         [BZ #13412]
42721         * configure.in (AWK): Require gawk version 3.0 or later.
42722         * configure: Regenerated.
42724 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42726         * sysdeps/unix/sysv/linux/kernel-features.h
42727         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42728         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42729         [__NR_clock_getres]: Make code unconditional.
42730         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42731         (clock_getcpuclockid): Remove code left unreachable by removal of
42732         conditionals.
42733         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42734         code unconditional.
42735         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42736         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42737         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42738         Make code unconditional.
42739         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42740         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42741         * sysdeps/unix/sysv/linux/clock_settime.c
42742         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42743         conditional code.
42744         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42745         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42747 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42749         [BZ #14476]
42750         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42751         scripts/test-installation.pl.
42753         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42754         and $ld_so_version if it is set.
42756 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42758         [BZ #14516]
42759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42760         failure if reading from procfs failed.
42761         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42763 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42765         * sysdeps/unix/sysv/linux/kernel-features.h
42766         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42767         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42768         Remove conditional code.
42769         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42770         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42771         Remove conditional code.
42772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42773         * sysdeps/unix/sysv/linux/i386/fxstat.c
42774         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42776         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42777         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42779         * sysdeps/unix/sysv/linux/i386/lxstat.c
42780         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42782         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42783         Remove conditional code.
42784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42785         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42786         Remove conditional code.
42787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42788         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42789         <kernel-features.h>.
42790         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42791         Remove.
42792         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42793         Remove conditional code.
42794         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42795         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42796         Remove conditional.
42798 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42800         [BZ #5400]
42801         * NEWS: Add fixed bug number.
42803 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42805         [BZ #14519]
42806         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42807         underflowing exponent in case of negative sign.
42808         * stdlib/tst-strtod-round-data: Add more tests.
42809         * stdlib/tst-strtod-round.c (tests): Regenerated.
42811         [BZ #3479]
42812         * stdlib/strtod_l.c (NDIG): Remove.
42813         (HEXNDIG): Likewise.
42814         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42815         smallest representable value.
42816         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42817         lie within an exact representation of 1/2 ulp of the result.
42818         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42819         unconditionally.
42820         (TENS_P9_IDX): Define unconditionally.
42821         (TENS_P9_SIZE): Likewise.
42822         (TENS_P10_IDX): Likewise.
42823         (TENS_P10_SIZE): Likewise.
42824         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42825         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42826         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42827         entries for 10^2^13 and 10^2^14.
42828         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42829         (TENS_P13_IDX): Define.
42830         (TENS_P13_SIZE): Likewise.
42831         (TENS_P14_IDX): Likewise.
42832         (TENS_P14_SIZE): Likewise.
42833         (_fpioconst_pow10): Change array size to
42834         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42835         unconditional.
42836         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42837         1024]: Add entries for 10^2^13 and 10^2^14.
42838         [LAST_POW10 > _LAST_POW10]: Remove #error.
42839         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42840         (_fpioconst_pow10): Change array size to
42841         FPIOCONST_POW10_ARRAY_SIZE.
42842         * stdlib/gen-fpioconst.c: New file.
42843         * stdlib/gen-tst-strtod-round.c: Likewise.
42844         * stdlib/tst-strtod-round-data: Likewise.
42845         * stdlib/tst-strtod-round.c: Likewise.
42846         * stdlib/Makefile (tests): Add tst-strtod-round.
42848         [BZ #14459]
42849         * stdlib/strtod_l.c: Include <stdint.h>.
42850         (NDEBUG): Do not define.
42851         (round_and_return): Change EXPONENT parameter to type intmax_t.
42852         Rearrange calculations to avoid internal overflow possibilities.
42853         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42854         Rearrange calculations to avoid internal overflow possibilities.
42855         Assert that number fits inside MPNSIZE limbs.
42856         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42857         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42858         calculations and add assertions to avoid internal overflow
42859         possibilities.  Add casts to avoid signed/unsigned operations.
42860         * stdlib/tst-strtod-overflow.c: New file.
42861         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42863 2012-08-25  Marek Polacek  <polacek@redhat.com>
42865         * time/time.h: Fix some typos in comments.
42867 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42869         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42870         * posix/tst-rfc3484-2.c: Likewise.
42871         * posix/tst-rfc3484-3.c: Likewise.
42873 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42875         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42876         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42878 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42880         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42881         #include of fxstatat64.c.
42883 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42885         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42886         * shadow/getspent_r.c: Likewise.
42887         * shadow/getspnam.c: Likewise.
42888         * shadow/getspnam_r.c: Likewise.
42889         * gshadow/getsgent.c: Likewise.
42890         * gshadow/getsgent_r.c: Likewise.
42891         * gshadow/getsgnam.c: Likewise.
42892         * gshadow/getsgnam_r.c: Likewise.
42893         * inet/getnetbyad.c: Likewise.
42894         * inet/getnetbyad_r.c: Likewise.
42895         * inet/getnetbynm.c: Likewise.
42896         * inet/getnetbynm_r.c: Likewise.
42897         * inet/getnetent.c: Likewise.
42898         * inet/getnetent_r.c: Likewise.
42899         * inet/getproto.c: Likewise.
42900         * inet/getproto_r.c: Likewise.
42901         * inet/getprtent.c: Likewise.
42902         * inet/getprtent_r.c: Likewise.
42903         * inet/getprtname.c: Likewise.
42904         * inet/getprtname_r.c: Likewise.
42905         * inet/getrpcbyname.c: Likewise.
42906         * inet/getrpcbyname_r.c: Likewise.
42907         * inet/getrpcbynumber.c: Likewise.
42908         * inet/getrpcbynumber_r.c: Likewise.
42909         * inet/getrpcent.c: Likewise.
42910         * inet/getrpcent_r.c: Likewise.
42911         * inet/getaliasent.c: Likewise.
42912         * inet/getaliasent_r.c: Likewise.
42913         * inet/getaliasname.c: Likewise.
42914         * inet/getaliasname_r.c: Likewise.
42915         * nscd/getgrgid_r.c: Likewise.
42916         * nscd/getgrnam_r.c: Likewise.
42917         * nscd/gethstbyad_r.c: Likewise.
42918         * nscd/gethstbynm3_r.c: Likewise.
42919         * nscd/getpwnam_r.c: Likewise.
42920         * nscd/getpwuid_r.c: Likewise.
42921         * nscd/getsrvbynm_r.c: Likewise.
42922         * nscd/getsrvbypt_r.c: Likewise.
42923         * nscd/gai.c: Likewise.
42925         * configure.in (build_nscd): New substituted variable, set
42926         by --disable-build-nscd and defaults to $use_nscd.
42927         * configure: Regenerated.
42928         * config.make.in (build-nscd): New substituted variable.
42929         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42930         Change conditional to require [$(build-nscd) = yes] as well.
42931         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42933         [BZ# 13696]
42934         * configure.in (use_nscd): New substituted variable, set by
42935         --disable-nscd.  If enabled, define USE_NSCD.
42936         * configure: Regenerated.
42937         * config.h.in: Add USE_NSCD.
42938         * config.make.in (use-nscd): New substituted variable.
42939         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42940         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42941         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42942         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42943         (CFLAGS-getgrnam_r.c): Likewise.
42944         (CFLAGS-initgroups.c): Likewise.
42945         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42946         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42947         Variables removed.
42948         * inet/getnetgrent_r.c
42949         (nscd_setnetgrent): New function, broken out of ...
42950         (setnetgrent): ... here.  Call it.
42951         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42952         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42953         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42954         * nscd/Makefile (routines, aux): Move definitions after include of
42955         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42956         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42957         Conditionalize on [USE_NSCD].
42958         (is_nscd, nscd_init_cb): Likewise.
42959         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42960         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42961         * nss/nss_db/db-init.c: Likewise.
42962         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42963         [USE_NSCD].
42964         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42965         (make_request): Use it.
42966         (cache_valid_p): New function.
42967         (__check_pf): Use it.
42968         * NEWS: Add item for --disable-nscd.
42970 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42972         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42973         to support sed >= 4.2.1-20-ga9bf076.
42974         * configure: Regenerated.
42976 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42978         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42979         Conditionalize whole body on [IREL].
42981 2012-08-22  Jeff Law <law@redhat.com>
42983         [BZ #14505]
42984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42985         if the family is PF_UNSPEC.
42987 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42989         * Makerules (lib-version): Rename from V.
42990         (install-lib-nosubdir): Change V to lib-version.
42992 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42994         [BZ #14252]
42995         * powerpc32/power6/wcschr.c: New file.
42996         * powerpc32/power6/wcscpy.c: New file.
42997         * powerpc32/power6/wcsrchr.c: New file.
42998         * powerpc64/power6/wcschr.c: New file.
42999         * powerpc64/power6/wcscpy.c: New file.
43000         * powerpc64/power6/wcsrchr.c: New file.
43002 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43004         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43005         (two_way_short_needle): Use it.
43006         * string/strstr.c (AVAILABLE1_USES_J): Define.
43007         * string/strcasestr.c: Likewise.
43009         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43010         array references.
43011         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43013         [BZ #11607]
43014         * NEWS: Add an entry.
43015         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43016         define their defaults.
43017         (two_way_short_needle): Detect end-of-string on-the-fly.
43018         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43019         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43020         * string/bug-strcasestr1.c: New test.
43021         * string/Makefile: Run it.
43023 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43025         [BZ #11607]
43026         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43027         the first character.
43029 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43031         * csu/elf-init.c (__libc_csu_irel): Function removed.
43032         * csu/libc-start.c (apply_irel): New function.
43033         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43035 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43037         * sysdeps/unix/sysv/linux/kernel-features.h
43038         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43039         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43040         <kernel-features.h>.
43041         [__NR_fadvise64_64]: Make code unconditional.
43042         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43043         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43044         !__NR_fadvise64_64)]: Likewise.
43045         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43046         !__NR_fadvise64_64))]: Likewise.
43047         [__NR_fadvise64]: Make code unconditional.
43048         [!__NR_fadvise64]: Remove conditional code.
43049         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43050         <kernel-features.h>.
43051         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43052         unconditional.
43053         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43054         conditional code.
43055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43056         not include <kernel-features.h>.
43057         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43058         unconditional.
43059         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43060         conditional code.
43061         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43062         include <kernel-features.h>.
43063         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43064         unconditional.
43065         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43066         conditional code.
43068 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43071         slight instruction rearrangements per scrollpipe analysis.
43072         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43074 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43076         * manual/syslog.texi (syslog; vsyslog, closelog):
43077         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43078         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43080         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43081         DSOCAPS to match condition on defining it.
43083 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43085         * sysdeps/unix/sysv/linux/kernel-features.h
43086         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43088         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43089         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43091         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43092         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43094         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43095         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43097         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43098         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43100         * sysdeps/unix/sysv/linux/kernel-features.h
43101         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43102         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43103         unconditional.
43104         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43105         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43106         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43107         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43108         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43109         Make code unconditional.
43110         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43111         (__mmap64) [!__NR_mmap2]: Likewise.
43112         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43113         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43114         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43115         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43116         [__NR_mmap2]: Make code unconditional.
43117         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43118         (__mmap64) [!__NR_mmap2]: Likewise.
43120 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43122         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43124 2012-08-18  Andreas Jaeger  <aj@suse.de>
43126         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43128 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43130         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43131         * include/unistd.h (__have_sock_cloexec): Likewise.
43132         (__have_pipe2): Likewise.
43133         (__have_dup3): Likewise.
43135 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43137         [BZ #9685]
43138         * include/unistd.h (__have_pipe2): Change define into an extern int.
43139         (__have_dup3): Likewise.
43140         * socket/have_sock_cloexec.c: Include fcntl.h.
43141         (__have_pipe2): New variable.
43142         (__have_dup3): Likewise.
43144 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43146         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43148 2012-08-17  Marek Polacek  <polacek@redhat.com>
43150         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43151         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43153 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43155         * configure.in: Add AC_SUBST for sysheaders.
43156         * configure: Regenerated.
43157         * config.make.in (sysheaders): New substituted variable.
43159         * sysdeps/unix/mkfifo.c: Moved ...
43160         * sysdeps/posix/mkfifo.c: ... here.
43161         * sysdeps/unix/mkfifoat.c: Moved ...
43162         * sysdeps/posix/mkfifoat.c: ... here.
43164         * sysdeps/unix/utime.c: Moved ...
43165         * sysdeps/posix/utime.c: ... here.
43167         * sysdeps/unix/time.c: Moved ...
43168         * sysdeps/posix/time.c: ... here.
43169         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43170         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43172         * sysdeps/unix/nice.c: Moved ...
43173         * sysdeps/posix/nice.c: ... here.
43175         * sysdeps/unix/alarm.c: Moved ...
43176         * sysdeps/posix/alarm.c: ... here.
43178         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43180 2012-08-17  Jeff Law <law@redhat.com>
43182         * intl/Makefile (codeset_mo): New variable.
43183         ($(codeset_mo)): New target.
43184         (tst-codeset.out): Depend on that.  Remove explicit rule.
43185         (tst-gettext3.out, tst-gettext5.out): Likewise.
43186         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43187         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43188         * intl/tst-codeset.sh: Remove.
43189         * intl/tst-gettext3.sh: Likewise.
43190         * intl/tst-gettext5.sh: Likewise.
43192 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43194         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43195         * sysdeps/unix/syscalls.list: ... here.
43197         * sysdeps/posix/getaddrinfo.c
43198         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43199         (gaiconf_init, gaiconf_reload): Use them.
43200         [!_STATBUF_ST_NSEC]
43201         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43202         Define using time_t rather than struct timespec.
43204         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43205         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43206         Macros removed.
43207         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43208         [!NO_THREADS].
43209         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43210         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43211         Likewise.
43213         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43214         __libc_cleanup_push argument.
43216         * bits/param.h: New file.
43217         * misc/sys/param.h: New file.
43218         * include/sys/param.h: New file.
43219         * misc/Makefile (headers): Add bits/param.h.
43220         * sysdeps/generic/sys/param.h: File removed.
43221         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43222         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43223         * sysdeps/mach/hurd/bits/param.h: New file.
43224         * sysdeps/mach/hurd/sys/param.h: File removed.
43226         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43227         last change.
43229         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43230         [_IO_MTSAFE_IO].
43231         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43232         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43233         New macros.
43235         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43236         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43237         rather than -D_IO_MTSAFE_IO conditionally.
43238         * stdio-common/Makefile (CPPFLAGS): Likewise.
43239         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43240         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43241         Use $(libio-mtsafe).
43242         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43243         of -D_IO_MTSAFE_IO.
43244         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43245         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43246         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43247         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43248         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43249         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43250         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43251         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43252         (CFLAGS-fread_u_chk.c): Likewise.
43253         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43254         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43255         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43256         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43257         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43258         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43259         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43260         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43261         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43263         * libio/Makefile: Test [$(libc-reentrant) = yes]
43264         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43266         * Makeconfig
43267         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43268         * sysdeps/pthread/configure: File removed.
43269         * sysdeps/pthread/Makeconfig: New file.
43270         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43271         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43273 2012-08-16  Gary Benson  <gbenson@redhat.com>
43275         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43276         unmapping the first object in a namespace.
43278 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43280         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43281         (__internal_setnetgrent): ... this.  Add internal_function to
43282         definition.  Add libc_hidden_def.
43283         (setnetgrent): Update caller.
43284         (internal_endnetgrent): Renamed to ...
43285         (__internal_endnetgrent): ... this.  Add internal_function to
43286         definition.  Add libc_hidden_def.
43287         (endnetgrent): Update caller.
43288         (internal_getnetgrent_r): Renamed to ...
43289         (__internal_getnetgrent_r): ... this.  Add internal_function to
43290         definition.  Add libc_hidden_def.
43291         (__getnetgrent_r): Update caller.
43292         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43294 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43296         * stdlib/longlong.h: Update from GCC.
43298 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43300         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43301         on _QL, which is set by umul_ppmm but never used.
43302         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43303         variables, which are set by GMP macros but never used.
43304         * stdio-common/_itowa.c (_itowa): Likewise.
43305         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43306         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43308 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43310         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43311         struct La_sh_regs is not constant.
43312         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43313         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43314         and struct La_sparc64_regs are not constant.
43316 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43318         * sysdeps/unix/sysv/linux/kernel-features.h
43319         (__ASSUME_POSIX_TIMERS): Remove.
43320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43321         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43322         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43323         Make code unconditional.
43324         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43325         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43326         Make code unconditional.
43327         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43328         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43329         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43330         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43331         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43332         Make code unconditional.
43333         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43334         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43335         (__libc_missing_posix_timers): Remove.
43337 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43339         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43340         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43342         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43344         * elf/dl-sym.c: Include <stdlib.h>.
43346         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43347         constants, which avoids warnings in 32-bit builds.
43349         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43350         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43352         * misc/lseek.c: File moved to ...
43353         * io/lseek.c: ... here.
43355         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43357         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43358         shifting LEN more than 31 bits at once.
43360 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43362         [BZ #14195]
43363         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43364         segmentation fault for a case of two empty input strings.
43365         * string/test-strncasecmp.c (check1): Renamed to...
43366         (bz12205): ...this.
43367         (bz14195): Add new testcase for two empty input strings and N > 0.
43368         (test_main): Call new testcase, adapt for renamed function.
43370 2012-08-15  Andreas Jaeger  <aj@suse.de>
43372         [BZ #14090]
43373         * crypt/md5test2.c: New test, based on test supplied by Serge
43374         Belyshev <belyshev@depni.sinp.msu.ru>.
43375         * crypt/Makefile (xtests): Add md5test-giant..
43376         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43378 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43380         [BZ #14090]
43381         * crypt/md5.c (md5_process_block): Don't assume the buffer
43382         length is less than 2**32.
43383         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43384         length is less than 2**64.
43386 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43388         * string/str-two-way.h: Include <sys/param.h>.
43389         (MAX): Macro removed.
43391         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43392         Move #define and #undef of memmove to just before and after
43393         including <string.h>.
43395         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43396         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43397         and after including <string.h>.  Move declarations of
43398         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43399         to before #include "string/memmove.c".
43401         * include/dirent.h: Declare __getdirentries.
43403         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43404         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43406 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43408         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43409         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43410         * sysdeps/i386/configure: Regenerated.
43411         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43412         STABS_CURRENT_FILE, and STABS_FUN.
43413         (END): Remove call to STABS_FUN_END.
43414         (STABS_CURRENT_FILE1): Delete.
43415         (STABS_CURRENT_FILE): Likewise.
43416         (STABS_FUN): Likewise.
43417         (STABS_FUN_END): Likewise.
43418         (STABS_FUN2): Likewise.
43419         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43420         * sysdeps/x86_64/configure: Regenerated.
43422 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43424         * elf/dl-open.c: Include <atomic.h>.
43425         * elf/dl-lookup.c: Likewise.
43427 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43429         * sysdeps/unix/sysv/linux/kernel-features.h
43430         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43431         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43432         unconditionally.
43433         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43434         unconditionally.
43435         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43436         condition on __ASSUME_CLONE_THREAD_FLAGS.
43438 2012-08-14  Andreas Jaeger  <aj@suse.de>
43440         * sysdeps/i386/fpu/libm-test-ulps: Update.
43442 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43444         * include/atomic.h (atomic_exchange_and_add): Split into ...
43445         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43446         New atomic macros.
43448 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43452 2012-08-13  Jeff Law <law@redhat.com>
43454         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43455         null byte in the output string.
43457 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43459         * sysdeps/unix/sysv/linux/kernel-features.h
43460         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43461         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43462         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43463         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43464         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43465         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43466         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43468 2012-08-09  Jeff Law <law@redhat.com>
43470         [BZ #13939]
43471         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43472         When avoid_arena is set, don't retry in the that arena.  Pick the
43473         next one, whatever it might be.
43474         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43475         (arena_lock): Pass in new parameter to arena_get2.
43476         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43477         arena_get2.
43478         (__libc_malloc): Unify retrying after main arena failure with
43479         __libc_memalign version.
43480         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43482 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43484         [BZ #14166]
43485         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43486         to __redirect_strstr.
43487         (__strstr_sse42): Use typeof __redirect_strstr.
43488         (__strstr_ia32): Likewise.
43489         (__libc_strstr): New prototype.
43490         (strstr): Renamed to ...
43491         (__libc_strstr): This.
43492         (strstr): New strong alias of __libc_strstr.
43493         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43494         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43495         __redirect_time.
43496         Include <time.h>.
43497         (__libc_time): New prototype.
43498         (time_ifunc): Replace time with __libc_time.
43499         (time): New strong alias and hidden definition of __libc_time.
43500         (__GI_time): Remove strong alias.
43501         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43502         Include <stddef.h>.
43503         (memmove): Redefined to __redirect_memmove.
43504         (__memmove_sse2): Use typeof __redirect_memmove.
43505         (__memmove_ssse3): Likewise.
43506         (__memmove_ssse3_back): Likewise.
43507         (__libc_memmove): New prototype.
43508         (memmove): Renamed to ...
43509         (__libc_memmove): This.
43510         (memmove): New strong alias of __libc_memmove.
43512 2012-08-08  Mark Salter  <msalter@redhat.com>
43514         * elf/elf.h
43515         (R_MN10300_TLS_GD): Define.
43516         (R_MN10300_TLS_LD): Likewise.
43517         (R_MN10300_TLS_LDO): Likewise.
43518         (R_MN10300_TLS_GOTIE): Likewise.
43519         (R_MN10300_TLS_IE): Likewise.
43520         (R_MN10300_TLS_LE): Likewise.
43521         (R_MN10300_TLS_DTPMOD): Likewise.
43522         (R_MN10300_TLS_DTPOFF): Likewise.
43523         (R_MN10300_TLS_TPOFF): Likewise.
43524         (R_MN10300_SYM_DIFF): Likewise.
43525         (R_MN10300_ALIGN): Likewise.
43526         (R_MN10300_NUM): Update.
43528 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43531         Remove.
43533 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43535         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43537         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43538         sysdeps/unix -> sysdeps/posix move.
43539         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43541 2012-08-07      Allan McRae     <allan@archlinux.org>
43543         [BZ #14303]
43544         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43545         (SUNOS_CPP): Likewise.
43546         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43547         not found.
43548         (open_input): Call CPP using execvp.
43550 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43552         * sysdeps/unix/sysv/linux/kernel-features.h
43553         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43554         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43555         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43556         (__ASSUME_WAITID_SYSCALL): Likewise.
43557         * sysdeps/unix/sysv/linux/dl-execstack.c
43558         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43559         code unconditional.
43560         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43561         conditional code.
43562         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43563         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43564         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43565         code.
43566         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43567         unconditional.
43568         [__ASSUME_WAITID_SYSCALL]: Likewise.
43569         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43571 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43573         * sysdeps/unix/closedir.c: Renamed to ...
43574         * sysdeps/posix/closedir.c: ... here.
43575         * sysdeps/unix/dirfd.c: Renamed to ...
43576         * sysdeps/posix/dirfd.c: ... here.
43577         * sysdeps/unix/dirstream.h: Renamed to ...
43578         * sysdeps/posix/dirstream.h: ... here.
43579         * sysdeps/unix/fdopendir.c: Renamed to ...
43580         * sysdeps/posix/fdopendir.c: ... here.
43581         * sysdeps/unix/opendir.c: Renamed to ...
43582         * sysdeps/posix/opendir.c: ... here.
43583         * sysdeps/unix/readdir.c: Renamed to ...
43584         * sysdeps/posix/readdir.c: ... here.
43585         * sysdeps/unix/readdir_r.c: Renamed to ...
43586         * sysdeps/posix/readdir_r.c: ... here.
43587         * sysdeps/unix/rewinddir.c: Renamed to ...
43588         * sysdeps/posix/rewinddir.c: ... here.
43589         * sysdeps/unix/seekdir.c: Renamed to ...
43590         * sysdeps/posix/seekdir.c: ... here.
43591         * sysdeps/unix/telldir.c: Renamed to ...
43592         * sysdeps/posix/telldir.c: ... here.
43593         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43594         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43595         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43596         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43598         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43599         * bits/fcntl.h: ... here.
43601         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43602         not 0.
43603         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43604         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43605         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43606         (struct flock): Move l_start, l_len to the beginning.
43607         Use __pid_t for l_pid.
43608         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43609         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43610         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43611         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43612         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43613         [__USE_LARGEFILE64] (struct flock64): New type.
43614         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43616         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43617         * bits/dirent.h: ... here.
43619         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43620         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43622 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43625         Change from 2.6.0 to 2.6.16.
43626         * sysdeps/unix/sysv/linux/configure: Regenerated.
43627         * sysdeps/unix/sysv/linux/kernel-features.h
43628         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43629         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43630         version.
43631         (__ASSUME_UTIMES): Likewise.
43632         (__ASSUME_CLONE_STOPPED): Remove.
43633         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43634         architectures, not kernel version.
43635         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43638         (__ASSUME_WAITID_SYSCALL): Likewise.
43639         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43640         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43641         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43642         refer to older versions.
43644 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43646         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43647         Define alphasort64 as an alias.
43648         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43649         Define versionsort64 as an alias.
43650         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43651         Define scandir64 as an alias.
43652         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43653         Define scandirat64 as an alias.
43654         * dirent/alphasort64.c (alphasort64):
43655         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43656         * dirent/versionsort64.c: Likewise.
43657         * dirent/scandir64.c: Likewise.
43658         * dirent/scandirat64.c: Likewise.
43659         * sysdeps/wordsize-64/alphasort.c: File removed.
43660         * sysdeps/wordsize-64/alphasort64.c: File removed.
43661         * sysdeps/wordsize-64/scandir.c: File removed.
43662         * sysdeps/wordsize-64/scandir64.c: File removed.
43663         * sysdeps/wordsize-64/scandirat.c: File removed.
43664         * sysdeps/wordsize-64/scandirat64.c: File removed.
43665         * sysdeps/wordsize-64/versionsort.c: File removed.
43666         * sysdeps/wordsize-64/versionsort64.c: File removed.
43667         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43669         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43671         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43673         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43676         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43678         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43680         [defined __arch64__ || defined __sparcv9]
43681         (__INO_T_MATCHES_INO64_T): New macro.
43682         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43683         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43684         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43685         * sysdeps/unix/sysv/linux/bits/dirent.h
43686         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43687         (_DIRENT_MATCHES_DIRENT64): New macro.
43689         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43690         Define lockf64 as an alias.
43691         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43692         Define fseeko64 as an alias.
43693         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43694         Define ftello64 as an alias.
43695         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43696         Define _IO_fgetpos64 and fgetpos64 as aliases.
43697         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43698         Define _IO_fsetpos64 and fsetpos64 as aliases.
43699         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43700         Conditionalize body on this.
43701         * libio/fseeko64.c: Likewise.
43702         * libio/ftello64.c: Likewise.
43703         * libio/iofgetpos64.c: Likewise.
43704         * libio/iofsetpos64.c: Likewise.
43705         * sysdeps/wordsize-64/lockf.c: File removed.
43706         * sysdeps/wordsize-64/lockf64.c: File removed.
43707         * sysdeps/wordsize-64/fseeko.c: File removed.
43708         * sysdeps/wordsize-64/fseeko64.c: File removed.
43709         * sysdeps/wordsize-64/ftello.c: File removed.
43710         * sysdeps/wordsize-64/ftello64.c: File removed.
43711         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43712         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43713         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43714         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43717         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43719         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43721         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43723         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43724         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43726         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43728         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43730         [defined __arch64__ || defined __sparcv9]
43731         (__OFF_T_MATCHES_OFF64_T): New macro.
43732         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43733         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43735         (__OFF_T_MATCHES_OFF64_T): New macro.
43737 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43739         * stdlib/secure-getenv.c (__secure_getenv): Replace
43740         GLIBC_2_16 with GLIBC_2_17.
43742 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43744         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43747 2012-08-03  David S. Miller  <davem@davemloft.net>
43749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43751 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43754         Remove.
43755         (__ASSUME_CORRECT_SI_PID): Likewise.
43756         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43757         (__ASSUME_TMPFS_NAME): Likewise.
43758         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43759         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43760         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43761         (HAVE_AUX_SECURE): Make definition unconditional.
43762         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43763         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43765 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43767         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43768         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43769         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43770         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43771         __eloop_threshold instead of SYMLOOP_MAX.
43773         * sysdeps/generic/eloop-threshold.h: New file.
43774         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43775         of MAXSYMLINKS.
43776         * elf/chroot_canon.c (chroot_canon): Likewise.
43778 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43780         [BZ #13717]
43781         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43782         Change to 2.6.0 everywhere.
43783         * sysdeps/unix/sysv/linux/configure: Regenerated.
43784         * sysdeps/unix/sysv/linux/kernel-features.h
43785         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43786         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43787         kernel versions.
43788         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43789         (__ASSUME_FUTEX_REQUEUE): Remove.
43790         (__ASSUME_STATFS64): Define unconditionally.
43791         (__ASSUME_AT_SECURE): Likewise.
43792         (__ASSUME_CORRECT_SI_PID): Likewise.
43793         (__ASSUME_TGKILL): Define without depending on kernel version for
43794         i386.
43795         (__ASSUME_UTIMES): Likewise.
43796         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43797         kernel version.
43798         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43799         (__ASSUME_TMPFS_NAME): Likewise.
43800         * README: Update reference to Linux kernel versions.
43802 2012-08-02  Marek Polacek  <polacek@redhat.com>
43804         [BZ# 14150]
43805         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43806         libc_cv_asm_type_prefix with %.
43807         * configure: Regenerated.
43808         * include/libc-symbols.h: Remove comment about
43809         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43810         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43811         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43812         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43813         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43814         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43815         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43816         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43817         * elf/tst-unique2mod1.c: Likewise.
43818         * elf/tst-unique1mod2.c: Likewise.
43819         * elf/tst-unique1mod1.c: Likewise.
43820         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43821         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43822         Replace ASM_TYPE_DIRECTIVE with .type.
43823         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43824         * sysdeps/i386/sysdep.h: Likewise.
43825         * sysdeps/x86_64/sysdep.h: Likewise.
43826         * sysdeps/sh/sysdep.h: Likewise.
43827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43828         Do not define ASM_TYPE_DIRECTIVE.
43829         * sysdeps/powerpc/sysdep.h: Likewise.
43830         * sysdeps/powerpc/powerpc32/sysdep.h:
43831         Replace ASM_TYPE_DIRECTIVE with .type.
43832         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43833         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43834         * sysdeps/i386/fpu/e_powf.S: Likewise.
43835         * sysdeps/i386/fpu/e_expl.S: Likewise.
43836         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43837         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43838         * sysdeps/i386/fpu/e_pow.S: Likewise.
43839         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43840         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43841         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43842         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43843         * sysdeps/i386/fpu/e_log2.S: Likewise.
43844         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43846         * sysdeps/i386/fpu/e_powl.S: Likewise.
43847         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43848         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43849         * sysdeps/i386/fpu/e_logl.S: Likewise.
43850         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43851         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43852         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43853         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43854         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43855         * sysdeps/i386/fpu/e_log.S: Likewise.
43856         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43857         * sysdeps/i386/fpu/e_logf.S: Likewise.
43858         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43859         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43860         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43861         * sysdeps/i386/fpu/e_log10.S: Likewise.
43862         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43863         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43864         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43865         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43866         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43867         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43868         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43869         * sysdeps/i386/i686/strtok.S: Likewise.
43870         * sysdeps/i386/i386-mcount.S: Likewise.
43871         * sysdeps/i386/strtok.S: Likewise.
43872         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43873         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43874         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43875         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43876         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43877         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43878         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43879         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43880         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43881         * sysdeps/x86_64/_mcount.S: Likewise.
43882         * sysdeps/x86_64/strtok.S: Likewise.
43883         * sysdeps/sh/_mcount.S: Likewise.
43885 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43887         * libio/iofopen.c: Include <fcntl.h>.
43888         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43889         (_IO_fopen64, fopen64): Define as aliases.
43890         * libio/iofopen64.c: Include <fcntl.h>.
43891         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43892         Conditionalize body on this.
43893         * sysdeps/wordsize-64/iofopen.c: File removed.
43894         * sysdeps/wordsize-64/iofopen64.c: File removed.
43896 2012-08-01  Marek Polacek  <polacek@redhat.com>
43898         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43899         Use dlfcn directly instead of a variable.
43900         (binfmt-subdir): Do not define.
43901         (dlfcn): Likewise.
43903 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43905         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43906         Remove all definitions.
43907         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43908         <kernel-features.h>.
43909         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43910         (miss_F_GETOWN_EX): Remove all definitions.
43911         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43912         macro definition.
43913         [!__ASSUME_FCNTL64]: Remove conditional code.
43914         [__ASSUME_FCNTL64]: Make code unconditional.
43915         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43916         <kernel-features.h>.
43917         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43918         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43919         (lockf64) [__NR_fcntl64]: Make code unconditional.
43920         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43922         * sysdeps/unix/sysv/linux/kernel-features.h
43923         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43924         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43925         Make code unconditional.
43926         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43927         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43929         [__NR_vfork]: Make code unconditional.
43930         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43931         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43933         [__NR_vfork]: Make code unconditional.
43934         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43935         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43939         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43940         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43942         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43943         Define mkstemp64 as an alias.
43944         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43945         Define mkstemps64 as an alias.
43946         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43947         Define mkostemp64 as an alias.
43948         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43949         Define mkostemps64 as an alias.
43950         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43951         Conditionalize body on this.
43952         * misc/mkostemp64.c: Likewise.
43953         * misc/mkostemps64.c: Likewise.
43954         * misc/mkstemps64.c: Likewise.
43955         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43956         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43957         * sysdeps/wordsize-64/mkostemp.c: File removed.
43958         * sysdeps/wordsize-64/mkstemp.c: File removed.
43959         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43960         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43962         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43964         [BZ #14138]
43965         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43966         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43967         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43968         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43970         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43971         compat_symbol macros from <shlib-compat.h> rather than the underlying
43972         default_symbol_version and symbol_version macros, so that DEFAULT
43973         lines in shlib-versions are respected.
43974         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43976 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43978         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43979         Declare with warn_unused_result.
43980         (setgid, setregid, setegid, setresgid): Likewise.
43981         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43982         Likewise.
43983         * WUR-REPORT: Remove set*id functions.
43985 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43987         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43989 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43991         [BZ #10191]
43992         * include/sys/socket.h (__libc_accept, __libc_accept4):
43993         Add attribute_hidden.
43994         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43997         use of PTR_MANGLE.
43998         * inet/getnetgrent_r.c (setup): Likewise.
44000         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44002 2012-07-31  David S. Miller  <davem@davemloft.net>
44004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44006 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44008         [BZ #13629]
44009         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44010         value between 1.0 and 2.0 and smaller part has absolute value less
44011         than 1.0.
44012         * math/s_clog10.c (__clog10): Likewise.
44013         * math/s_clog10f.c (__clog10f): Likewise.
44014         * math/s_clog10l.c (__clog10l): Likewise.
44015         * math/s_clogf.c (__clogf): Likewise.
44016         * math/s_clogl.c (__clogl): Likewise.
44017         * math/libm-test.inc (clog_test): Add more tests.
44018         (clog10_test): Likewise.
44019         * sysdeps/i386/fpu/libm-test-ulps: Update.
44020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44022 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44024         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44025         Exit with zero in case no suitable GID is found, and write a
44026         message to standard error.
44028 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44030         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44031         rather than to 1.
44032         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44033         (MAXPATHLEN): Removed.
44034         (NOGROUP, NODEV): New macros.
44035         (setbit, clrbit, isset, isclr): New macros.
44036         (howmany, roundup, powerof2): New macros.
44037         (DEV_BSIZE): New macro.
44039         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44040         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44042         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44043         definition on [!__NO_LONG_DOUBLE_MATH].
44045         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44046         PTR_MANGLE and PTR_DEMANGLE.
44048         * socket/accept4.c (accept4): Rename to __libc_accept4.
44049         Define accept4 as a weak alias.
44051         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44052         on [_DIRENT_HAVE_D_TYPE].
44053         * io/ftw.c (ftw_dir): Likewise.
44055         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44057         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44059         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44060         Use the BSD numbers rather than the arbitrary ones we had.
44061         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44062         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44063         (SIGXCPU, SIGXFSZ): New macros.
44064         (_NSIG): Now 32.
44066         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44067         initializer on [_LIBC_REENTRANT].
44069         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44070         definitions inside [_POSIX_MAPPED_FILES].
44072         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44074         * dirent/opendir.c: Include <fcntl.h>.
44076         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44077         (__libc_getspecific): Likewise.
44078         (__libc_key_create): Likewise.
44080         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44081         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44082         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44083         (tmpfile64): Define as alias.
44084         * sysdeps/wordsize-64/tmpfile.c: File removed.
44085         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44089         * stdio-common/vfscanf.c: Include <stdbool.h>.
44090         * nss/makedb.c: Likewise.
44091         * stdio-common/_i18n_number.h: Likewise.
44092         * argp/argp-help.c: Likewise.
44093         * posix/wordexp.c: Likewise.
44094         * sysdeps/posix/spawni.c: Likewise.
44095         * nss/nss_files/files-initgroups.c: Likewise.
44096         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44097         * nss/nss_files/files-initgroups.c: Likewise.
44098         * nss/nss_db/db-netgrp.c: Likewise.
44099         * nss/nss_db/db-initgroups.c: Likewise.
44100         * io/fchmodat.c: Include <sys/stat.h>.
44102         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44103         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44105         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44106         [HAVE_MMAP].
44108         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44109         Add multiple inclusion protection.
44111 2012-07-27  David S. Miller  <davem@davemloft.net>
44113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44115 2012-07-27  Gary Benson  <gbenson@redhat.com>
44117         [BZ #14298]
44118         * elf/rtld.c: Include <stap-probe.h>.
44119         (dl_main): Added static probes "init_start" and "init_complete".
44120         * elf/dl-load.c: Include <stap-probe.h>.
44121         (lose): Take new parameter "nsid".
44122         Added static probe "map_failed".
44123         (_dl_map_object_from_fd): Pass namespace id to lose.
44124         Added static probe "map_start".
44125         (open_verify): Pass namespace id to lose.
44126         * elf/dl-open.c: Include <stap-probe.h>.
44127         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44128         and "reloc_complete".
44129         * elf/dl-close.c: Include <stap-probe.h>.
44130         (_dl_close_worker): Added static probes "unmap_start" and
44131         "unmap_complete".
44132         * elf/rtld-debugger-interface.txt: New file documenting the above.
44134 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44136         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44137         rather than a string variable.
44138         * sunrpc/rpc_main.c (h_output): Likewise.
44139         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44141 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44143         * inet/check_native.c: New file.
44145 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44147         [BZ #13629]
44148         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44149         if larger part has absolute value 1.0.
44150         * math/s_clog10.c (__clog10): Likewise.
44151         * math/s_clog10f.c (__clog10f): Likewise.
44152         * math/s_clog10l.c (__clog10l): Likewise.
44153         * math/s_clogf.c (__clogf): Likewise.
44154         * math/s_clogl.c (__clogl): Likewise.
44155         * math/libm-test.inc (clog_test): Add more tests.
44156         (clog10_test): Likewise.
44157         * sysdeps/i386/fpu/libm-test-ulps: Update.
44158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44160         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44161         (pltexit): Likewise.
44162         (La_regs): Likewise.
44163         (La_retval): Likewise.
44164         (int_retval): Likewise.
44165         Update #error for removed macros to refer only to definitions in
44166         tst-audit.h.
44167         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44168         macro.
44169         (pltexit): Likewise.
44170         (La_regs): Likewise.
44171         (La_retval): Likewise.
44172         (int_retval): Likewise.
44173         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44174         macro.
44175         (pltexit): Likewise.
44176         (La_regs): Likewise.
44177         (La_retval): Likewise.
44178         (int_retval): Likewise.
44179         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44180         macro.
44181         (pltexit): Likewise.
44182         (La_regs): Likewise.
44183         (La_retval): Likewise.
44184         (int_retval): Likewise.
44185         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44186         macro.
44187         (pltexit): Likewise.
44188         (La_regs): Likewise.
44189         (La_retval): Likewise.
44190         (int_retval): Likewise.
44191         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44192         macro.
44193         (pltexit): Likewise.
44194         (La_regs): Likewise.
44195         (La_retval): Likewise.
44196         (int_retval): Likewise.
44197         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44198         macro.
44199         (pltexit): Likewise.
44200         (La_regs): Likewise.
44201         (La_retval): Likewise.
44202         (int_retval): Likewise.
44203         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44204         macro definitions in tst-audit.h.
44205         * sysdeps/i386/tst-audit.h: New file.
44206         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44207         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44208         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44209         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44210         * sysdeps/sh/tst-audit.h: Likewise.
44211         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44212         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44213         * sysdeps/x86_64/tst-audit.h: Likewise.
44215 2012-07-26  Andreas Jaeger  <aj@suse.de>
44217         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44218         ptrace.
44220         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44221         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44222         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44223         PTRACE_O_MASK.
44224         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44225         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44226         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44228         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44229         value.
44231         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44232         _sigsys.
44233         (si_call_addr, si_syscall, si_arch): Define new macro.
44234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44235         _sigsys.
44236         (si_call_addr, si_syscall, si_arch): Define new marcro.
44237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44238         _sigsys.
44239         (si_call_addr, si_syscall, si_arch): Define new macro.
44240         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44241         _sigsys.
44242         (si_call_addr, si_syscall, si_arch): Define new macro.
44244 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44246         [BZ #13717]
44247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44248         Change to 2.4.21 where previously 2.4.1.
44249         * sysdeps/unix/sysv/linux/configure: Regenerated.
44250         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44251         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44252         Linux kernel version.
44253         (__ASSUME_STD_AUXV): Remove.
44254         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44255         kernel version.
44256         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44257         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44258         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44259         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44260         (__ASSUME_NETLINK_SUPPORT): Likewise.
44261         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44262         (__no_netlink_support): Remove conditional definition.
44263         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44264         Remove.
44265         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44266         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44267         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44268         (if_nameindex_ioctl): Remove.
44269         (if_nameindex_netlink): Do not handle __no_netlink_support.
44270         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44271         code.
44272         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44273         Remove conditional code.
44274         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44275         code.
44276         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44277         unconditional.
44278         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44279         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44280         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44281         Remove.
44282         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44283         [!__ASSUME_STD_AUXV]: Remove conditional code.
44284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44285         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44286         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44288         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44289         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44290         code.
44291         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44293         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44294         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44295         conditional code.
44296         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44298         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44299         code.
44300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44301         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44302         conditional code.
44303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44304         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44305         code unconditional.
44306         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44307         conditional code.
44308         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44309         unconditional.
44310         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44311         conditional code.
44312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44313         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44314         unconditional.
44315         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44316         conditional code.
44317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44318         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44319         code unconditional.
44320         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44321         conditional code.
44322         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44323         unconditional.
44324         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44325         conditional code.
44326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44327         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44328         code unconditional.
44329         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44330         conditional code.
44331         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44332         unconditional.
44333         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44334         conditional code.
44336 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44338         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44339         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44340         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44341         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44342         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44343         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44344         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44345         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44346         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44347         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44348         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44349         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44350         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44351         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44352         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44353         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44354         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44356         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44358         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44359         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44360         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44362 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44364         * Versions.def: Add GLIBC_2.17.
44365         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44366         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44367         Introduce __libc_secure_getenv.
44368         * stdlib/Versions (2.17): Add secure_getenv
44369         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44370         * stdlib/secure-getenv.c: Rename __secure_getenv to
44371         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44372         symbol __secure_getenv for GLIBC_2.0.
44373         * stdlib/tst-secure-getenv.c: New.
44374         * stdlib/Makefile (tests): Add testcase.
44375         * manual/startup.texi (Environment Access): Document
44376         secure_getenv.
44377         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44378         __libc_secure_getenv.
44379         * inet/ruserpass.c (ruserpass): Likewise.
44380         * malloc/mtrace.c (mtrace): Likewise.
44381         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44382         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44383         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44384         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44385         HAVE_SECURE_GETENV.
44386         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44387         __secure_getenv to __libc_secure_getenv.
44388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44390         Likewise.
44391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44392         Likewise.
44393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44401 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44403         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44404         (struct La_i86_retval): Likewise.
44405         (struct La_x86_64_regs): Likewise.
44406         (struct La_x86_64_retval): Likewise.
44407         (struct La_x32_regs): Likewise.
44408         (struct La_x32_retval): Likewise.
44409         (struct La_ppc32_regs): Likewise.
44410         (struct La_ppc32_retval): Likewise.
44411         (struct La_ppc64_regs): Likewise.
44412         (struct La_ppc64_retval): Likewise.
44413         (struct La_sh_regs): Likewise.
44414         (struct La_sh_retval): Likewise.
44415         (struct La_s390_32_regs): Likewise.
44416         (struct La_s390_32_retval): Likewise.
44417         (struct La_s390_64_regs): Likewise.
44418         (struct La_s390_64_retval): Likewise.
44419         (struct La_sparc32_regs): Likewise.
44420         (struct La_sparc32_retval): Likewise.
44421         (struct La_sparc64_regs): Likewise.
44422         (struct La_sparc64_retval): Likewise.
44423         (struct audit_ifaces): Remove architecture-specific pltenter and
44424         pltexit members.
44425         * sysdeps/i386/ldsodefs.h: New file.
44426         * sysdeps/powerpc/ldsodefs.h: Likewise.
44427         * sysdeps/s390/ldsodefs.h: Likewise.
44428         * sysdeps/sh/ldsodefs.h: Likewise.
44429         * sysdeps/sparc/ldsodefs.h: Likewise.
44430         * sysdeps/x86_64/ldsodefs.h: Likewise.
44432 2012-07-25  Marek Polacek  <polacek@redhat.com>
44434         [BZ #6808]
44435         * math/libm-test.inc (yn_test): Add another test.
44436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44437         to ERANGE when the result is +-Inf.
44438         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44440         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44441         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44443 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44445         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44446         equal to 0.
44447         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44448         clock_t.
44449         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44451 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44453         * configure.in <sysdeps resolving>: Correct printing
44454         Implies_before.
44455         * configure: Regenerate.
44457 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44459         * math/w_ilogb.c: Include <limits.h>.
44460         * math/w_ilogbl.c: Likewise.
44462 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44464         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44465         va_copy.  Document allowing for unavailable va_copy only as
44466         pre-C99 compatibility.
44467         * manual/string.texi (Copying and Concatenation): Use va_copy
44468         instead of __va_copy in concat example.
44470 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44472         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44473         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44474         it if not null.
44476         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44477         with O_NOLINK passed to __file_name_lookup.
44479         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44480         with O_NOLINK passed to __file_name_lookup.
44482         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44483         negative N or less than NGIDS.
44485         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44486         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44487         enough.  Use memcpy instead of strncpy.
44489 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44491         * elf/Makefile (check-data): Remove.
44492         (localplt.data): New vpath directive.
44493         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44494         instead of $(check-data).
44495         * scripts/data/localplt-generic.data: Move to ...
44496         * sysdeps/generic/localplt.data: ... here.
44497         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44498         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44499         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44501         ... here.
44502         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44504         ... here.
44505         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44507         ... here.
44508         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44510         ... here.
44511         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44513         ... here.
44514         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44516         ... here.
44518 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44520         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44521         PPC32 and PPC64 files.
44522         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44523         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44525 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44527         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44528         __makecontext_ret to ...
44529         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44530         ... here and call exit if uc_link is NULL.  New file.
44531         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44532         __makecontext_ret.S.
44533         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44534         __makecontext_ret to ...
44535         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44536         ... here and call exit if uc_link is NULL.  New file.
44537         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44538         __makecontext_ret.S.
44540 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44542         * elf/elf.h (R_390_IRELATIVE): New definition.
44543         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44544         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44545         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44547         (elf_machine_lazy_rel): Likewise.
44548         * sysdeps/s390/dl-irel.h: New file.
44549         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44550         * sysdeps/s390/s390-64/memset.S: New asm code.
44551         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44552         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44553         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44554         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44555         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44556         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44558         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44559         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44560         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44561         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44562         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44563         * sysdeps/s390/s390-32/memset.S: New asm code.
44564         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44566 2012-07-17  Marek Polacek  <polacek@redhat.com>
44568         [BZ #14349]
44569         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44570         * sysdeps/s390/s390-64/configure.in: Likewise.
44571         * sysdeps/sparc/configure.in: Likewise.
44572         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44573         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44574         * sysdeps/i386/configure.in: Likewise.
44575         * sysdeps/x86_64/configure.in: Likewise.
44576         * sysdeps/sh/configure.in: Likewise.
44577         * sysdeps/s390/s390-32/configure: Regenerated.
44578         * sysdeps/s390/s390-64/configure: Likewise.
44579         * sysdeps/x86_64/configure: Likewise.
44580         * sysdeps/sh/configure: Likewise.
44581         * sysdeps/powerpc/powerpc64/configure: Likewise.
44582         * sysdeps/powerpc/powerpc32/configure: Likewise.
44583         * sysdeps/sparc/configure: Likwise.
44584         * sysdeps/i386/configure: Likewise.
44586         * elf/dl-open.c: Comment fixes.
44588 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44590         * Makefile [CXX] (check-data): Remove.
44591         [CXX] (c++-types.data): New vpath directive.
44592         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44593         vpath.  Do not allow for C++ type data being missing.
44594         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44595         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44596         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44597         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44598         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44599         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44600         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44602         ... here.
44603         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44605         ... here.
44606         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44608         ... here.
44609         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44611         ... here.
44612         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44614         ... here.
44615         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44617         ... here.
44618         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44620         ... here.
44621         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44624         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44625         definitions to architecture-specific files.
44626         (TLS_IE): Likewise.
44627         (TLS_LD): Likewise.
44628         (TLS_GD): Likewise.
44629         * sysdeps/i386/tls-macros.h: New file.
44630         * sysdeps/powerpc/tls-macros.h: Likewise.
44631         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44632         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44633         * sysdeps/sh/tls-macros.h: Likewise.
44634         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44635         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44636         * sysdeps/x86_64/tls-macros.h: Likewise.
44638 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44640         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44641         zero value for regular exit case.
44643         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44644         (__start_context): Preserve zero value for regular exit case.
44646 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44647             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44649         * manual/setjmp.texi (setcontext): Clarify normal process
44650         termination when uc_link is the null pointer.
44651         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44652         exit call.
44654 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44656         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44657         preprocessor.  Test for each exception mask separately.
44659 2012-07-16  Andreas Jaeger  <aj@suse.de>
44661         * po/ru.po: Update from translation team.
44663 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44665         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44666         equal to 0.
44667         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44668         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44669         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44670         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44673 2012-07-13  Andreas Jaeger  <aj@suse.de>
44675         * po/fr.po: Update from translation team.
44677 2012-07-12  Marek Polacek  <polacek@redhat.com>
44679         [BZ #14173]
44680         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44681         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44682         loop condition.
44684 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44686         [BZ #13717]
44687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44688         Change to 2.4.1 where previously 2.4.0.
44689         * sysdeps/unix/sysv/linux/configure: Regenerated.
44690         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44691         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44692         version.
44693         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44694         (__ASSUME_AT_CLKTCK): Remove.
44695         (__ASSUME_AT_PAGESIZE): Likewise.
44696         (__ASSUME_AT_XID): Likewise.
44697         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44698         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44699         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44700         unconditionally.
44701         (HAVE_AUX_PAGESIZE): Likewise.
44702         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44703         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44704         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44706 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44708         [BZ #14307]
44709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44710         the temporary buffer used to invoke __gethostbyname2_r,
44711         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44712         host_data / struct gaih_addrtuple.
44713         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44714         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44715         header file nss/nsswitch.h.
44716         * nss/nsswitch.h (global scope): Add definition of implementation
44717         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44718         resolv/nss_dns/dns-host.c).
44720 2012-07-11  Andreas Jaeger  <aj@suse.de>
44722         * po/fr.po: Update from translation team.
44724         * po/sv.po: Update from translation team
44725         * po/fr.po: Another update from translation team.
44727 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44729         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44730         for subnormals or multiply small sinh result by itself.
44731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44734 2012-07-11  David S. Miller  <davem@davemloft.net>
44736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44738 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44740         [BZ #14347]
44741         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44742         (INTERNAL_MARK): Shift it here.
44744 2012-07-10  Marek Polacek  <polacek@redhat.com>
44746         [BZ #14151]
44747         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44748         libc_cv_asm_global_directive with .globl.
44749         * configure: Regenerated.
44750         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44751         with .globl.
44752         * sysdeps/i386/configure: Regenerated.
44753         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44754         with .globl.
44755         * sysdeps/x86_64/configure: Regenerated.
44756         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44757         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44758         * elf/tst-unique2mod2.c: Likewise.
44759         * elf/tst-unique2mod1.c: Likewise.
44760         * elf/tst-unique1mod2.c: Likewise.
44761         * elf/tst-unique1mod1.c: Likewise.
44762         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44763         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44764         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44765         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44766         * sysdeps/mach/sysdep.h: Likewise.
44767         * sysdeps/i386/sysdep.h: Likewise.
44768         * sysdeps/i386/i386-mcount.S: Likewise.
44769         * sysdeps/x86_64/_mcount.S: Likewise.
44770         * sysdeps/x86_64/sysdep.h: Likewise.
44771         * sysdeps/sh/_mcount.S: Likewise.
44772         * sysdeps/sh/sysdep.h: Likewise.
44773         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44774         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44775         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44776         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44777         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44778         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44779         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44780         * locale/localeinfo.h: Likewise.
44781         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44782         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44784 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44786         [BZ #14336]
44787         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44788         system".
44789         * manual/message.texi (The Uniforum approach): Likewise.
44790         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44791         (glibc iconv Implementation): Likewise.
44793 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44795         [BZ #14337]
44796         * math/s_clog.c (__clog): Avoid scaling a value down where that
44797         could result in underflow.
44798         * math/s_clog10.c (__clog10): Likewise.
44799         * math/s_clog10f.c (__clog10f): Likewise.
44800         * math/s_clog10l.c (__clog10l): Likewise.
44801         * math/s_clogf.c (__clogf): Likewise.
44802         * math/s_clogl.c (__clogl): Likewise.
44803         * math/libm-test.inc (clog_test): Add more tests.
44804         (clog10_test): Likewise.
44805         * sysdeps/i386/fpu/libm-test-ulps: Update.
44806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44808 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44810         [BZ #14283]
44811         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44812         by 7 not 8 to examine high bit of fractional part.
44814         [BZ #14042]
44815         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44816         for call to __mcount_internal.
44817         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44818         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44819         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44821 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44823         [BZ #14154]
44824         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44825         approximation for values within 0x1p-13f of an odd multiple of
44826         pi/4.
44827         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44828         exception.  Add more tests.
44829         * sysdeps/i386/fpu/libm-test-ulps: Update.
44831         [BZ #6778]
44832         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44833         inputs and return -1 for them.  Do not check for +Inf in case not
44834         reachable for +Inf.
44835         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44836         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44837         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44838         and return -1 for them.  Do not check for +Inf in case not
44839         reachable for +Inf.
44840         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44841         define.
44842         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44843         and return -1 for them.  Do not check for +Inf in case not
44844         reachable for +Inf.
44845         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44846         spurious underflow.
44847         * sysdeps/i386/fpu/libm-test-ulps: Update.
44848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44850 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44852         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44854 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44856         [BZ #14157]
44857         [BZ #14331]
44858         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44859         could result in spurious underflow.  Scale down values above
44860         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44861         * math/s_csqrtf.c (__csqrtf): Likewise.
44862         * math/s_csqrtl.c (__csqrtl): Likewise.
44863         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44864         spurious underflow.
44865         * sysdeps/i386/fpu/libm-test-ulps: Update.
44866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44868 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44870         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44871         xopen-msg.sed.
44872         * catgets/xopen-msg.awk: New file.
44873         * catgets/xopen-msg.sed: Removed.
44875         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44876         po2text.sed.
44877         * intl/po2test.awk: New file.
44878         * intl/po2test.sed: Removed.
44880 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44882         [BZ #14328]
44883         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44884         or multiply small sinh result by itself.
44885         * math/s_ctanf.c (__ctanf): Likewise.
44886         * math/s_ctanh.c (__ctanh): Likewise.
44887         * math/s_ctanhf.c (__ctanhf): Likewise.
44888         * math/s_ctanhl.c (__ctanhl): Likewise.
44889         * math/s_ctanl.c (__ctanl): Likewise.
44890         * math/libm-test.inc (ctan_test_tonearest): New function.
44891         (ctan_test_towardzero): Likewise.
44892         (ctan_test_downward): Likewise.
44893         (ctan_test_upward): Likewise.
44894         (ctanh_test_tonearest): Likewise.
44895         (ctanh_test_towardzero): Likewise.
44896         (ctanh_test_downward): Likewise.
44897         (ctanh_test_upward): Likewise.
44898         (main): Call these new functions.
44899         * sysdeps/i386/fpu/libm-test-ulps: Update.
44900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44902 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44904         * .gitignore: Delete /ports entry.
44906 2012-07-03  Andreas Jaeger  <aj@suse.de>
44908         * po/bg.po: Update from translation team.
44909         * po/cs.po: Likewise.
44910         * po/de.po: Likewise.
44911         * po/hr.po: Likewise.
44912         * po/nl.pl: Likewise.
44913         * po/pl.po: Likewise.
44914         * po/vi.po: Likewise.
44916 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44918         * Makeconfig [!+link] (+link-before-libc): New variable.
44919         [!+link] (+link-after-libc): Likewise.
44920         [!+link] (+link-tests): Likewise.
44921         [!+link] (+link): Define in terms of $(+link-before-libc) and
44922         $(+link-after-libc).
44923         [!+link-static] (+link-static-before-libc): New variable.
44924         [!+link-static] (+link-static-after-libc): Likewise.
44925         [!+link-static] (+link-static-tests): Likewise.
44926         [!+link-static] (+link-static): Define in terms of
44927         $(+link-static-before-libc) and $(+link-static-after-libc).
44928         [build-shared] (link-libc-before-gnulib): New variable.
44929         [build-shared] (link-libc-tests): Likewise.
44930         [build-shared] (link-libc): Define in terms of
44931         $(link-libc-before-gnulib).
44932         [!build-shared] (link-libc-tests): New variable.
44933         (link-libc-static-tests): New variable.
44934         [!gnulib] (gnulib-arch): New variable.
44935         [!gnulib] (gnulib-tests): Likewise.
44936         [!gnulib] (static-gnulib-arch): Likewise.
44937         [!gnulib] (static-gnulib-tests): Likewise.
44938         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44939         Define with "=" instead of ":=".
44940         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44941         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44942         * Rules (binaries-all-notests): New variable.
44943         (binaries-all-tests): Likewise.
44944         (binaries-static-notests): Likewise.
44945         (binaries-static-tests): Likewise.
44946         (binaries-all): Define using $(binaries-all-notests) and
44947         $(binaries-all-tests).
44948         (binaries-static): Define using $(binaries-static-notests) and
44949         $(binaries-static-tests).
44950         (binaries-shared-tests): New variable.
44951         (binaries-shared-notests): Likewise.
44952         (binaries-shared): Remove variable.
44953         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44954         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44955         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44956         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44957         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44958         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44959         * elf/Makefile (sln-modules): New variable.
44960         (extra-objs): Add $(sln-modules:=.o).
44961         (ldconfig-modules): Add static-stubs.
44962         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44963         * elf/static-stubs.c: New file.
44965         [BZ #14283]
44966         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44967         by 7 not 8 to examine high bit of fractional part.  Use volatile
44968         variables when splitting into final array of floats if
44969         __FLT_EVAL_METHOD__ != 0.
44970         * math/libm-test.inc (cos_test): Add another test.
44971         (sin_test): Likewise.
44972         * sysdeps/i386/fpu/libm-test-ulps: Update.
44974         [BZ #14273]
44975         * math/libm-test.inc (cosh_test): Add more tests.
44977         * version.h (RELEASE): Set to "development".
44978         (VERSION): Set to "2.16.90".
44980 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44982         * NEWS: Update copyright. Remove last-updated date.
44983         Mention math library bug fixes and timezone data changes.
44984         * README: Mention GNU/Hurd, x32, and HPPA support status.
44986 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44988         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44990 2012-06-27  Andreas Jaeger  <aj@suse.de>
44992         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44994 2012-06-25  Andreas Jaeger  <aj@suse.de>
44996         * sysdeps/s390/fpu/libm-test-ulps: Update.
44998 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44999             Thomas Schwinge  <thomas@codesourcery.com>
45001         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45002         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45004         fanotify_mark.
45006 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45008         * sysdeps/mach/start.c: Remove file.
45009         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45010         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45011         * sysdeps/sh/init-first.c: Likewise.
45013         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45014         registers for frame unwinding purposes, add CFI directives.
45015         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45017         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45018         Likewise.
45020         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45021         __fortify_fail returning.
45022         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45024         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45025         sysdeps/sh/____longjmp_chk.S.
45026         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45027         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45028         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45029         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45031         * sysdeps/sh/abort-instr.h: New file.
45032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45033         process in case exit returns.
45035         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45036         initialize the GOT register before use.
45038         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45039         calculation of ARGC > 4.
45041         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45042         meaningful names to some local labels.
45044 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45045             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45047         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45048         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45049         (__arch_compare_and_exchange_val_16_acq): Likewise.
45050         (__arch_compare_and_exchange_val_32_acq): Likewise.
45051         (atomic_exchange_and_add): Fix gUSA sequence.
45052         (atomic_add): Likewise.
45053         (atomic_add_negative): Likewise.
45054         (atomic_add_zero): Likewise.
45055         (atomic_bit_test_set): Likewise.
45057 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45059         [BZ #13579]
45060         * include/link.h (struct link_map): Add l_free_initfini.
45061         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45062         l_initfini.
45063         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45064         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45065         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45066         set.
45068 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45070         * configure.in: Use AC_LANG_SOURCE.
45071         * configure: Regenerate.
45073 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45075         * configure.in (libc_cv_localstatedir): New substituted variable.
45076         * configure: Regenerated.
45077         * config.make.in (localstatedir): New variable, substituted from
45078         libc_cv_localstatedir.
45079         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45080         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45081         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45082         * sysdeps/gnu/configure: Regenerated.
45084 2012-06-21  Jeff Law  <law@redhat.com>
45086         [BZ #14277]
45087         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45088         free.  Simplify list management for _LIBC case.
45090 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45092         [BZ #14273]
45093         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45094         Clear sign bit of 64-bit integer value before comparing against
45095         overflow value.
45097         * sysdeps/mach/configure: Regenerated.
45099 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45101         [BZ #14278]
45102         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45104 2012-06-21  Jeff Law  <law@redhat.com>
45106         [BZ #13882]
45107         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45108         uint16_t for elements in the "seen" array to avoid char overflows.
45109         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45110         * elf/dl-open.c (dl_open_worker): Likewise.
45112 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45114         * scripts/list-sources.sh: Scan PORTS for translations.
45115         * po/libc.pot: Regenerated.
45117 2012-06-21  Andreas Jaeger  <aj@suse.de>
45119         [BZ #12194]
45120         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45121         warning.
45122         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45123         * bits/byteswap-16.h (__bswap_16): Likewise.
45124         * bits/byteswap.h (__bswap_constant_16): Likewise.
45126 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45128         [BZ #14117]
45129         * sysdeps/i386/fpu_control.h: Removed.
45130         * sysdeps/x86_64/fpu_control.h: Moved to ...
45131         * sysdeps/x86/fpu_control.h: Here.
45133         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45134         (_FPU_SETCW): Likewise.
45136 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45138         [BZ #14117]
45139         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45140         * sysdeps/x86/fpu/bits/mathinline.h: This.
45141         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45143         [BZ #14050]
45144         [BZ #14117]
45145         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45146         functions if __x86_64__ is defined.
45148 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45150         * string/endian.h: Add !__ASSEMBLER__ condition for including
45151         conversion interfaces.
45153 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45155         [BZ #14241]
45156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45157         of ABS(x) in calculating zero to negative powers other than odd
45158         integers.
45159         * math/libm-test.inc (pow_test): Add more tests.
45161 2012-06-15  Andreas Jaeger  <aj@suse.de>
45163         * manual/contrib.texi (Contributors): Update entry of Liubov
45164         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45165         Machado Filho.
45167 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45169         * string/string.h: Add __wur to GNU version of strerror_r.
45171 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45173         [BZ #14229]
45174         * string/Makefile (tests): Add tst-strtok_r.
45175         * string/tst-strtok_r.c: New file.
45176         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45177         RAX_LP/RDX_LP on SAVE_PTR.
45179 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45181         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45183 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45185         * libm_test.inc (csqrt_test): Allow more spurious underflow
45186         exceptions.
45187         (j0_test): Likewise.
45188         (j1_test): Likewise.
45189         (y0_test): Likewise.
45190         (y1_test): Likewise.
45192 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45194         * po/Makefile (libc.pot): Use UTF-8 charset.
45196 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45198         [BZ #14210]
45199         Suppress sign-conversion warning from FD_SET.
45200         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45201         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45202         not unsigned long int.
45203         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45205 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45207         [BZ #14050]
45208         [BZ #14117]
45209         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45210         __extern_always_inline instead of __extern_inline.
45211         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45212         (__signbit): Likewise.
45213         (__signbitl): Support C++ namespace.
45214         (lrintf): New inline function.
45215         (lrint): Likewise.
45216         (llrintf): Likewise.
45217         (llrint): Likewise.
45218         (fmaxf): Likewise.
45219         (fmax): Likewise.
45220         (fminf): Likewise.
45221         (fmin): Likewise.
45222         (rint): Likewise.
45223         (rintf): Likewise.
45224         (ceil): Likewise.
45225         (ceilf): Likewise.
45226         (floor): Likewise.
45227         (floorf): Likewise.
45228         (nearbyint): Likewise.
45229         (nearbyintf): Likewise.
45231 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45233         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45234         non-default versions.
45236 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45238         [BZ #14218]
45239         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45241 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45243         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45244         (FE_UPWARD, FE_DOWNWARD): Don't define.
45245         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45246         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45248         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45249         reading it.
45250         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45251         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45253 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45255         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45257         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45258         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45260 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45262         [BZ #14117]
45263         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45264         * sysdeps/i386/fpu/Implies: New file.
45265         * sysdeps/x86_64/fpu/Implies: Likewise.
45266         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45267         * sysdeps/x86/fpu/bits/fenv.h: This.
45269         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45270         __SSE_MATH__.
45272 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45274         [BZ #14134]
45275         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45276         character 0xffff that matches the last element of the
45277         conversion table.
45279 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45281         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45282         fmodl commit.
45284 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45287         values higher than 25.6283.
45289 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45292         subnormal exponent extraction and add some __builtin_expect.
45293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45294         Fix for subnormal mantissa calculation.
45296 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45298         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45299         cpu2 is -1 and errno is not ENOSYS.
45301 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45303         [BZ #14117]
45304         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45305         * sysdeps/x86/bits/string.h: This.
45306         * sysdeps/x86_64/bits/string.h: Removed.
45308         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45309         if not compiling for x86-64, but compiling for >= i486.
45311         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45312         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45314         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45315         New macro from Linux kernel 3.4.0.
45316         (FP_XSTATE_MAGIC2): Likewise.
45317         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45318         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45319         (struct _fpx_sw_bytes): New struct.
45320         (struct _xsave_hdr): Likewise.
45321         (struct _ymmh_state): Likewise.
45322         (struct _xstate): Likewise.
45324         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45325         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45326         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45327         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45328         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45329         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45331         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45332         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45333         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45334         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45335         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45336         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45338 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45340         [BZ #13743]
45341         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45342         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45343         (sysdep_headers): Include sys/platform/ppc.h.
45344         * sysdeps/powerpc/test-gettimebase.c: Test for
45345         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45346         * manual/Makefile (appendices): Include platform.texi.
45347         * manual/contrib.texi (Contributors): Update @node pointers.
45348         * manual/maint.texi (Maintenance): Likewise.
45349         (Platform): New node.
45350         * manual/platform.texi: New file.  Document the new features.
45352 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45353             Jakub Jelinek  <jakub@redhat.com>
45355         [BZ #14188]
45356         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45357         where __builtin_expect is unavailable.
45359 2012-06-03  David S. Miller  <davem@davemloft.net>
45361         * stdlib/longlong.h: Updated from GCC.
45363 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45365         [BZ #14042]
45366         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45367         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45368         __mcount_internal.
45369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45370         (GLIBC_2.16): Likewise.
45372 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45374         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45376 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45379         (default-abi): New variable.
45380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45381         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45382         variable.
45383         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45384         Likewise.
45385         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45386         Likewise.
45387         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45388         Likewise.
45390         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45391         definition.  Document in comment.
45393 2012-06-01  David S. Miller  <davem@davemloft.net>
45395         * stdlib/longlong.h: Updated from GCC.
45397 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45399         [BZ #14117]
45400         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45401         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45402         sys/debugreg.h sys/io.h here.
45403         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45404         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45405         sys/io.h.
45406         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45407         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45408         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45409         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45410         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45411         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45413         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45414         Define only if __x86_64__ is defined.
45416 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45418         [BZ #14048]
45419         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45420         Use int64_t for variable i.
45421         * math/libm-test.inc (fmod_test): Add more tests.
45423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45424         z computation is not scheduled after fetestexcept.
45425         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45426         Use math_force_eval instead of asm to ensure calculation scheduled
45427         before exception test.
45428         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45429         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45431 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45434         computation is not scheduled after fetestexcept.
45436 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45438         [BZ #14117]
45439         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45440         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45442 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45444         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45445         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45447 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45449         [BZ #14117]
45450         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45451         <bits/wordsize.h>.
45452         (__WCHAR_MIN): Support __WORDSIZE == 64.
45453         (__WCHAR_MAX): Likewise.
45455         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45456         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45458         [BZ #14183]
45459         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45460         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45462         [BZ #14117]
45463         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45464         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45466         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45467         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45469         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45470         Defined to 1 if __x86_64__ isn't defined.
45471         (_STAT_VER_LINUX_OLD): New.
45472         (st_atime): Remove duplicate.
45473         (st_mtime): Likewise.
45474         (st_ctime): Likewise.
45476 2012-05-31  David S. Miller  <davem@davemloft.net>
45478         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45479         entries.
45481 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45483         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45484         gen-libm-test.pl.
45486         [BZ #14132]
45487         * elf/dl-reloc.c: Include <_itoa.h>.
45488         (_dl_reloc_bad_type): Remove use of INTUSE.
45489         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45490         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45491         * stdio-common/psiginfo.c (psiginfo): Likewise.
45492         * stdio-common/psignal.c (psignal): Likewise.
45493         * string/strsignal.c (strsignal): Likewise.
45494         * include/signal.h (_sys_siglist): Declare hidden proto.
45495         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45496         INTVARDEF with libc_hidden_data_def.
45497         * stdio-common/itoa-udigits.c: Likewise.
45498         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45499         (_itoa_lower_digits_internal): Remove declaration.
45500         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45501         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45502         (_sys_sigabbrev_internal): Remove aliases.
45503         (_sys_siglist): Define hidden alias.
45505 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45508         bits/sysctl.h.
45510 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45512         [BZ #14117]
45513         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45514         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45516         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45517         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45518         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45519         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45521         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45523         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45524         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45525         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45527         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45528         with __addr.
45529         (insw): Likewise.
45530         (insl): Likewise.
45531         (outsb): Likewise.
45532         (outsw): Likewise.
45533         (outsl): Likewise.
45535         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45536         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45537         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45539         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45540         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45542         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45543         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45544         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45546         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45547         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45549         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45550         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45554         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45556         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45557         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45558         to ...
45559         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45561         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45562         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45563         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45565         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45566         for x86-64.
45567         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45569 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45571         * math/math.h (M_El): Use two more decimal places.
45572         (M_LOG2El): Likewise.
45573         (M_LOG10El): Likewise.
45574         (M_LN2l): Likewise.
45575         (M_LN10l): Likewise.
45576         (M_PIl): Likewise.
45577         (M_PI_2l): Likewise.
45578         (M_PI_4l): Likewise.
45579         (M_1_PIl): Likewise.
45580         (M_2_PIl): Likewise.
45581         (M_2_SQRTPIl): Likewise.
45582         (M_SQRT2l): Likewise.
45583         (M_SQRT1_2l): Likewise.
45585 2012-05-31  David S. Miller  <davem@davemloft.net>
45587         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45588         values between float registers.
45589         * sysdeps/sparc/sparc64/memset.S: Likewise.
45590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45592 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45594         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45595         -D_FORTIFY_SOURCE=1.
45596         (CPPFLAGS-tst-longjmp_chk.c): Define.
45597         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45598         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45599         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45600         CFLAGS-tst-wchar-h.c.
45602 2012-05-31  Marek Polacek  <polacek@redhat.com>
45604         [BZ #14132]
45605         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45606         __endmntent_internal): Remove declaration.
45607         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45608         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45609         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45611 2012-05-30  David S. Miller  <davem@davemloft.net>
45613         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45614         (___Q_simulate_exceptions): Use real FP ops rather than writing
45615         into the %fsr.
45616         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45617         Likewise.
45619 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45621         [BZ #14117]
45622         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45623         * sysdeps/x86/bits/xtitypes.h: This.
45625         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45626         * sysdeps/x86/bits/wordsize.h: This.
45628         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45629         * sysdeps/x86/bits/huge_vall.h: This.
45631         * sysdeps/i386/bits/select.h: Removed.
45632         * sysdeps/x86_64/bits/select.h: Renamed to ...
45633         * sysdeps/x86/bits/select.h: This.
45635         * sysdeps/i386/bits/setjmp.h: Removed.
45636         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45637         * sysdeps/x86/bits/setjmp.h: This.
45639         * sysdeps/i386/bits/mathdef.h: Removed.
45640         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45641         * sysdeps/x86/bits/mathdef.h: This.
45643 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45645         [BZ #14132]
45646         * include/sys/socket.h (__connect_internal)
45647         (__libc_sa_len_internal): Remove declaration.
45648         (__connect, __libc_sa_len): Declare hidden_proto.
45649         (SA_LEN): Remove use of INTUSE.
45650         * socket/connect.c: Add libc_hidden_def.
45651         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45652         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45653         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45654         alias.
45655         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45656         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45657         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45658         of adding _internal alias.
45660 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45662         [BZ #14117]
45663         * sysdeps/i386/bits/link.h: Removed.
45664         * sysdeps/i386/bits/linkmap.h: Likewise.
45665         * sysdeps/x86_64/bits/link.h: Renamed to ...
45666         * sysdeps/x86/bits/link.h: This.
45667         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45668         * sysdeps/x86/bits/linkmap.h: This.
45670         * sysdeps/i386/bits/endian.h: Removed.
45671         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45672         * sysdeps/x86/bits/endian.h: This.
45674         * sysdeps/i386/bits/byteswap.h: Removed.
45675         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45676         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45677         * sysdeps/x86/bits/byteswap.h: This.
45678         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45679         * sysdeps/x86/bits/byteswap-16.h: This.
45680         * sysdeps/i386/Implies: Add x86.
45681         * sysdeps/x86_64/Implies: Likewise.
45683 2012-05-30  David S. Miller  <davem@davemloft.net>
45685         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45686         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45687         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45688         (FP_TRAPPING_EXCEPTIONS): Define.
45689         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45690         (FP_TRAPPING_EXCEPTIONS): Define.
45691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45692         subnormals only when inexact has been signalled or underflow
45693         exceptions are enabled.
45694         (_FP_PACK_CANONICAL): Likewise.
45696 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45698         [BZ #14183]
45699         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45700         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45702 2012-05-30  Richard Henderson  <rth@twiddle.net>
45704         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45705         with #ifndef NOT_IN_libc.
45707         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45708         marked to avoid plt entry.
45710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45712         [BZ #14112]
45713         * Makeconfig (default-abi): New macro.
45714         (abi-includes): Likewise.
45715         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45716         $(abi-$(default-abi)-lib-soname) for soname if defined.
45717         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45718         abi-variants.
45719         * Makefile (installed-stubs): Likewise.
45720         * include/stubs-biarch.h: Removed.
45721         * scripts/lib-names.awk: Only handle one library at a time.
45722         * scripts/soversions.awk: Remove WORDSIZE support.
45723         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45724         entries.
45725         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45726         Removed.
45727         (syscall-list-default-condition): Likewise.
45728         (syscall-list-default-condition): Likewise.
45729         (syscall-list-includes): Likewise.
45730         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45731         syscall-list-* with abi-*.  Handle undefined abi-variants.
45732         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45733         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45734         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45735         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45736         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45737         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45738         Removed.
45739         (syscall-list-32-options): Likewise.
45740         (syscall-list-32-condition): Likewise.
45741         (syscall-list-64-options): Likewise.
45742         (syscall-list-64-condition): Likewise.
45743         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45744         macro.
45745         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45746         Renamed to ...
45747         (abi-*): This.
45748         (abi-64-ld-soname): New macro.
45749         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45750         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45751         Renamed to ...
45752         (abi-*): This.
45753         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45754         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45756 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45758         * sysdeps/unix/sysv/linux/kernel-features.h
45759         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45760         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45761         include <kernel-features.h>.
45762         [!__NR_ftruncate64]: Remove conditional code.
45763         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45764         [__NR_ftruncate64]: Make code unconditional.
45765         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45766         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45767         include <kernel-features.h>.
45768         [!__NR_ftruncate64]: Remove conditional code.
45769         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45770         [__NR_ftruncate64]: Make code unconditional.
45771         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45773         include <kernel-features.h>.
45774         [!__NR_ftruncate64]: Remove conditional code.
45775         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45776         [__NR_ftruncate64]: Make code unconditional.
45777         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45779         include <kernel-features.h>.
45780         [!__NR_ftruncate64]: Remove conditional code.
45781         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45782         [__NR_ftruncate64]: Make code unconditional.
45783         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45785         * configure.in (libc_cv_fpie): Weaken to a compile test using
45786         LIBC_TRY_CC_OPTION.
45787         * configure: Regenerated.
45789 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45795         Refreshed.
45796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45802         Refreshed.
45804 2012-05-27  David S. Miller  <davem@davemloft.net>
45806         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45807         (___Q_zero): New.
45808         (__Q_simulate_exceptions): Return void.  Change to simulate
45809         exceptions by writing into the %fsr.
45810         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45811         (__Qp_handle_exceptions): Likewise.
45812         (numbers): Delete.
45813         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45814         __Qp_handle_exceptions.
45815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45816         __Qp_handle_exceptions.
45817         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45818         as unused and give dummy FP_RND_NEAREST initializer.
45819         (FP_INHIBIT_RESULTS): Define.
45820         (___Q_simulate_exceptions): Update declaration.
45821         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45822         formatting.
45823         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45824         as unused and give dummy FP_RND_NEAREST initializer.
45825         (__Qp_handle_exceptions): Update declaration.
45826         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45827         formatting.
45829 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45831         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45832         the temporary FPU control word.
45833         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45834         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45835         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45836         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45837         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45838         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45839         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45840         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45841         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45842         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45843         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45845 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45847         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45848         fields.
45850 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45852         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45853         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45854         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45855         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45856         Likewise.
45857         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45858         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45859         Likewise.
45861 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45863         * po/h.po: Update from translation team.
45865 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45867         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45869         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45870         handling of denormals.
45871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45872         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45873         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45874         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45878         Likewise.
45880 2012-05-26  Marek Polacek  <polacek@redhat.com>
45882         [BZ #14152]
45883         * math/libm-test.inc (fma_test): Don't always expect underflow
45884         exception.
45886 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45888         [BZ #12416]
45889         * elf/tst-execstack.c: Include stackinfo.h.
45890         (do_test): Adjust test case to ensure that pthread_getattr_np
45891         behaviour remains the same after marking stack executable.
45893 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45895         * sysdeps/unix/sysv/linux/kernel-features.h
45896         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45897         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45898         kernel-features.h.
45899         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45900         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45901         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45902         kernel-features.h.
45903         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45904         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45906 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45908         * configure.in: Define the default includes to being none.
45909         * configure: Regenerated.
45911 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45913         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45914         * sysdeps/x86_64/setjmp.S: Likewise.
45915         * sysdeps/i386/bsd-setjmp.S: Likewise.
45916         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45917         * sysdeps/i386/setjmp.S: Likewise.
45918         * sysdeps/i386/__longjmp.S: Likewise.
45919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45920         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45922         * include/stap-probe.h: New file.
45923         * configure.in: Handle --enable-systemtap.
45924         * configure: Regenerated.
45925         * config.h.in (USE_STAP_PROBE): New #undef.
45926         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45927         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45928         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45930 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45932         [BZ #13717]
45933         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45934         to 2.4.0 where earlier.
45935         * sysdeps/unix/sysv/linux/configure: Regenerated.
45936         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45937         <kernel-features.h>.
45938         [__ASSUME_32BITUIDS]: Make code unconditional.
45939         [!__ASSUME_32BITUIDS]: Remove conditional code.
45940         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45941         <kernel-features.h>.
45942         [__ASSUME_32BITUIDS]: Make code unconditional.
45943         [!__ASSUME_32BITUIDS]: Remove conditional code.
45944         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45945         [__ASSUME_32BITUIDS]: Make code unconditional.
45946         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45947         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45948         <kernel-features.h>.
45949         [__ASSUME_32BITUIDS]: Make code unconditional.
45950         [!__ASSUME_32BITUIDS]: Remove conditional code.
45951         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45952         <kernel-features.h>.
45953         [__ASSUME_32BITUIDS]: Make code unconditional.
45954         [!__ASSUME_32BITUIDS]: Remove conditional code.
45955         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45956         <kernel-features.h>.
45957         [__ASSUME_32BITUIDS]: Make code unconditional.
45958         [!__ASSUME_32BITUIDS]: Remove conditional code.
45959         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45960         <kernel-features.h>.
45961         [__ASSUME_32BITUIDS]: Make code unconditional.
45962         [!__ASSUME_32BITUIDS]: Remove conditional code.
45963         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45964         <kernel-features.h>.
45965         [__ASSUME_32BITUIDS]: Make code unconditional.
45966         [!__ASSUME_32BITUIDS]: Remove conditional code.
45967         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45968         <kernel-features.h>.
45969         [__ASSUME_32BITUIDS]: Make code unconditional.
45970         [!__ASSUME_32BITUIDS]: Remove conditional code.
45971         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45972         <kernel-features.h>.
45973         [__ASSUME_32BITUIDS]: Make code unconditional.
45974         [!__ASSUME_32BITUIDS]: Remove conditional code.
45975         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45976         <kernel-features.h>.
45977         [__ASSUME_32BITUIDS]: Make code unconditional.
45978         [!__ASSUME_32BITUIDS]: Remove conditional code.
45979         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45980         <kernel-features.h>.
45981         [__ASSUME_32BITUIDS]: Make code unconditional.
45982         [!__ASSUME_32BITUIDS]: Remove conditional code.
45983         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45984         <kernel-features.h>.
45985         [__ASSUME_32BITUIDS]: Make code unconditional.
45986         [!__ASSUME_32BITUIDS]: Remove conditional code.
45987         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45988         <kernel-features.h>.
45989         [__NR_setresgid] (__setresgid): Do not declare.
45990         [__ASSUME_32BITUIDS]: Make code unconditional.
45991         [!__ASSUME_32BITUIDS]: Remove conditional code.
45992         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45993         <kernel-features.h>.
45994         [__NR_setresuid] (__setresuid): Do not declare.
45995         [__ASSUME_32BITUIDS]: Make code unconditional.
45996         [!__ASSUME_32BITUIDS]: Remove conditional code.
45997         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45998         <kernel-features.h>.
45999         [__ASSUME_32BITUIDS]: Make code unconditional.
46000         [!__ASSUME_32BITUIDS]: Remove conditional code.
46001         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46002         <kernel-features.h>.
46003         [__ASSUME_32BITUIDS]: Make code unconditional.
46004         [!__ASSUME_32BITUIDS]: Remove conditional code.
46005         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46006         <kernel-features.h>.
46007         [__ASSUME_32BITUIDS]: Make code unconditional.
46008         [!__ASSUME_32BITUIDS]: Remove conditional code.
46009         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46010         <kernel-features.h>.
46011         [__ASSUME_32BITUIDS]: Make code unconditional.
46012         [!__ASSUME_32BITUIDS]: Remove conditional code.
46013         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46014         <kernel-features.h>.
46015         [__ASSUME_32BITUIDS]: Make code unconditional.
46016         [!__ASSUME_32BITUIDS]: Remove conditional code.
46017         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46018         <kernel-features.h>.
46019         [__ASSUME_32BITUIDS]: Make code unconditional.
46020         [!__ASSUME_32BITUIDS]: Remove conditional code.
46021         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46022         <kernel-features.h>.
46023         [__ASSUME_32BITUIDS]: Make code unconditional.
46024         [!__ASSUME_32BITUIDS]: Remove conditional code.
46025         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46026         <kernel-features.h>.
46027         [__ASSUME_32BITUIDS]: Make code unconditional.
46028         [!__ASSUME_32BITUIDS]: Remove conditional code.
46029         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46030         <kernel-features.h>.
46031         [__ASSUME_32BITUIDS]: Make code unconditional.
46032         [!__ASSUME_32BITUIDS]: Remove conditional code.
46033         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46034         <kernel-features.h>.
46035         [__ASSUME_32BITUIDS]: Make code unconditional.
46036         [!__ASSUME_32BITUIDS]: Remove conditional code.
46037         * sysdeps/unix/sysv/linux/kernel-features.h
46038         (__ASSUME_SETRESUID_SYSCALL): Remove.
46039         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46040         (__ASSUME_32BITUIDS): Likewise.
46041         (__ASSUME_LDT_WORKS): Likewise.
46042         (__ASSUME_O_DIRECTORY): Likewise.
46043         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46044         architecture but not kernel version.
46045         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46046         (__ASSUME_MMAP2_SYSCALL): Likewise.
46047         (__ASSUME_STAT64_SYSCALL): Likewise.
46048         (__ASSUME_IPC64): Likewise.
46049         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46050         <kernel-features.h>.
46051         [__ASSUME_32BITUIDS]: Make code unconditional.
46052         [!__ASSUME_32BITUIDS]: Remove conditional code.
46053         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46054         <kernel-features.h>.
46055         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46056         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46057         132096]: Remove conditional code.
46058         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46059         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46060         <kernel-features.h>.
46061         [__ASSUME_32BITUIDS]: Make code unconditional.
46062         [!__ASSUME_32BITUIDS]: Remove conditional code.
46063         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46064         <kernel-features.h>.
46065         [__ASSUME_32BITUIDS]: Make code unconditional.
46066         [!__ASSUME_32BITUIDS]: Remove conditional code.
46067         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46068         <kernel-features.h>.
46069         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46070         unconditional.
46071         (__setresgid): Do not declare.
46072         [__ASSUME_32BITUIDS]: Make code unconditional.
46073         [!__ASSUME_32BITUIDS]: Remove conditional code.
46074         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46075         <kernel-features.h>.
46076         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46077         unconditional.
46078         (__setresuid): Do not declare.
46079         [__ASSUME_32BITUIDS]: Make code unconditional.
46080         [!__ASSUME_32BITUIDS]: Remove conditional code.
46081         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46082         <kernel-features.h>.
46083         [__ASSUME_32BITUIDS]: Make code unconditional.
46084         [!__ASSUME_32BITUIDS]: Remove conditional code.
46085         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46086         <kernel-features.h>.
46087         [__ASSUME_32BITUIDS]: Make code unconditional.
46088         [!__ASSUME_32BITUIDS]: Remove conditional code.
46090 2012-05-25  Richard Henderson  <rth@twiddle.net>
46092         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46093         dl_hwcap to ifunc resolver.
46094         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46095         elf_ifunc_invoke.
46096         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46097         dl_hwcap to ifunc resolver.
46098         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46100 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46102         [BZ #14153]
46103         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46104         for |x| <= 2**-26, not 2**-57.
46105         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46106         exception.
46108 2012-05-24  Jeff Law  <law@redhat.com>
46110         * stdio-common/Makefile (tests): Add bug25.
46111         * stdio-common/bug25.c: New test.
46113 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46115         [BZ #13576]
46116         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46117         multiple of MALLOC_ALIGNMENT in size.
46118         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46120 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46122         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46123         Require >= 256.
46124         (FILENAME_MAX): Use macro-int-constant.
46125         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46126         (_IOFBF): Use macro-int-constant.
46127         (_IOLBF): Likewise.
46128         (_IONBF): Likewise.
46129         (SEEK_CUR): Likewise.
46130         (SEEK_END): Likewise.
46131         (SEEK_SET): Likewise.
46132         (TMP_MAX): Likewise.
46133         (EOF): Use macro-int-constant.  Require < 0.
46134         (NULL): Use macro-constant.  Require == 0.
46135         (stdin): Require type to be FILE *.
46136         (stdout): Likewise.
46137         (stderr): Likewise.
46138         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46139         macro-int-constant.
46140         (EXIT_SUCCESS): Likewise.
46141         (NULL): Use macro-constant.  Require == 0.
46142         (RAND_MAX): Use macro-int-constant.
46143         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46144         [C99-based standards] (strtof): Require function.
46145         [C99-based standards] (strtold): Likewise.
46146         [C99-based standards] (strtoll): Likewise.
46147         [C99-based standards] (strtoull): Likewise.
46148         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46149         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46150         [ISO || ISO99 || ISO11] (math.h): Likewise.
46151         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46152         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46155 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46157         [BZ #14132]
46158         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46159         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46160         * intl/dgettext.c (DCGETTEXT): Likewise.
46161         * intl/gettext.c (DCGETTEXT): Likewise.
46162         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46163         * posix/regex_internal.h (gettext): Likewise.
46164         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46165         Remove declaration.
46166         * include/argz.h (__argz_count_internal)
46167         (__argz_stringify_internal): Remove declaration.
46168         (__argz_count, __argz_stringify): Declare hidden proto.
46169         * intl/dcgettext.c: Remove use of INTDEF.
46170         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46171         * string/argz-stringify.c: Likewise.
46172         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46173         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46174         Declare hidden proto.
46175         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46176         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46177         Declare hidden proto.
46178         * include/stdio.h (__asprintf_internal): Don't declare.
46179         (__asprintf): Don't define as macro.  Declare hidden proto.
46180         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46181         (__fsetlocking): Declare hidden proto.
46182         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46183         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46184         hidden proto.
46185         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46186         (_IO_setlinebuf): Remove use of INTUSE.
46187         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46188         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46189         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46190         Remove declaration.
46191         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46192         (_IO_do_flush): Remove use of INTUSE.
46193         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46194         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46195         (_IO_adjust_column, _IO_least_wmarker)
46196         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46197         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46198         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46199         (_IO_default_doallocate, _IO_wdefault_doallocate)
46200         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46201         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46202         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46203         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46204         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46205         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46206         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46207         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46208         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46209         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46210         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46211         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46212         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46213         proto.
46214         (_IO_flush_all_internal, _IO_adjust_column_internal)
46215         (_IO_default_uflow_internal, _IO_default_finish_internal)
46216         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46217         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46218         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46219         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46220         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46221         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46222         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46223         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46224         (_IO_file_close_internal, _IO_file_close_it_internal)
46225         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46226         (_IO_file_init_internal, _IO_file_attach_internal)
46227         (_IO_file_fopen_internal, _IO_file_read_internal)
46228         (_IO_file_sync_internal, _IO_file_seek_internal)
46229         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46230         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46231         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46232         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46233         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46234         (_IO_list_all_internal, _IO_link_in_internal)
46235         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46236         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46237         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46238         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46239         (_IO_do_write_internal, _IO_padn_internal)
46240         (_IO_getline_info_internal, _IO_getline_internal)
46241         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46242         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46243         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46244         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46245         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46246         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46247         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46248         with libc_hidden_ver, remove use of INTUSE.
46249         * libio/genops.c: Likewise.
46250         * libio/freopen.c: Likewise.
46251         * libio/freopen64.c: Likewise.
46252         * libio/iofclose.c: Likewise.
46253         * libio/iofdopen.c: Likewise.
46254         * libio/iofflush.c: Likewise.
46255         * libio/iofflush_u.c: Likewise.
46256         * libio/iofgets.c: Likewise.
46257         * libio/iofgets_u.c: Likewise.
46258         * libio/iofopen.c: Likewise.
46259         * libio/iofopncook.c: Likewise.
46260         * libio/iofread.c: Likewise.
46261         * libio/iofread_u.c: Likewise.
46262         * libio/ioftell.c: Likewise.
46263         * libio/iofwrite.c: Likewise.
46264         * libio/iogetline.c: Likewise.
46265         * libio/iogets.c: Likewise.
46266         * libio/iogetwline.c: Likewise.
46267         * libio/iopadn.c: Likewise.
46268         * libio/iopopen.c: Likewise.
46269         * libio/ioseekoff.c: Likewise.
46270         * libio/ioseekpos.c: Likewise.
46271         * libio/iosetbuffer.c: Likewise.
46272         * libio/iosetvbuf.c: Likewise.
46273         * libio/ioungetc.c: Likewise.
46274         * libio/ioungetwc.c: Likewise.
46275         * libio/iovdprintf.c: Likewise.
46276         * libio/iovsprintf.c: Likewise.
46277         * libio/iovsscanf.c: Likewise.
46278         * libio/memstream.c: Likewise.
46279         * libio/obprintf.c: Likewise.
46280         * libio/oldfileops.c: Likewise.
46281         * libio/oldiofclose.c: Likewise.
46282         * libio/oldiofdopen.c: Likewise.
46283         * libio/oldiofopen.c: Likewise.
46284         * libio/oldiopopen.c: Likewise.
46285         * libio/oldstdfiles.c: Likewise.
46286         * libio/putc.c: Likewise.
46287         * libio/setbuf.c: Likewise.
46288         * libio/setlinebuf.c: Likewise.
46289         * libio/stdfiles.c: Likewise.
46290         * libio/strops.c: Likewise.
46291         * libio/vasprintf.c: Likewise.
46292         * libio/vscanf.c: Likewise.
46293         * libio/vsnprintf.c: Likewise.
46294         * libio/vswprintf.c: Likewise.
46295         * libio/wfiledoalloc.c: Likewise.
46296         * libio/wfileops.c: Likewise.
46297         * libio/wgenops.c: Likewise.
46298         * libio/wmemstream.c: Likewise.
46299         * libio/wstrops.c: Likewise.
46300         * libio/__fpurge.c: Likewise.
46301         * libio/__fsetlocking.c: Likewise.
46302         * assert/assert.c: Likewise.
46303         * debug/fgets_chk.c: Likewise.
46304         * debug/fgets_u_chk.c: Likewise.
46305         * debug/fread_chk.c: Likewise.
46306         * debug/fread_u_chk.c: Likewise.
46307         * debug/gets_chk.c: Likewise.
46308         * debug/obprintf_chk.c: Likewise.
46309         * debug/vasprintf_chk.c: Likewise.
46310         * debug/vdprintf_chk.c: Likewise.
46311         * debug/vsnprintf_chk.c: Likewise.
46312         * debug/vsprintf_chk.c: Likewise.
46313         * malloc/mtrace.c: Likewise.
46314         * misc/error.c: Likewise.
46315         * misc/syslog.c: Likewise.
46316         * stdio-common/asprintf.c: Likewise.
46317         * stdio-common/fxprintf.c: Likewise.
46318         * stdio-common/getw.c: Likewise.
46319         * stdio-common/isoc99_fscanf.c: Likewise.
46320         * stdio-common/isoc99_scanf.c: Likewise.
46321         * stdio-common/isoc99_vfscanf.c: Likewise.
46322         * stdio-common/isoc99_vscanf.c: Likewise.
46323         * stdio-common/isoc99_vsscanf.c: Likewise.
46324         * stdio-common/printf-prs.c: Likewise.
46325         * stdio-common/printf_fp.c: Likewise.
46326         * stdio-common/printf_fphex.c: Likewise.
46327         * stdio-common/printf_size.c: Likewise.
46328         * stdio-common/putw.c: Likewise.
46329         * stdio-common/scanf.c: Likewise.
46330         * stdio-common/sprintf.c: Likewise.
46331         * stdio-common/tmpfile.c: Likewise.
46332         * stdio-common/vfprintf.c: Likewise.
46333         * stdio-common/vfscanf.c: Likewise.
46334         * stdlib/strfmon_l.c: Likewise.
46335         * sunrpc/openchild.c: Likewise.
46336         * sunrpc/xdr_stdio.c: Likewise.
46337         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46338         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46340 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46342         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46344         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46345         in the third column, to generate for the shared library an IFUNC
46346         that uses _dl_vdso_vsym.
46347         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46348         * Makeconfig (object-suffixes-noshared): New variable.
46350         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46351         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46352         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46353         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46355         [BZ #14132]
46356         * include/sys/time.h (__gettimeofday): Remove macro.
46357         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46358         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46359         Remove INTDEF.
46360         (__gettimeofday): Add libc_hidden_def.
46361         (gettimeofday): Add libc_hidden_weak.
46362         * sysdeps/mach/gettimeofday.c: Likewise.
46363         * sysdeps/posix/gettimeofday.c: Likewise.
46364         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46365         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46367         (__gettimeofday_internal): Remove strong_alias.
46368         (__gettimeofday): Add libc_hidden_def.
46369         (gettimeofday): Add libc_hidden_weak.
46370         * sysdeps/unix/syscalls.list (gettimeofday):
46371         Remove __gettimeofday_internal alias.
46373 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46374             H.J. Lu  <hongjiu.lu@intel.com>
46376         [BZ #12495]
46377         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46378         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46379         (largebin_index_32_big): New.
46380         (largebin_index): Use it for 16-byte alignment.
46381         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46382         correction with front_misalign.
46384 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46388         Likewise.
46389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46390         Likewise.
46391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46392         Likewise.
46393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46394         Likewise.
46395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46396         Likewise.
46397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46398         Likewise.
46399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46400         Likewise.
46401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46402         Likewise.
46403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46404         Likewise.
46405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46406         Likewise.
46407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46408         Likewise.
46409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46410         Likewise.
46412         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46413         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46417         [BZ #10846]
46418         [BZ #14036]
46419         * math/libm-test.inc (exp_test): Add test from bug 14036.
46420         (pow_test): Add test from bug 10846.
46422         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46423         and other flags.
46424         (special_function): Do not include flags in test name.
46425         (parse_args): Likewise.
46426         * sysdeps/i386/fpu/libm-test-ulps: Update.
46427         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46428         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46432         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46433         exceptions.
46434         * math/libm-test.inc ("Philosophy"): Update comment about
46435         exception testing.
46436         (UNDERFLOW_EXCEPTION): New macro.
46437         (UNDERFLOW_EXCEPTION_OK): Likewise.
46438         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46439         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46440         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46441         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46442         (INVALID_EXCEPTION_OK): Update value.
46443         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46444         (OVERFLOW_EXCEPTION_OK): Likewise.
46445         (IGNORE_ZERO_INF_SIGN): Likewise.
46446         (test_exceptions): Handle underflow exceptions.
46447         (acos_test): Update for underflow exception expectations.
46448         (cexp_test): Likewise.
46449         (clog_test): Likewise.
46450         (clog10_test): Likewise.
46451         (csqrt_test): Likewise.
46452         (ctan_test): Likewise.
46453         (ctanh_test): Likewise.
46454         (exp_test): Likewise.
46455         (exp10_test): Likewise.
46456         (exp2_test): Likewise.
46457         (expm1_test): Likewise.
46458         (fma_test): Likewise.
46459         (j0_test): Likewise.
46460         (jn_test): Likewise.
46461         (nexttoward_test): Likewise.
46462         (pow_test): Likewise.
46463         (scalbn_test): Likewise.
46464         (scalbln_test): Likewise.
46465         (tan_test): Likewise.
46466         (y1_test): Likewise.
46467         * sysdeps/i386/fpu/libm-test-ulps: Update.
46468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46470 2012-05-23  David S. Miller  <davem@davemloft.net>
46472         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46473         (__libc_sigaction): Remove unused local variables.
46475 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46477         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46479 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46481         mktime: avoid signed integer overflow
46482         * time/mktime.c (__mktime_internal): Do not mishandle the case
46483         where diff == INT_MIN.
46485         mktime: simplify computation of average
46486         * time/mktime.c (ranged_convert): Use new time_t_avg function
46487         instead of rolling our own (probably-slower) code.
46489         mktime: do not assume signed right shift propagates sign bit
46490         * time/mktime.c (isdst_differ): New static function.
46491         (__mktime_internal): No need to normalize tm_isdst now.
46492         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46493         tm_isdst values.
46495         mktime: merge another wrapv change from gnulib
46496         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46497         from some compilers.
46499         mktime: remove incorrect attempt at unusual arithmetics
46500         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46501         The code didn't really work on such machines anyway.
46502         (TYPE_MINIMUM): Assume two's complement.
46503         (twos_complement_arithmetic): Verify that long_int and time_t
46504         are two's complement (or unsigned, in the latter case).
46506         mktime: check signed shifts on long_int and time_t, too
46507         * time/mktime.c (SHR): Check that shifts work as desired
46508         on the types long_int and time_t too, as SHR is used on
46509         such types.
46511         mktime: do not assume 'long' is wide enough
46512         * time/mktime.c (verify): Move decl up.
46513         (long_int): New type.
46514         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46515         to remove assumption in the code that 'long' is wide enough to
46516         store year values.  This assumption is not true on x32 and on
46517         some non-glibc platforms.
46519         mktime: merge wrapv change from gnulib
46520         * time/mktime.c (WRAPV): New macro.
46521         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46522         (guess_time_tm, __mktime_internal): Do not assume that signed
46523         integer overflow wraps around; modern compilers generate code
46524         where this assumption is no longer valid.
46526 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46528         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46529         Replace "jmp L(pseudo_end)" with "ret".
46530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46531         Likewise.
46533 2012-05-23  Andreas Jaeger  <aj@suse.de>
46535         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46536         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46538 2012-05-23  Andreas Jaeger  <aj@suse.de>
46539             Maximilian Attems  <max@stro.at>
46541         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46542         New macros.
46544 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46546         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46547         code so that pseudo_end is just ret and the stack pointer is
46548         correct also for static library in error case.
46550 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46552         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46553         move to syscalls.list.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46559         * manual/install.texi (Running make install): Do not mention Linux
46560         kernel version for which pt_chown is not needed.
46561         (Linux): Do not mention problems with nscd with 2.0 kernels.
46562         * INSTALL: Regenerated.
46564 2012-05-23  Andreas Jaeger  <aj@suse.de>
46566         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46567         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46568         macro.
46569         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46570         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46571         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46572         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46573         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46574         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46575         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46576         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46577         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46578         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46579         * sysdeps/unix/sysv/linux/bits/in.h
46580         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46582 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46584         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46585         (PREPARE_VERSION): Just use assert instead, it will be elided
46586         under [NDEBUG] anyway.
46588 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46590         * sysdeps/unix/sysv/linux/Makefile: Include
46591         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46592         (sysdep_routines): Remove sysctl.
46593         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46594         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46596         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46597         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46599 2012-05-22  Andreas Jaeger  <aj@suse.de>
46601         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46602         that pseudo_end is just ret and the stack pointer is correct also
46603         for static library in error case.
46605 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46607         [BZ #14122]
46608         * nss/nsswitch.c (defconfig_entries): New variable.
46609         (__nss_database_lookup): Don't leak defconfig entries.
46610         (nss_parse_service_list): Don't leak on error paths.
46611         (free_database_entries): New function.
46612         (free_defconfig): New function.
46613         (free_mem): Move common code to free_database_entries.
46615 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46617         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46618         Add arch_prctl.
46619         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46621         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46622         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46624         New macro.
46625         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46626         (INTERNAL_SYSCALL_TYPES): Likewise.
46627         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46628         (LOAD_REGS_TYPES_[1-6]): Likewise.
46629         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46630         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46632 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46634         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46635         copysignl for GLIBC_2_0.
46636         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46637         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46639         logbl for GLIBC_2_0.
46640         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46641         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46643 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46645         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46646         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46648         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46649         Use "neg %eax".
46651         * time/mktime.c: Update copyright years.
46653 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46655         mktime: merge comment-quoting-style change from gnulib
46656         * time/mktime.c: Quote 'like this' in comments.
46657         The GNU coding standards suggest that we no longer quote `like this',
46658         as "`" and "'" are typically rendered asymmetrically nowadays.
46659         The typical gnulib style is to quote 'like this' when quoting
46660         code, and "like this" when quoting English.
46662         * time/mktime.c (compile-command): Add "-I.".
46664         mktime: merge mktime-internal.h change from gnulib
46665         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46667         mktime: merge time_r change from gnulib
46668         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46670         mktime: merge DEBUG change from gnulib
46671         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46672         case system <time.h> has a #define.
46674         mktime: merge <sys/types.h> change from gnulib
46675         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46676         since <time.t> is now guaranteed to define time_t.
46678         mktime: merge HAVE_CONFIG_H change from gnulib
46679         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46681 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46684         Use "neg %eax".
46686         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46687         __rlim_t cast.
46688         (struct rusage): Use anonymous union to pad each field to
46689         __syscall_slong_t.
46691 2012-05-21  David S. Miller  <davem@davemloft.net>
46693         * Makefules (o-iterator): Remove .s cases.
46694         (compile-command.s): Delete.
46695         (COMPILE.s): Delete.
46696         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46698 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46700         * configure.in (libc_cv_predef_stack_protector): Only consider
46701         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46702         * configure: Regenerated.
46704 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46707         New macro.  Use R*LP on int and pointer.
46708         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46709         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46710         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46711         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46713         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46714         [__WORDSIZE_TIME64_COMPAT32] instead of
46715         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46716         (struct utmp): Likewise.
46717         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46718         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46719         Renamed to ...
46720         (__WORDSIZE_TIME64_COMPAT32): This.
46721         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46722         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46723         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46724         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46725         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46726         (__WORDSIZE_TIME64_COMPAT32): New macro.
46728 2012-05-21  Andreas Jaeger  <aj@suse.de>
46730         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46731         only if [SHARED]. Add prototype for __wcschr_ia32.
46733 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46735         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46736         of %rbp unmolested in the jmp_buf while mangling the low bits.
46737         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46738         unmolested high bits of %rbp while demangling the low bits.
46739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46741 2012-05-21  Andreas Jaeger  <aj@suse.de>
46743         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46744         * sunrpc/svc_simple.c: Use it for registerrpc.
46745         * sunrpc/xcrypt.c: Use it for passwd2des.
46747         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46749 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46751         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46752         Don't define if [__SYSCALL_WORDSIZE != 32].
46753         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46754         New macro.
46756 2012-05-21  Bruno Haible  <bruno@clisp.org>
46757             Andreas Jaeger  <aj@suse.de>
46759         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46760         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46761         inptr and inend for must_buffer_ch.
46762         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46763         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46764         * stdio-common/Makefile (tests): Remove bug15.
46765         (bug15-ENV): Remove macro.
46766         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46767         anymore.
46769 2012-05-19  Andreas Jaeger  <aj@suse.de>
46770             Roland McGrath  <roland@hack.frob.com>
46772         * manual/contrib.texi: Completely rewritten. It contains now an
46773         alphabetical list of contributors and their contributions.
46775 2012-05-21  Richard Henderson  <rth@twiddle.net>
46777         * misc/getauxval.c (__getauxval): Use unsigned long int.
46778         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46779         (getauxval): Use unsigned long int.
46781 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46783         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46787         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46788         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46789         __alignof__ (long double).
46791 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46795 2012-05-20  Richard Henderson  <rth@twiddle.net>
46797         * misc/getauxval.c: New file.
46798         * misc/sys/auxv.h: New file.
46799         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46800         (routines): Add getauxval.
46801         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46802         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46803         * elf/dl-sysdep.c (_dl_auxv): Remove.
46804         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46805         * elf/dl-support.c (_dl_auxv): New variable.
46806         (_dl_aux_init): Initialize it.
46807         * manual/startup.texi (Auxiliary Vector): New node.
46808         * sysdeps/generic/bits/hwcap.h: New file.
46809         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46810         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46811         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46812         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46813         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46816         Update.
46817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46826 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46830 2012-05-19  David S. Miller  <davem@davemloft.net>
46832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46834 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46836         [BZ #14123]
46837         * math/s_ccosh.c: Include <float.h>
46838         (__ccosh): Avoid internal overflow calculating sinh and cosh
46839         values before multiplying by sin and cos values.
46840         * math/s_ccoshf.c: Likewise.
46841         * math/s_ccoshl.c: Likewise.
46842         * math/s_csin.c: Likewise.
46843         * math/s_csinf.c: Likewise.
46844         * math/s_csinl.c: Likewise.
46845         * math/s_csinh.c: Likewise.
46846         * math/s_csinhf.c: Likewise.
46847         * math/s_csinhl.c: Likewise.
46848         * math/libm-test.inc (ccos_test): Add more tests.
46849         (ccosh_test): Likewise.
46850         (csin_test): Likewise.
46851         (csinh_test): Likewise.
46852         * sysdeps/i386/fpu/libm-test-ulps: Update.
46853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46855 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46857         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46858         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46860         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46862 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46864         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46865         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46866         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46867         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46868         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46869         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46870         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46871         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46872         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46873         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46874         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46875         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46876         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46877         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46878         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46879         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46880         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46881         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46882         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46883         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46884         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46885         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46886         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46887         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46888         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46889         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46890         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46891         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46892         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46893         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46894         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46896 2012-05-18  Andreas Jaeger  <aj@suse.de>
46898         * csu/.gitignore: Delete.
46900 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46902         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46903         (timex): Use __syscall_slong_t.
46905 2012-05-18  Andreas Jaeger  <aj@suse.de>
46906             Carlos O'Donell  <carlos_odonell@mentor.com>
46908         * manual/install.texi (Configuring and compiling): Update
46909         description about files modified in the source directory.
46910         * INSTALL: Regenerated.
46912 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46914         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46915         value.  Use "or" to set return value to -1.
46916         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46917         negate return value.
46919 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46921         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46922         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46923         failure if the compiler has Graphite support disabled.
46924         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46925         Likewise.
46926         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46927         (CFLAGS-memmove.c): Likewise.
46928         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46929         Likewise.
46931 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46933         * sysdeps/x86_64/x32/_itoa.h: New file.
46935         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46936         getdents system call only if kernel and user dirents have the
46937         same d_ino and d_off.
46939         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46940         LLONG_MAX != LONG_MAX.
46941         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46942         (_fitoa_word): Likewise.
46944         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46945         years.
46946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46947         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46948         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46950         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46951         include <bits/wordsize.h>.  Check __x86_64__ instead of
46952         __WORDSIZE.
46953         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46954         if __x86_64__ is defined.  Use anonymous union on fpstate.
46956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46957         anonymous union.
46959 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46961         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46962         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46964         Refer to _rtld_local_ro instead of _rtld_global_ro.
46965         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46966         Likewise.
46967         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46968         Likewise.
46969         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46970         Likewise.
46971         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46972         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46973         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46975         * sysdeps/powerpc/powerpc32/dl-machine.c
46976         (__elf_machine_runtime_setup) [PROF]: Don't reference
46977         _dl_prof_resolve.
46979 2012-05-18  Andreas Jaeger  <aj@suse.de>
46981         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46982         function only available for GCCs before 3.4 since GCC 3.4
46983         introduced a builtin.
46984         (lrint): Likewise.
46985         (llrintf): Likewise.
46986         (llrint): Likewise.
46987         (fmaxf): Likewise.
46988         (fmax): Likewise.
46989         (fminf): Likewise.
46990         (fmin): Likewise.
46991         (rint): Likewise.
46992         (rintf): Likewise.
46993         (nearbyint): Likewise.
46994         (nearbyintf): Likewise.
46995         (ceil): Likewise.
46996         (ceilf): Likewise.
46997         (floor): Likewise.
46998         (floorf): Likewise.
47000 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47002         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47003         on both fields and cast pointer to __syscall_ulong_t.
47005         * bits/types.h (__fsword_t): New type.
47006         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47007         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47009         (__FSWORD_T_TYPE): Likewise.
47010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47011         (__FSWORD_T_TYPE): Likewise.
47012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47013         (__FSWORD_T_TYPE): Likewise.
47014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47015         (__FSWORD_T_TYPE): Likewise.
47016         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47017         __SWORD_TYPE with __fsword_t.
47018         (statfs64): Likewise.
47020 2012-05-17  David S. Miller  <davem@davemloft.net>
47022         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47024 2012-05-17  Andreas Jaeger  <aj@suse.de>
47026         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47027         warning.
47029 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47031         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47033 2012-05-17  Andreas Jaeger  <aj@suse.de>
47035         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47036         when it is used.
47038 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47040         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47042 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47044         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47045         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47047 2012-05-17  Andreas Jaeger  <aj@suse.de>
47048             Carlos O'Donell  <carlos_odonell@mentor.com>
47050         [BZ #14059]
47051         * sysdeps/x86_64/multiarch/init-arch.h
47052         (bit_YMM_Usable): Rename to...
47053         (bit_AVX_Usable): ... this.
47054         (bit_FMA4_Usable): New macro.
47055         (bit_XMM_state): New macro.
47056         (bit_YMM_state): New macro.
47057         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47058         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47059         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47060         (CPUID_OSXSAVE): New macro.
47061         (CPUID_AVX): New macro.
47062         (CPUID_FMA4): New macro.
47063         (index_YMM_Usable): Rename to...
47064         (index_AVX_Usable): ... this.
47065         (HAS_AVX): Use HAS_ARCH_FEATURE.
47066         (HAS_FMA4): Likewise.
47067         (HAS_YMM_USABLE): Remove.
47068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47069         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47070         are present.
47071         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47072         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47073         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47074         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47075         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47077 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47079         * math/libm-test.c: Support platforms without multiple rounding modes.
47080         * math/bug-nextafter.c: Support platforms without FP exceptions.
47081         * math/bug-nexttoward.c: Likewise.
47082         * math/test-fenv.c: Likewise.
47083         * math/test-misc.c: Likewise.
47084         * stdlib/bug-getcontext.c: Likewise.
47086 2012-05-17  Andreas Jaeger  <aj@suse.de>
47088         * manual/examples/search.c (critter_cmp): Change signature to
47089         avoid warnings.
47090         * manual/string.texi (Collation Functions): Likewise.
47092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47094         * bits/types.h: Fold copyright years.
47095         * bits/typesizes.h: Likewise.
47096         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47100         * time/time.h: Likewise.
47102 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47104         [BZ #208]
47105         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47106         in instead of returning them.  Return void.
47107         (__libc_mallinfo): Accumulate over all arenas.
47108         (__malloc_stats): Adjust for change in int_mallinfo interface.
47110 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47112         [BZ #10375]
47113         * configure.in (NM): Add AC_CHECK_TOOL for it.
47114         (libc_extra_cflags): New substituted variable.
47115         Check for -fstack-protector being used implicitly.
47116         * configure: Regenerated.
47117         * config.make.in (config-extra-cflags): New variable,
47118         gets @libc_extra_cflags@.
47119         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47121         [BZ #10375]
47122         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47123         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47124         * configure: Regenerated.
47125         * config.make.in (CPPUNDEFS): New substituted variable.
47126         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47127         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47128         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47130 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47132         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47133         (mq_attr): Use __syscall_slong_t.
47135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47137         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47138         Check __x86_64__ instead of __WORDSIZE.
47139         (_STAT_VER_LINUX): Likewise.
47140         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47141         __syscall_ulong_t and __syscall_slong_t.
47142         (stat64): Likewise.
47144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47148 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47150         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47152 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47154         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47155         __syscall_ulong_t.
47157         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47158         include <bits/wordsize.h>.  Check __x86_64__ instead of
47159         __WORDSIZE.
47160         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47161         defined.
47162         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47164         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47165         include <bits/wordsize.h>.  Check __x86_64__ instead of
47166         __WORDSIZE.
47167         (user_regs_struct): Use "__extension__ unsigned long long"
47168         instead of "unsigned long" if __x86_64__ is defined.
47169         (user): Likewise.  Pad after pointer field if __ILP32__ is
47170         defined.
47172 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47174         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47175         versions 5 to 9.
47176         * configure: Regenerated.
47177         * manual/install.texi (texinfo): Increase version requirement to
47178         4.5 or later.
47179         * INSTALL: Regenerated.
47181         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47183 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47185         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47187         * sysdeps/x86_64/x32/ffs.c: New file.
47189         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47190         __syscall_ulong_t.
47191         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47192         defined.  Use __syscall_ulong_t.
47193         (shminfo): Use __syscall_ulong_t.
47194         (shm_info): Likewise.
47196         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47197         __syscall_ulong_t.
47199         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47200         <bits/wordsize.h>.
47201         (msgqnum_t): Use __syscall_ulong_t.
47202         (msglen_t): Likewise.
47203         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47204         __syscall_ulong_t.
47206         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47207         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47209         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47211         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47212         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47214         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47215         __syscall_slong_t.
47217         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47218         include <bits/wordsize.h>.  Check __x86_64__ instead of
47219         __WORDSIZE.
47221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47222         "unsigned long long int" if __x86_64__ is defined.
47223         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47225         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47226         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47227         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47229         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47230         <stdint.h>.
47231         (GET_PC): Cast to uintptr_t first.
47232         (GET_FRAME): Likewise.
47233         (GET_STACK): Likewise.
47235         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47236         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47237         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47239         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47241         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47242         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47245         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47246         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47248         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47252         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47254         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47260         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47261         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47263         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47265 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47267         * Makerules (+depfiles): Also collect depfiles from .oS in
47268         $(extra-objs).
47269         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47270         .oS, $(libnldbl-routines)).
47272         * Makerules (native-compile-mkdep-flags): Define.
47273         * sunrpc/Makefile (extra-objs): Add $(addprefix
47274         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47275         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47276         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47277         calling $(make-target-directory).
47279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47281         * bits/types.h (__snseconds_t): Removed.
47282         * time/time.h (struct timespec): Replace __snseconds_t with
47283         __syscall_slong_t.
47284         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47285         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47286         Likewise.
47287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47288         (__SNSECONDS_T_TYPE): Likewise.
47289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47290         (__SNSECONDS_T_TYPE): Likewise.
47291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47292         (__SNSECONDS_T_TYPE): Likewise.
47294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47296         * sysdeps/mach/hurd/bits/typesizes.h
47297         (__SYSCALL_SLONG_TYPE): New macro.
47298         (__SYSCALL_ULONG_TYPE): Likewise.
47300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47302         * bits/types.h (__syscall_slong_t): New type.
47303         (__syscall_ulong_t): Likewise.
47305         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47306         (__SYSCALL_ULONG_TYPE): Likewise.
47307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47308         (__SYSCALL_SLONG_TYPE): Likewise.
47309         (__SYSCALL_ULONG_TYPE): Likewise.
47310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47311         (__SYSCALL_SLONG_TYPE): Likewise.
47312         (__SYSCALL_ULONG_TYPE): Likewise.
47313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47314         (__SYSCALL_SLONG_TYPE): Likewise.
47315         (__SYSCALL_ULONG_TYPE): Likewise.
47317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47319         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47320         Add sigaltstack-offsets.sym.
47321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47322         <sigaltstack-offsets.h>.
47323         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47324         longjmp_msg pointer.
47325         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47326         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47327         signal stack.
47328         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47330 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47332         * elf/stackguard-macros.h: Remove file.
47333         * sysdeps/generic/stackguard-macros.h: New file.
47334         * sysdeps/i386/stackguard-macros.h: Likewise.
47335         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47336         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47337         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47338         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47339         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47340         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47341         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47342         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47343         <elf/stackguard-macros.h>.
47345         [BZ #14109]
47346         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47347         __aligned__ in attribute.
47348         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47349         (gregset_t): Likewise.
47351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47353         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47354         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47355         * sysdeps/x86_64/x32/Implies-after: New file.
47357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47359         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47360         and access return value for _dl_profile_fixup.  Use R10_LP to
47361         load frame size.
47363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47365         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47369         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47370         * sysdeps/x86_64/x32/sysdep.h: New file.
47372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47374         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47375         * sysdeps/x86_64/setjmp.S: Likewise.
47377 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47381         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47382         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47383         remove unused global constant.
47385 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47387         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47388         include of <not-cancel.h>.
47390 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47392         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47394 2012-05-15  Jeff Law  <law@redhat.com>
47395             Andreas Jaeger  <aj@suse.de>
47397         [BZ #13594]
47398         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47399         out from...
47400         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47401         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47402         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47403         code changing __hst_map_handle.map.
47405 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47407         * configure.in (sysnames): Look for Implies-before and Implies-after
47408         files.
47409         * configure: Regenerated.
47411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47413         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47414         8-byte data alignment with LP_SIZE alignment.
47416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47419         into R10_LP.
47421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47423         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47427         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47428         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47430         Likewise.
47431         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47435         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47436         (stackinfo_sub_sp): Likewise.
47438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47440         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47441         RAX_LP.
47443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47445         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47446         into R*_LP.
47448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47451         sizes into R*_LP.
47453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47455         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47459         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47460         into R11_LP and load __x86_64_shared_cache_size_half into
47461         R8_LP.
47463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47466         R8_LP.
47468 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47471         logb for POWER7.
47472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47473         logbf for POWER7.
47474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47475         logbl for POWER7.
47476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47477         powerpc32/power7/fpu/s_logb.c via #include.
47478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47479         powerpc32/power7/fpu/s_logbf.c via #include.
47480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47481         powerpc32/power7/fpu/s_logbl.c via #include.
47483 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47485         * README.libm: Remove file.
47487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47489         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47490         count for x32.  Use R*_LP and omit operand-size suffix.
47492 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47494         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47495         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47496         * sysdeps/x86_64/x32/shlib-versions: New file.
47498 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47500         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47501         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47502         Use _dl_fatal_printf instead.
47504 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47506         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47507         set if not set by the user.  Do not allow for being unset.
47508         * sysdeps/unix/sysv/linux/configure: Regenerated.
47510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47512         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47513         the `q' suffix from lea and replace .quad with ASM_ADDR.
47515 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47518         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47519         instead of $17.
47520         (PTR_DEMANGLE): Likewise.
47522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47524         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47525         (LP_OP): Likewise.
47526         (ASM_ADDR): Likewise.
47527         (RAX_LP): Likewise.
47528         (RBP_LP): Likewise.
47529         (RBX_LP): Likewise.
47530         (RCX_LP): Likewise.
47531         (RDI_LP): Likewise.
47532         (RSI_LP): Likewise.
47533         (RSP_LP): Likewise.
47534         (R8_LP): Likewise.
47535         (R9_LP): Likewise.
47536         (R10_LP): Likewise.
47537         (R10_LP): Likewise.
47538         (R11_LP): Likewise.
47539         (R12_LP): Likewise.
47540         (R13_LP): Likewise.
47541         (R14_LP): Likewise.
47542         (R15_LP): Likewise.
47544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47546         * sysdeps/x86_64/x32/dl-machine.h: New file.
47548 2012-05-14  Andreas Jaeger  <aj@suse.de>
47550         * manual/Makefile (subdir): Remove export of subdir.
47551         (all): Remove target.
47552         (.PHONY): Remove all from list.
47553         (mkinstalldirs): Remove.
47554         (.PHONY): Remove installdirs from list.
47555         ($(inst_infodir)/libc.info): Use make-target-directory.
47556         (installdirs): Remove.
47557         (subdir_%): Remove.
47558         (glibc-targets): Remove.
47559         (lib): Remove.
47560         (stubs): Remove.
47561         ($(objpfx)stubs ../po/manual.pot): Remove.
47562         ($(objpfx)stamp%): Remove.
47563         (make-target-directory): Remove.
47564         (subdir_install): Remove.
47565         (routines): Remove.
47566         (aux): Remove.
47567         (sources): Remove.
47568         (objects): Remove.
47569         (headers): Remove.
47571         [BZ #13750]
47572         * manual/.gitignore: Remove, it's not needed anymore.
47573         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47574         all files in it.
47575         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47576         directory.
47577         (texis): Renamed to $(objpfx)texis.
47578         (texis-path): New, contains path to generated files.
47579         (chapters.%): Use texis-path for complete path, add extra argument
47580         libc-texinfo.sh.
47581         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47582         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47583         (summary,texi, stamp-summary): Use complete path of
47584         files. Generate files in build dir.
47585         (dir-add.texi): Build in build dir.
47586         (libm-err.texi,stamp-libm-err): Likewise.
47587         (version.texi, stamp-version): Likewise.
47588         (.%c.texi): Likewise.
47589         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47590         (mostlyclean): Remove target.
47591         (realclean): Remove target.
47592         (generated): Add new variable with contents from mostlyclean and
47593         realclean, remove entries duplicated in common-mostlyclean, add
47594         stamp-libm-err and stamp-version.
47595         (generated-dirs): Add libc directory.
47596         ($(inst_infodir)/libc.info): Install files from build dir.
47598         * manual/install.texi (Configuring and compiling): Adjust since
47599         the info files are not part of the tar ball anymore.
47601 2012-05-14  Andreas Jaeger  <aj@suse.de>
47603         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47604         variable.
47606 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47608         [BZ #13717]
47609         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47610         to 2.2.0 where earlier.
47611         * sysdeps/unix/sysv/linux/configure: Regenerated.
47612         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47613         Remove conditional code.
47614         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47615         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47616         Remove conditional code.
47617         [!__NR_lchown]: Likewise.
47618         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47619         [__NR_lchown]: Likewise.
47620         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47621         comment referencing __ASSUME_LCHOWN_SYSCALL.
47622         * sysdeps/unix/sysv/linux/i386/sigaction.c
47623         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47624         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47625         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47626         Remove conditional code.
47627         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47628         (__protocol_available): Remove #if 0 code.
47629         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47630         conditional code.
47631         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47632         * sysdeps/unix/sysv/linux/kernel-features.h
47633         (__ASSUME_GETCWD_SYSCALL): Don't define.
47634         (__ASSUME_REALTIME_SIGNALS): Likewise.
47635         (__ASSUME_PREAD_SYSCALL): Likewise.
47636         (__ASSUME_PWRITE_SYSCALL): Likewise.
47637         (__ASSUME_POLL_SYSCALL): Likewise.
47638         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47639         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47640         non-SPARC.
47641         (__ASSUME_SIOCGIFNAME): Don't define.
47642         (__ASSUME_MSG_NOSIGNAL): Likewise.
47643         (__ASSUME_SENDFILE): Define unconditionally.
47644         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47645         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47646         conditional code.
47647         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47648         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47649         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47650         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47651         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47652         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47653         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47655         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47656         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47658         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47661         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47662         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47664         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47678         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47679         Remove conditional code.
47680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47681         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47682         Remove conditional code.
47683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47684         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47685         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47686         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47687         Remove conditional code.
47688         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47689         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47690         Remove conditional code.
47691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47692         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47693         Remove conditional code.
47694         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47695         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47696         Remove conditional code.
47697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47698         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47699         Remove conditional code.
47700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47701         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47702         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47704         * sysdeps/unix/sysv/linux/sigaction.c
47705         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47706         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47707         * sysdeps/unix/sysv/linux/sigpending.c
47708         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47709         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47710         * sysdeps/unix/sysv/linux/sigprocmask.c
47711         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47712         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47713         * sysdeps/unix/sysv/linux/sigsuspend.c
47714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47716         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47717         (__libc_missing_rt_sigs): Remove.
47718         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47719         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47720         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47721         Remove conditional code.
47722         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47723         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47724         return 1.
47725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47726         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47727         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47728         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47730 2012-05-14  Andreas Jaeger  <aj@suse.de>
47732         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47733         it's not used in glibc.
47734         (__coshm1): Likewise.
47735         (__acosh1p): Likewise.
47736         (__sgn): Likewise.
47738         * manual/string.texi (Copying and Concatenation): Add missing
47739         variable in concat example.
47740         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47744         [BZ #14103]
47745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47746         __builtin_clzl with __builtin_clzll.
47748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47750         [BZ #14104]
47751         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47752         libc_freeres_ptr.
47754 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47756         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47757         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47758         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47759         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47761 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47763         * NEWS: Update ia64 info.
47765 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47767         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47768         used as bcopy.
47770 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47772         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47773         * sysdeps/unix/syscalls.list (dup3): Likewise.
47774         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47775         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47777 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47779         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47780         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47782 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47784         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47785         thread pointer.
47786         (TLS_IE): Use mov/add instead of movq/addq to load thread
47787         pointer.
47788         (TLS_GD_PREFIX): New.
47789         (TLS_GD): Use it.
47791 2012-05-11  David S. Miller  <davem@davemloft.net>
47793         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47794         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47795         (_FPU_SETCW): Likewise.
47797 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47799         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47800         is 32-byte aligned.
47802 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47804         [BZ #11837]
47805         * iconvdata/gb18030.c: Update tables.
47806         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47807         characters specially.
47808         (BODY for TO_LOOP): Add encoding of missing ranges.
47810 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47812         [BZ #13673]
47813         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47814         * sysdeps/mach/hurd/dup3.c: Likewise.
47815         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47816         * sysdeps/powerpc/memmove.c:: Likewise.
47818 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47821         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47823 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47825         * elf/elf.h (R_X86_64_RELATIVE64): New.
47826         (R_X86_64_NUM): Updated.
47827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47828         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47829         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47830         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47831         tst-quad1pie tst-quad2pie
47832         (modules-names): Add tst-quadmod1 tst-quadmod2.
47833         ($(objpfx)tst-quad1): New dependency.
47834         ($(objpfx)tst-quad2): Likewise.
47835         ($(objpfx)tst-quad1pie): Likewise.
47836         ($(objpfx)tst-quad2pie): Likewise.
47837         * sysdeps/x86_64/tst-quad1.c: New file.
47838         * sysdeps/x86_64/tst-quad1pie.c: New file.
47839         * sysdeps/x86_64/tst-quad2.c: Likewise.
47840         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47841         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47842         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47843         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47844         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47848         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47849         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47850         * streams/stropts.h (t_scalar_t): Define type.
47852         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47853         (_PATH_PRESERVE): Set to "/var/lib".
47854         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47856         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47857         instead of int.
47859         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47860         if __dir_mkfile succeeded.
47862         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47863         checking for _hurd_dtablesize.  Unlock it right after having
47864         finished _hurd_dtable allocation.
47866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47868         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47869         * sysdeps/mach/hurd/configure: Regenerated.
47870         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47871         special-casing to...
47872         * sysdeps/gnu/configure.in: ... this new file.
47873         * sysdeps/unix/sysv/linux/configure: Regenerated.
47874         * sysdeps/gnu/configure: New generated file.
47876         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47877         for Linux: use nsec instead of usec, as well as:
47878         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47879         members of type struct timespec.
47880         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47881         New macros.
47882         (struct stat64): Likewise.
47883         (_STATBUF_ST_NSEC): New macro.
47884         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47886         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47887         __strtoul_internal rather than strtoul.
47889 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47891         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47892         and reject them.
47894 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47896         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47897         which preserves existing values.
47898         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47900 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47902         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47903         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47904         greater than FD_SETSIZE.
47906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47908         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47909         allocated, call __vm_protect to finish enabling the existing space, and
47910         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47911         allocate the remainder.
47913 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47915         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47916         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47920         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47921         sysdeps/mach/hurd/readlink.c.
47923         * posix/tst-sysconf.c (posix_options): Only use
47924         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47925         _POSIX_SYNCHRONIZED_IO when they are defined
47926         * sysdeps/mach/hurd/bits/posix_opt.h:
47927         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47928         (_XOPEN_REALTIME): Undefine macro.
47929         (_XOPEN_REALTIME_THREADS): Undefine macro.
47930         (_XOPEN_SHM): Undefine macro.
47931         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47932         macro to -1.
47933         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47934         macro to -1.
47935         (_POSIX_ASYNC_IO): Undefine macro.
47936         (_POSIX_PRIORITIZED_IO): Undefine macro.
47937         (_POSIX_SPIN_LOCKS): Define macro to -1.
47939         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47940         SA_NODEFER, SA_RESETHAND.
47941         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47942         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47943         F_DUPFD_CLOEXEC.
47945 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47947         * elf/Makefile (pldd-modules): Define unconditionally.
47949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47951         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47955         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47956         Return ENOENT when name is empty.
47957         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47961         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47963         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47967         Fix mlock in all cases except non-readable pages.
47968         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47969         instead of VM_PROT_ALL as parameter to __vm_wire function.
47971         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47972         (__mkdir): When path is `/', just fail with EEXIST.
47973         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47977         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47978         <sys/uio.h> (for writev).
47979         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47980         and <sys/param.h> (for MIN).
47982 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47984         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47985         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47986         if interrupted.
47988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47990         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47991         Depend on against $(link-rpcuserlibs).
47993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47995         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47996         (__libc_stack_end): Do not use attribute_relro.
47997         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47998         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47999         to libthread-provided value.
48000         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48001         attribute_relro.
48003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48005         [BZ #3748]
48006         * bits/libc-lock.h (__libc_once_get): New macro.
48007         * sysdeps/mach/bits/libc-lock.h: Likewise.
48008         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48010         instead of using implementation details.
48012         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48013         * libio/freopen.c: Likewise.
48014         * libio/freopen64.c: Likewise.
48015         * misc/syslog.c: Likewise.
48016         * nscd/connections.c: Likewise.
48017         * nscd/netgroupcache.c: Likewise.
48018         * sysdeps/posix/getcwd.c: Likewise.
48020 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48022         * math/w_ilogbf.c: Add #include <limits.h>.
48024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48026         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48027         path instead of returning without unlocking.
48029         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48030         immediate-write ioctls.
48031         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48035         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48036         __builtin_frame_address instead of making assumptions about the
48037         location of the return address relative to DATA.  Force early load of
48038         the return address.
48039         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48040         __builtin_frame_address.
48042         dup3 for GNU Hurd.
48043         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48044         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48045         implement dup3 and do some further code clean-ups.
48046         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48047         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48051         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48053         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48054         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48055         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48056         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48057         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48058         d->port.lock.
48060         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48061         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48062         when handler == SIG_ERR, not when handler != SIG_ERR.
48064 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48066         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48067         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48068         definitions.
48070         accept4 for GNU Hurd.
48071         * include/sys/socket.h (__libc_accept4): New prototype.
48072         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48073         to implement __libc_accept4.
48074         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48075         __libc_accept4.
48076         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48078         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48079         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48080         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48081         signal-defines.sym.
48083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48085         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48089         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48090         assertion on O_CLOEXEC flag.
48091         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48092         * hurd/intern-fd.c: Likewise.
48093         * hurd/port2fd.c: Likewise.
48095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48097         [BZ #3906]
48098         * bits/in.h (IPV6_PKTINFO): Define new macro.
48099         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48101 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48103         [BZ #13954]
48104         [BZ #13955]
48105         [BZ #13956]
48106         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48107         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48108         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48109         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48111         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48112         * math/libm-test.inc (logb_test) : Additional logb tests.
48114 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48115             Andreas Jaeger  <aj@suse.de>
48117         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48118         * configure: Regenerated.
48119         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48120         * config.make.in (link-obsolete-rpc): New substituted variable.
48121         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48122         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48123         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48124         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48125         so that libc.a contains the symbols.
48126         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48127         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48128         * sunrpc/auth_none.c: Likewise.
48129         * sunrpc/auth_unix.c: Likewise.
48130         * sunrpc/authdes_prot.c: Likewise.
48131         * sunrpc/authuxprot.c: Likewise.
48132         * sunrpc/clnt_gen.c: Likewise.
48133         * sunrpc/clnt_perr.c: Likewise.
48134         * sunrpc/clnt_raw.c: Likewise.
48135         * sunrpc/clnt_simp.c: Likewise.
48136         * sunrpc/clnt_tcp.c: Likewise.
48137         * sunrpc/clnt_udp.c: Likewise.
48138         * sunrpc/clnt_unix.c: Likewise.
48139         * sunrpc/des_crypt.c: Likewise.
48140         * sunrpc/des_soft.c: Likewise.
48141         * sunrpc/get_myaddr.c: Likewise.
48142         * sunrpc/key_call.c: Likewise.
48143         * sunrpc/key_prot.c: Likewise.
48144         * sunrpc/netname.c: Likewise.
48145         * sunrpc/pm_getmaps.c: Likewise.
48146         * sunrpc/pm_getport.c: Likewise.
48147         * sunrpc/pmap_clnt.c: Likewise.
48148         * sunrpc/pmap_prot.c: Likewise.
48149         * sunrpc/pmap_prot2.c: Likewise.
48150         * sunrpc/pmap_rmt.c: Likewise.
48151         * sunrpc/publickey.c: Likewise.
48152         * sunrpc/rpc_cmsg.c: Likewise.
48153         * sunrpc/rpc_common.c: Likewise.
48154         * sunrpc/rpc_dtable.c: Likewise.
48155         * sunrpc/rpc_prot.c: Likewise.
48156         * sunrpc/rpc_thread.c: Likewise.
48157         * sunrpc/rtime.c: Likewise.
48158         * sunrpc/svc.c: Likewise.
48159         * sunrpc/svc_auth.c: Likewise.
48160         * sunrpc/svc_raw.c: Likewise.
48161         * sunrpc/svc_run.c: Likewise.
48162         * sunrpc/svc_tcp.c: Likewise.
48163         * sunrpc/svc_udp.c: Likewise.
48164         * sunrpc/svc_unix.c: Likewise.
48165         * sunrpc/svcauth_des.c: Likewise.
48166         * sunrpc/xcrypt.c: Likewise.
48167         * sunrpc/xdr.c: Likewise.
48168         * sunrpc/xdr_array.c: Likewise.
48169         * sunrpc/xdr_float.c: Likewise.
48170         * sunrpc/xdr_intXX_t.c: Likewise.
48171         * sunrpc/xdr_mem.c: Likewise.
48172         * sunrpc/xdr_rec.c: Likewise.
48173         * sunrpc/xdr_ref.c: Likewise.
48174         * sunrpc/xdr_sizeof.c: Likewise.
48175         * sunrpc/xdr_stdio.c: Likewise.
48177 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48180         change.  Update copyright years.
48182 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48184         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48186 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48187             Joseph Myers  <joseph@codesourcery.com>
48188             Paul Pluzhnikov  <ppluzhnikov@google.com>
48190         [BZ #14012]
48191         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48192         requiring rpcgen.
48193         [cross-compiling] (extra-libs): Likewise.
48194         [cross-compiling] (extra-libs-others): Likewise.
48195         [cross-compiling] (librpcsvc-routines): Likewise.
48196         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48197         [cross-compiling] (omit-deps): Likewise.
48198         (sunrpc-CPPFLAGS): New variable.
48199         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48200         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48201         (cross-rpcgen-objs): New variable.
48202         (extra-objs): Append $(cross-rpcgen-objs).
48203         ($(cross-rpcgen-objs)): New rule.
48204         ($(objpfx)cross-rpcgen): Likewise.
48205         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48206         comment.
48207         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48208         ($(objpfx)x%.stmp): Likewise.
48209         * sunrpc/proto.h [IS_IN_build] (_): Define.
48210         [IS_IN_build] (_libc_intl_domainname): Likewise.
48212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48215         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48216         and R_X86_64_TPOFF64.
48218 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48220         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48221         sysdeps/unix/sysv/syscalls.list.
48222         (stime): Likewise.
48223         (utime): Likewise.
48224         * sysdeps/unix/sysv/syscalls.list: Remove file.
48226 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48228         [BZ #3440]
48229         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48230         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48231         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48232         (__LC_IDENTIFICATION): Make these macros useful in #if
48233         expressions, as required by C99.
48235 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48237         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48238         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48239         after this.
48241 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48243         * stdlib/longlong.h: Updated from GCC.
48245 2012-05-09  Andreas Jaeger  <aj@suse.de>
48247         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48248         default is first entry.
48249         (run_mode): Set type.
48250         (main): Remove informal message about syslog.
48251         (options): Fix typo.
48253         [BZ #14053]
48254         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48255         to asm.
48256         (lrint): Likewise.
48257         (llrintf): Likewise.
48258         (llrint): Likewise.
48259         (rint): Likewise.
48260         (rintf): Likewise.
48261         (nearbyint): Likewise.
48262         (nearbyintf): Likewise.
48264 2012-05-09  Andreas Jaeger  <aj@suse.de>
48265             Pedro Alves  <palves@redhat.com>
48267         * nscd/nscd.c (run_mode): Use enum.
48268         (main): Cleanup coding style issue.
48270 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48271             Andreas Jaeger  <aj@suse.de>
48273         * nscd/nscd.c (go_background): Replaced with...
48274         (run_mode): ... this.
48275         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48276         (options): Add -F --foreground.
48277         (main): Implement it.
48278         (parse_opt): Parse it.
48280 2012-05-09  Andreas Jaeger  <aj@suse.de>
48282         [BZ #14083]
48283         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48284         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48285         -Wconversion warning.
48286         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48287         Likewise.
48289 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48291         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48292         == 0.
48293         (LC_ALL): Use macro-int-constant.
48294         (LC_COLLATE): Likewise.
48295         (LC_CTYPE): Likewise.
48296         (LC_MESSAGES): Likewise.
48297         (LC_MONETARY): Likewise.
48298         (LC_NUMERIC): Likewise.
48299         (LC_TIME): Likewise.
48300         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48301         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48302         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48303         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48304         Specify type.
48305         [C99-based standards] (float_t): Expect type.
48306         [C99-based standards] (double_t): Expect type.
48307         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48308         type.
48309         [C99-based standards] (HUGE_VALL): Likewise.
48310         [C99-based standards] (INFINITY): Likewise.
48311         [C99-based standards] (NAN): Likewise.
48312         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48313         [C99-based standards] (FP_NAN): Likewise.
48314         [C99-based standards] (FP_NORMAL): Likewise.
48315         [C99-based standards] (FP_SUBNORMAL): Likewise.
48316         [C99-based standards] (FP_ZERO): Likewise.
48317         [C99-based standards] (FP_FAST_FMA): Use
48318         optional-macro-int-constant.  Specify type.  Require == 1.
48319         [C99-based standards] (FP_FAST_FMAF): Likewise.
48320         [C99-based standards] (FP_FAST_FMAL): Likewise.
48321         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48322         [C99-based standards] (FP_ILOGBNAN): Likewise.
48323         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48324         Specify type.
48325         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48326         [C99-based standards] (math_errhandling): Specify type.
48327         [ISO99 || ISO11] (signgam): Do not allow.
48328         [non-C99-based standards] (copysignf): Do not allow.
48329         [non-C99-based standards] (exp2f): Likewise.
48330         [non-C99-based standards] (log2f): Likewise.
48331         [non-C99-based standards] (modff): Allow.
48332         [non-C99-based standards] (erff): Do not allow.
48333         [non-C99-based standards] (erfcf): Likewise.
48334         [non-C99-based standards] (gammaf): Likewise.
48335         [non-C99-based standards] (hypotf): Likewise.
48336         [non-C99-based standards] (j0f): Likewise.
48337         [non-C99-based standards] (j1f): Likewise.
48338         [non-C99-based standards] (jnf): Likewise.
48339         [non-C99-based standards] (lgammaf): Likewise.
48340         [non-C99-based standards] (tgammaf): Likewise.
48341         [non-C99-based standards] (y0f): Likewise.
48342         [non-C99-based standards] (y1f): Likewise.
48343         [non-C99-based standards] (ynf): Likewise.
48344         [non-C99-based standards] (isnanf): Likewise.
48345         [non-C99-based standards] (acoshf): Likewise.
48346         [non-C99-based standards] (asinhf): Likewise.
48347         [non-C99-based standards] (atanhf): Likewise.
48348         [non-C99-based standards] (cbrtf): Likewise.
48349         [non-C99-based standards] (expm1f): Likewise.
48350         [non-C99-based standards] (ilogbf): Likewise.
48351         [non-C99-based standards] (log1pf): Likewise.
48352         [non-C99-based standards] (logbf): Likewise.
48353         [non-C99-based standards] (nextafterf): Likewise.
48354         [non-C99-based standards] (remainderf): Likewise.
48355         [non-C99-based standards] (rintf): Likewise.
48356         [non-C99-based standards] (scalbf): Likewise.
48357         [non-C99-based standards] (copysignl): Likewise.
48358         [non-C99-based standards] (exp2l): Likewise.
48359         [non-C99-based standards] (log2l): Likewise.
48360         [non-C99-based standards] (modfl): Allow.
48361         [non-C99-based standards] (erfl): Do not allow.
48362         [non-C99-based standards] (erfcl): Likewise.
48363         [non-C99-based standards] (gammal): Likewise.
48364         [non-C99-based standards] (hypotl): Likewise.
48365         [non-C99-based standards] (j0l): Likewise.
48366         [non-C99-based standards] (j1l): Likewise.
48367         [non-C99-based standards] (jnl): Likewise.
48368         [non-C99-based standards] (lgammal): Likewise.
48369         [non-C99-based standards] (tgammal): Likewise.
48370         [non-C99-based standards] (y0l): Likewise.
48371         [non-C99-based standards] (y1l): Likewise.
48372         [non-C99-based standards] (ynl): Likewise.
48373         [non-C99-based standards] (isnanl): Likewise.
48374         [non-C99-based standards] (acoshl): Likewise.
48375         [non-C99-based standards] (asinhl): Likewise.
48376         [non-C99-based standards] (atanhl): Likewise.
48377         [non-C99-based standards] (cbrtl): Likewise.
48378         [non-C99-based standards] (expm1l): Likewise.
48379         [non-C99-based standards] (ilogbl): Likewise.
48380         [non-C99-based standards] (log1pl): Likewise.
48381         [non-C99-based standards] (logbl): Likewise.
48382         [non-C99-based standards] (nextafterl): Likewise.
48383         [non-C99-based standards] (remainderl): Likewise.
48384         [non-C99-based standards] (rintl): Likewise.
48385         [non-C99-based standards] (scalbl): Likewise.
48386         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48387         [non-C99-based standards] (FP_*): Do not allow.
48388         [C99-based standards] (FP_*): Change to
48389         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48390         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48391         allow.
48392         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48393         (SIG_ERR): Likewise.
48394         [X/Open-based standards] (SIG_HOLD): Likewise.
48395         (SIG_IGN): Likewise.
48396         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48397         positive value.
48398         (SIGFPE): Likewise.
48399         (SIGILL): Likewise.
48400         (SIGINT): Likewise.
48401         (SIGSEGV): Likewise.
48402         (SIGTER): Likewise.
48403         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48404         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48405         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48406         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48407         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48408         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48409         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48410         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48411         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48412         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48413         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48414         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48415         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48416         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48417         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48418         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48419         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48420         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48421         [X/Open-based standards] (SIGTRAP): Likewise.
48422         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48423         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48424         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48425         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48426         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48427         allow.
48429 2012-05-08  Ian Wienand  <ianw@vmware.com>
48431         [BZ #14080]
48432         * time/tzset.c (__tzset_parse_tz): Update default rules for
48433         daylight time changes in the Energy Policy Act of 2005.
48435 2012-05-09  Andreas Jaeger  <aj@suse.de>
48437         [BZ #13983]
48438         * elf/ldconfig.c (parse_conf): Change string to make clear that
48439         ldconfig only issued a warning if ld.so.conf does not exist.
48441 2012-05-08  David S. Miller  <davem@davemloft.net>
48443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48444         movxtod instead of popping the value on the stack.
48446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48448 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48450         * config.h.in: Add HAVE_ARM_PCS_VFP.
48452 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48454         [BZ #13979]
48455         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48456         checking but the checks are disabled for any reason.
48458 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48460         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48461         and ELF64_R_TYPE with ELFW(R_TYPE).
48463 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48465         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48466         (ulimit): Likewise.
48468         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48469         (settimeofday): Likewise.
48471 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48473         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48474         a struct th_u2 inside the union, and move tu_block/tu_code into
48475         a new th_u3 union of tu_block/tu_code inside of that.  Move
48476         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48477         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48478         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48479         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48480         (th_stuff): Change to th_u1.tu_stuff.
48481         (th_data): Define.
48482         (th_msg): Change to th_u1.th_u2.tu_data.
48484 2012-05-07  David S. Miller  <davem@davemloft.net>
48486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48488         [BZ #14074]
48489         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48490         (SETUP_PIC_REG): Use it.
48491         (SETUP_PIC_REG_LEAF): Use it.
48493 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48495         [BZ #13885]
48496         [BZ #13923]
48497         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48498         USE_AS_EXPM1L.
48499         (EXPL_FINITE): Likewise.
48500         (FLDLOG): Likewise.
48501         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48502         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48503         e_expl.S.
48504         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48505         USE_AS_EXPM1L.
48506         (EXPL_FINITE): Likewise.
48507         (FLDLOG): Likewise.
48508         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48509         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48510         e_expl.S.
48511         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48512         test of -max_value argument for long double.
48513         * sysdeps/i386/fpu/libm-test-ulps: Update.
48514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48516 2012-05-06  David S. Miller  <davem@davemloft.net>
48518         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48519         quad soft-float symbols whose references which are compiler
48520         generated.
48521         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48523 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48525         [BZ #13884]
48526         [BZ #13914]
48527         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48528         USE_AS_EXP10L.
48529         (EXPL_FINITE): Likewise.
48530         (FLDLOG): Likewise.
48531         (c0): Likewise.
48532         (c1): Likewise.
48533         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48534         Adjust comments for base varying.
48535         (__expl_finite): Change alias to EXPL_FINITE.
48536         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48537         e_expl.S.
48538         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48539         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48541         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48542         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48543         USE_AS_EXP10L.
48544         (EXPL_FINITE): Likewise.
48545         (FLDLOG): Likewise.
48546         (c0): Likewise.
48547         (c1): Likewise.
48548         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48549         Adjust comments for base varying.
48550         (__expl_finite): Change alias to EXPL_FINITE.
48551         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48552         tests for bugs.
48553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48555         [BZ #14064]
48556         * math/libm-test.inc (check_float_internal): Correct ulp
48557         calculation for subnormal expected results.
48559 2012-05-06  Andreas Jaeger  <aj@suse.de>
48561         * Makeconfig (+math-flags): New, set to -frounding-math.
48562         (+cflags): Add +math-flags so that all of glibc gets compiled with
48563         it.
48565         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48567 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48569         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48570         Disable one test.
48572         [BZ #13787]
48573         [BZ #13922]
48574         [BZ #14036]
48575         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48576         (__ieee754_expl): Allow for and saturate large arguments.
48577         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48578         (u_threshold): Likewise.
48579         (__exp): Call __ieee754_exp before checking for overflow and
48580         underflow.
48581         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48582         (u_threshold): Likewise.
48583         (__expf): Call __ieee754_expf before checking for overflow and
48584         underflow.
48585         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48586         (u_threshold): Likewise.
48587         (__expl): Call __ieee754_expl before checking for overflow and
48588         underflow.
48589         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48590         (__ieee754_expl): Allow for and saturate large arguments.
48591         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48592         missing overflow exception on overflow.
48593         (expm1_test): Do not allow missing overflow exception on overflow.
48595         * sysdeps/i386/fpu/e_expl.c: Move to ...
48596         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48597         rather than using inline asm.
48598         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48599         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48600         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48602         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48603         (nice): Likewise.
48604         (poll): Likewise.
48605         (signal): Likewise.
48606         (time): Likewise.
48607         (times): Likewise.
48609 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48611         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48612         sysdeps/unix/common/syscalls.list.
48613         (fchmod): Likewise.
48614         (fchown): Likewise.
48615         (ftruncate): Likewise.
48616         (getrusage): Likewise.
48617         (gettimeofday): Likewise.
48618         (setpgid): Likewise.
48619         (setregid): Likewise.
48620         (setreuid): Likewise.
48621         (sigaction): Likewise.
48622         (truncate): Likewise.
48623         (vhangup): Likewise.
48624         * sysdeps/unix/common/syscalls.list: Remove file.
48625         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48626         * sysdeps/unix/sysv/linux/Implies: Likewise.
48628 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48630         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48632         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48633         Moved to ...
48634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48635         Here.
48636         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48637         to ...
48638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48639         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48640         to ...
48641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48642         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48643         to ...
48644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48645         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48646         to ...
48647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48648         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48649         to ...
48650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48651         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48652         to ...
48653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48654         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48655         to ...
48656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48657         Here.
48658         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48659         to ...
48660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48661         Here.
48662         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48663         to ...
48664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48665         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48666         Moved to ...
48667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48668         Here.
48669         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48670         to ...
48671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48673 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48675         * sysdeps/unix/common/bits/dirent.h: Remove file.
48676         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48678         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48679         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48680         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48681         * sysdeps/unix/bsd/isatty.c: Likewise.
48682         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48683         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48684         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48686 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48688         [BZ #13563]
48689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48690         long double comparison inaccuracies.
48691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48694 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48696         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48701         [BZ #14049]
48702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48703         nonzero digits before rounding a hex value.
48704         * stdlib/tst-strtod.c (tests): Add another test.
48706 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48708         * sysdeps/s390/fpu/libm-test-ulps: Update.
48710 2012-05-03  Andreas Jaeger  <aj@suse.de>
48712         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48713         does not get optimized out.
48714         (malloc_opt_barrier): New.
48716 2012-05-03  Andreas Jaeger  <aj@suse.de>
48717             Roland McGrath  <roland@hack.frob.com>
48719         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48720         intermediate file deletion.
48721         (generated): Add .symlist files.
48723 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48725         [BZ #13775]
48726         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48727         Redirect under this condition.
48728         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48729         [__USE_GNU] (__dprintf_chk): Not under this condition.
48730         [__USE_GNU] (__vdprintf_chk): Likewise.
48731         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48732         under this condition.
48733         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48734         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48735         [__USE_XOPEN2K8] (vdprintf): Likewise.
48736         [__USE_GNU] (__dprintf_chk): Not under this condition.
48737         [__USE_GNU] (__vdprintf_chk): Likewise.
48738         [__USE_GNU] (dprintf): Likewise.
48739         [__USE_GNU] (vdprintf): Likewise.
48741 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48743         * elf/Makefile (common-generated): Set this instead of generated for
48744         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48745         $(all-built-dso)-derived lists.
48747 2012-05-03  Andreas Jaeger  <aj@suse.de>
48749         * sysdeps/i386/fpu/libm-test-ulps: Update.
48751         * FAQ: Removed.
48752         * FAQ.in: Likewise.
48753         * scripts/gen-FAQ.pl: Likewise.
48754         * manual/install.texi (Installation): Point to online location of
48755         FAQ.
48756         * Makefile (files-for-dist): Remove FAQ.
48757         (FAQ): Remove.
48759 2012-05-02  Allan McRae  <allan@archlinux.org>
48761         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48762         (LDFLAGS-reldepmod5.so): Likewise.
48763         (LDFLAGS-reldep6mod1.so): Likewise.
48764         (LDFLAGS-reldep6mod4.so): Likewise.
48765         (LDFLAGS-reldep8mod3.so): Likewise.
48766         (LDFLAGS-unload4mod1.so): Likewise.
48767         (LDFLAGS-unload4mod2.so): Likewise.
48768         (LDFLAGS-tst-initorder): Likewise.
48769         (LDFLAGS-tst-initordera2.so): Likewise.
48770         (LDFLAGS-tst-initordera3.so): Likewise.
48771         (LDFLAGS-tst-initordera4.so): Likewise.
48772         (LDFLAGS-tst-initorderb2.so): Likewise.
48773         (LDFLAGS-noload): Likewise.
48774         (LDFLAGS-next): Likewise.
48775         (LDFLAGS-order2mod1.so): Likewise.
48776         (LDFLAGS-order2mod2.so): Likewise.
48777         (LDFLAGS-tst-initorder2): Likewise.
48778         (LDFLAGS-tst-initorder2a.so): Likewise.
48779         (LDFLAGS-tst-initorder2b.so): Likewise.
48780         (LDFLAGS-tst-initorder2c.so): Likewise.
48781         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48783 2012-05-02  David S. Miller  <davem@davemloft.net>
48785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48787 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48789         [BZ #14055]
48790         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48792 2012-05-02  Andreas Jaeger  <aj@suse.de>
48794         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48795         since we manipulate rounding mode.
48796         (CPPFLAGS-test-idouble.c): Likewise.
48797         (CPPFLAGS-test-ifloat.c): Likewise.
48798         (CFLAGS-test-ldouble.c): Likewise.
48799         (CFLAGS-test-double.c): Likewise.
48800         (CFLAGS-test-float.c): Likewise.
48801         (CFLAGS-test-misc.c): Likewise.
48802         (CFLAGS-test-test-fenv.c): Likewise.
48804 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48806         [BZ #2550]
48807         [BZ #2570]
48808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48809         comparisons to determine direction to adjust input.
48811 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48813         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48814         output to the target.
48816         * scripts/localplt.awk: New file.
48817         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48818         (check-localplt-CFLAGS): Variable removed.
48819         ($(all-built-dso:=.jmprel)): New static pattern rule.
48820         (generated): Add those targets.
48821         (localplt-built-dso): New variable.
48822         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48824         * elf/check-localplt.c: File removed.
48826         * scripts/check-execstack.awk: New file.
48827         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48828         (check-execstack-CFLAGS): Variable removed.
48829         ($(objpfx)check-execstack.h): Target removed.
48830         ($(objpfx)execstack-default): New target.
48831         (generated): Add that instead of check-execstack.h.
48832         ($(all-built-dso:=.phdr)): New static pattern rule.
48833         (generated): Add those targets.
48834         * elf/check-execstack.c: File removed.
48836         * scripts/check-textrel.awk: New file.
48837         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48838         (check-textrel-CFLAGS): Variable removed.
48839         (all-built-dso): Use := to define.o
48840         ($(all-built-dso:=.dyn)): New static pattern rule.
48841         (generated): Add those targets.
48842         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48843         * config.make.in (READELF): New substituted variable.
48844         * elf/check-textrel.c: File removed.
48846 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48848         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48849         allow.
48850         * conform/data/ctype.h-data [C99-based standards] (isblank):
48851         Expect function.
48852         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48853         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48854         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48855         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48856         Specify type.  Require positive value.
48857         (EILSEQ): Likewise.
48858         (ERANGE): Likewise.
48859         [ISO || POSIX] (EILSEQ): Do not expect.
48860         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48861         Specify type.  Require positive value.
48862         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48863         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48864         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48865         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48866         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48867         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48868         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48869         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48870         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48871         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48872         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48873         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48874         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48875         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48876         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48877         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48878         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48879         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48880         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48881         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48882         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48883         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48884         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48885         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48886         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48887         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48888         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48889         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48890         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48891         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48892         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48893         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48894         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48895         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48896         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48897         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48898         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48899         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48900         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48901         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48902         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48903         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48904         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48905         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48906         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48907         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48908         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48909         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48910         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48911         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48912         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48913         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48914         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48915         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48916         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48917         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48918         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48919         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48920         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48921         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48922         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48923         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48924         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48925         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48926         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48927         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48928         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48929         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48930         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48931         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48932         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48933         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48934         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48935         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48936         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48937         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48938         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48939         Require >= 2.
48940         (FLT_ROUNDS): Expect as macro, not constant.
48941         (FLT_MANT_DIG): Use macro-int-constant.
48942         (DBL_MANT_DIG): Likewise.
48943         (LDBL_MANT_DIG): Likewise.
48944         (FLT_DIG): Likewise.
48945         (DBL_DIG): Likewise.
48946         (LDBL_DIG): Likewise.
48947         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48948         (DBL_MIN_EXP): Likewise.
48949         (LDBL_MIN_EXP): Likewise.
48950         (FLT_MAX_EXP): Use macro-int-constant.
48951         (DBL_MAX_EXP): Likewise.
48952         (LDBL_MAX_EXP): Likewise.
48953         (FLT_MAX_10_EXP): Likewise.
48954         (DBL_MAX_10_EXP): Likewise.
48955         (LDBL_MAX_10_EXP): Likewise.
48956         (FLT_MAX): Use macro-constant.
48957         (DBL_MAX): Likewise.
48958         (LDBL_MAX): Likewise.
48959         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48960         (DBL_EPSILON): Likewise.
48961         (LDBL_EPSILON): Likewise.
48962         (FLT_MIN): Likewise.
48963         (DBL_MIN): Likewise.
48964         (LDBL_MIN): Likewise.
48965         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48966         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48967         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48968         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48969         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48970         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48971         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48972         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48973         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48974         [ISO11] (FLT_TRUE_MIN): Likewise.
48975         [ISO11] (LDBL_TRUE_MIN): Likewise.
48976         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48977         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48978         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48979         (SCHAR_MAX): Likewise.
48980         (UCHAR_MAX): Likewise.
48981         (CHAR_MIN): Likewise.
48982         (CHAR_MAX): Likewise.
48983         (MB_LEN_MAX): Use macro-int-constant.
48984         (SHRT_MIN): Use macro-int-constant.  Specify type.
48985         (SHRT_MAX): Likewise.
48986         (USHRT_MAX): Likewise.
48987         (INT_MAX): Likewise.
48988         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48989         bound negative.
48990         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48991         bound with "U".
48992         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48993         bound with "L".
48994         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48995         bound negative.  Suffix upper bound with "L".
48996         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48997         bound with "UL".
48998         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48999         Specify type.
49000         [C99-based standards] (LLONG_MAX): Likewise.
49001         [C99-based standards] (ULLONG_MAX): Likewise.
49002         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49003         == 0.
49004         [ISO11] (max_align_t): Require type.
49005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49007         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49008         from $CFLAGS, without defining away __attribute__ calls.
49009         (checknamespace): Use $CFLAGS_namespace.
49011         * conform/conformtest.pl (@keywords): Only include C99 keywords
49012         for standards based on C99 or C11.
49014         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49015         Disable tests.
49016         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49017         UNIX98]: Likewise.
49019         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49020         usability of symbols in #if.
49022         * conform/conformtest.pl: If macro or constant types start
49023         "promoted:", expect the symbol to be of the following type
49024         promoted by the integer promotions.
49026         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49027         in one place.  Also handle "macro-constant".
49029         * conform/conformtest.pl: Only accept expected macro values with
49030         "==".  Parse all "macro" lines in one place.
49031         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49033         * conform/conformtest.pl: Handle braced types on "constant" lines
49034         instead of handling "typed-constant".
49035         * conform/data/signal.h-data: Use "constant" instead of
49036         "typed-constant".
49038         * conform/conformtest.pl: Handle "optional-" at start of lines in
49039         one place rather than duplicating several cases.  Handle each
49040         format of "macro" line with initial "optional-".
49042         * conform/conformtest.pl: Only accept expected constant or
49043         optional-constant values with "==".  Parse all "constant" lines in
49044         one place.  Parse all "optional-constant" lines in one place.
49045         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49046         * conform/data/fmtmsg.h-data: Likewise.
49047         * conform/data/netinet/in.h-data: Likewise.
49048         * conform/data/tar.h-data: Likewise.
49049         * conform/data/limits.h-data: Use "==" form on "constant" and
49050         "optional-constant" lines.
49052         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49053         Use -std=c99 for XOPEN2K.
49054         (@knownproblems): Remove.
49055         (newtoken): Don't check %isknown.
49057         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49058         Do not expect macro.
49059         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49060         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49061         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49062         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49063         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49064         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49065         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49066         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49067         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49068         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49069         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49070         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49071         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49072         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49073         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49074         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49075         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49076         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49077         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49078         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49079         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49080         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49083         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49084         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49085         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49086         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49087         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49088         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49089         [XPG3] (acosh): Likewise.
49090         [XPG3] (asinh): Likewise.
49091         [XPG3] (atanh): Likewise.
49092         [XPG3] (cbrt): Likewise.
49093         [XPG3] (expm1): Likewise.
49094         [XPG3] (ilogb): Likewise.
49095         [XPG3] (log1p): Likewise.
49096         [XPG3] (logb): Likewise.
49097         [XPG3] (nextafter): Likewise.
49098         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49099         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49100         [XPG3] (remainder): Likewise.
49101         [XPG3] (rint): Likewise.
49102         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49103         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49104         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49105         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49106         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49107         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49108         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49109         [UNIX98 || XOPEN2K] (scalb): Expect.
49110         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49111         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49112         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49113         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49114         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49115         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49116         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49117         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49118         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49119         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49120         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49121         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49122         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49123         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49124         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49125         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49126         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49127         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49128         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49129         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49130         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49131         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49132         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49133         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49134         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49135         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49136         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49137         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49138         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49139         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49140         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49141         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49142         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49143         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49144         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49145         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49146         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49147         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49148         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49149         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49150         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49151         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49152         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49153         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49154         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49155         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49156         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49157         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49158         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49159         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49160         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49161         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49162         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49163         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49164         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49165         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49166         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49167         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49168         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49169         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49170         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49171         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49172         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49173         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49174         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49175         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49176         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49177         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49178         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49179         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49180         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49181         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49182         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49183         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49184         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49185         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49186         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49187         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49188         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49189         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49190         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49191         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49192         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49193         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49194         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49195         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49196         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49197         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49198         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49199         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49200         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49201         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49202         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49203         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49204         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49205         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49206         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49207         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49208         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49209         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49210         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49211         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49212         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49213         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49214         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49215         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49216         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49217         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49218         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49219         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49220         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49221         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49222         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49223         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49224         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49225         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49226         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49227         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49228         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49229         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49230         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49231         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49232         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49233         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49234         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49235         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49236         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49237         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49238         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49239         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49240         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49241         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49242         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49243         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49244         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49245         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49246         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49248         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49249         _XOPEN_SOURCE_EXTENDED for XPG4.
49251         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49253         * Makeconfig (localtime): Remove variable.
49254         (inst_localtime-file): Likewise.
49256 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49259         Update.
49260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49261         Update.
49262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49263         Update.
49264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49265         Update.
49266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49267         Update.
49268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49269         Update.
49270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49271         Update.
49272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49273         Update.
49274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49275         Update.
49277 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49279         [BZ #2550]
49280         [BZ #2570]
49281         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49282         comparisons to determine direction to adjust input.
49283         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49284         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49286         Likewise.
49287         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49288         Likewise.
49289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49290         Likewise.
49291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49292         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49293         Likewise.
49294         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49295         Likewise.
49296         * math/libm-test.inc (nexttoward_test): Add more tests.
49298 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49300         [BZ #14040]
49301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49302         in version GLIBC_2.1, not GLIBC_2.0.
49303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49304         Likewise.
49306 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49308         [BZ #13942]
49309         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49310         (1 - x) * (1 + x).
49311         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49312         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49313         * math/libm-test.inc (acos_test): Add more tests.
49314         (asin_test): Likewise.
49315         * sysdeps/i386/fpu/libm-test-ulps: Update.
49316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49318         [BZ #14034]
49319         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49320         of square root.
49321         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49322         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49323         * math/libm-test.inc (acos_test_tonearest): New function.
49324         (acos_test_towardzero): Likewise.
49325         (acos_test_downward): Likewise.
49326         (acos_test_upward): Likewise.
49327         (asin_test_tonearest): Likewise.
49328         (asin_test_towardzero): Likewise.
49329         (asin_test_downward): Likewise.
49330         (asin_test_upward): Likewise.
49331         (main): Call the new functions.
49332         * sysdeps/i386/fpu/libm-test-ulps: Update.
49333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49335         [BZ #13884]
49336         [BZ #13924]
49337         * math/e_exp10.c: Include <float.h>.
49338         (__ieee754_exp10): Handle underflow here rather than multiplying
49339         large negative argument by M_LN10.
49340         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49341         of __ieee754_expf.
49342         * math/e_exp10l.c: Include <float.h>.
49343         (__ieee754_exp10l): Handle underflow here rather than multiplying
49344         large negative argument by M_LN10l.
49345         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49346         spurious overflow exception on underflow.
49348 2012-04-29  Marek Polacek  <polacek@redhat.com>
49350         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49351         (__fortify_function): New macro.
49352         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49353         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49354         __extern_always_inline.
49355         * libio/bits/stdio2.h: Likewise.
49356         * libio/bits/stdio.h: Likewise.
49357         * string/string.h: Likewise.
49358         * string/bits/string3.h: Likewise.
49359         * include/stdio.h: Likewise.
49360         * stdlib/bits/stdlib.h: Likewise.
49361         * stdlib/stdlib.h: Likewise.
49362         * rt/bits/mqueue2.h: Likewise.
49363         * rt/mqueue.h: Likewise.
49364         * posix/bits/unistd.h: Likewise.
49365         * posix/unistd.h: Likewise.
49366         * io/bits/poll2.h: Likewise.
49367         * io/bits/fcntl2.h: Likewise.
49368         * io/fcntl.h: Likewise.
49369         * io/sys/poll.h: Likewise.
49370         * misc/bits/syslog.h: Likewise.
49371         * misc/bits/syslog-ldbl.h: Likewise.
49372         * misc/sys/syslog.h: Likewise.
49373         * socket/bits/socket2.h: Likewise.
49374         * socket/sys/socket.h: Likewise.
49375         * debug/tst-chk1.c: Likewise.
49376         * wcsmbs/bits/wchar2.h: Likewise.
49377         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49378         * wcsmbs/wchar.h: Likewise.
49380 2012-04-29  Andreas Jaeger  <aj@suse.de>
49382         * Makerules (tests): Remove enable-check-abi protection.
49383         (check-abi-warn): Remove.
49384         (check-abi-%): Remove check-abi-warn usage.
49386         * configure.in: Remove check-abi configure option.
49387         * configure: Regenerated.
49388         * config.make.in (enable-check-abi): Remove.
49390 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49392         [BZ #14033]
49393         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49394         double functions to double *_finite functions.
49396         [BZ #13941]
49397         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49398         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49399         LDBL_MIN_EXP.
49400         * stdio-common/Makefile (tests): Add tst-sprintf3.
49401         * stdio-common/tst-sprintf3.c: New file.
49403         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49404         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49406 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49408         * conform/conformtest.pl: Remove duplicate typed-constant
49409         handling.
49411 2012-04-28  David S. Miller  <davem@davemloft.net>
49413         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49414         (check-abi-%): Remove AWK script prerequisite and explicit
49415         abilist directory.
49416         (check-abi): Rewrite to just diff the symlist with the abilist.
49417         (config-tls, config-abi-config): Delete, no longer used.
49418         (update-abi-%): Remove AWK script and explicit abilist directory.
49419         (update-abi): Rewrite to simply compare and conditionally copy the
49420         symlist and the sysdep abilist file.  Remove update-abi-config
49421         checks.
49422         * abilist/ld.abilist: Remove.
49423         * abilist/libBrokenLocale.abilist: Remove.
49424         * abilist/libanl.abilist: Remove.
49425         * abilist/libcrypt.abilist: Remove.
49426         * abilist/libdl.abilist: Remove.
49427         * abilist/librt.abilist: Remove.
49428         * abilist/libthread_db.abilist: Remove.
49429         * abilist/libutil.abilist: Remove.
49430         * scripts/extract-abilist.awk: Remove.
49431         * scripts/merge-abilist.awk: Remove.
49432         * sysdeps/generic/libcidn.abilist: New file.
49433         * sysdeps/generic/libnss_compat.abilist: New file.
49434         * sysdeps/generic/libnss_db.abilist: New file.
49435         * sysdeps/generic/libnss_dns.abilist: New file.
49436         * sysdeps/generic/libnss_files.abilist: New file.
49437         * sysdeps/generic/libnss_hesiod.abilist: New file.
49438         * sysdeps/generic/libnss_nis.abilist: New file.
49439         * sysdeps/generic/libnss_nisplus.abilist: New file.
49440         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49441         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49442         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49443         file.
49444         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49445         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49446         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49447         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49448         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49449         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49450         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49451         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49452         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49453         file.
49454         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49455         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49456         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49457         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49458         file.
49459         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49460         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49461         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49462         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49463         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49464         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49465         file.
49466         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49467         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49468         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49469         file.
49470         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49472         New file.
49473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49474         New file.
49475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49476         New file.
49477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49478         New file.
49479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49480         New file.
49481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49482         New file.
49483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49484         New file.
49485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49486         New file.
49487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49488         New file.
49489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49490         New file.
49491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49492         New file.
49493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49494         New file.
49495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49496         New file.
49497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49498         file.
49499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49500         New file.
49501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49502         New file.
49503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49504         file.
49505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49506         New file.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49508         New file.
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49510         file.
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49512         New file.
49513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49514         New file.
49515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49516         New file.
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49518         New file.
49519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49520         New file.
49521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49522         New file.
49523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49525         file.
49526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49527         New file.
49528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49529         file.
49530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49531         file.
49532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49533         file.
49534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49535         file.
49536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49537         file.
49538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49539         New file.
49540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49541         file.
49542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49543         file.
49544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49545         New file.
49546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49547         file.
49548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49550         file.
49551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49552         New file.
49553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49554         file.
49555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49556         file.
49557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49558         file.
49559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49560         file.
49561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49562         file.
49563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49564         New file.
49565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49566         file.
49567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49568         file.
49569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49570         New file.
49571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49572         file.
49573         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49574         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49575         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49576         file.
49577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49578         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49579         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49580         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49581         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49582         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49583         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49584         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49585         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49586         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49589         file.
49590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49591         New file.
49592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49593         file.
49594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49595         file.
49596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49597         file.
49598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49599         file.
49600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49601         file.
49602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49603         New file.
49604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49605         New file.
49606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49607         file.
49608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49609         New file.
49610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49611         file.
49612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49614         file.
49615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49616         New file.
49617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49618         file.
49619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49620         file.
49621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49622         file.
49623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49624         file.
49625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49626         file.
49627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49628         New file.
49629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49630         New file.
49631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49632         file.
49633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49634         New file.
49635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49636         file.
49638 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49640         * conform/conformtest.pl: Fix typo in handling typed-constant from
49641         allow-header.
49643 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49645         * README: Cut down references to pre-2.6 Linux kernels and
49646         Linuxthreads.  Update lists of configurations in libc and ports
49647         and sort alphabetically.  Say "or newer" with Linux kernel version
49648         requirements.
49650         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49652 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49654         [BZ #887]
49655         * math/libm-test.inc (logb_test_downward): New test to expose
49656         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49657         rounding mode.
49659 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49661         [BZ #14027]
49662         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49663         to be done.
49664         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49665         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49667 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49669         * sysdeps/unix/i386/brk.S: Remove file.
49670         * sysdeps/unix/i386/dl-brk.S: Likewise.
49671         * sysdeps/unix/i386/pipe.S: Likewise.
49672         * sysdeps/unix/i386/sigreturn.S: Likewise.
49673         * sysdeps/unix/i386/syscall.S: Likewise.
49674         * sysdeps/unix/i386/vfork.S: Likewise.
49675         * sysdeps/unix/i386/wait.S: Likewise.
49677         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49678         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49680         * configure.in (arm*-none*): Do not allow without
49681         --enable-hacker-mode.
49682         (netbsd*): Remove case setting base_os.
49683         (386bsd*): Likewise.
49684         (freebsd*): Likewise.
49685         (bsdi*): Likewise.
49686         (osf*): Likewise.
49687         (sunos*): Likewise.
49688         (ultrix*): Likewise.
49689         (newsos*): Likewise.
49690         (dynix*): Likewise.
49691         (*bsd*): Likewise.
49692         (sysv*): Likewise.
49693         (isc*): Likewise.
49694         (esix*): Likewise.
49695         (sco*): Likewise.
49696         (minix*): Likewise.
49697         (irix4*): Likewise.
49698         (irix6*): Likewise.
49699         (solaris[2-9]*): Likewise.
49700         (none): Likewise.
49701         * configure: Regenerated.
49703 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49705         [BZ #11521]
49706         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49707         overflow or cancellation in calculating denominator.
49708         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49709         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49710         down expression to avoid unexpected rounding in newer GCCs.
49711         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49713 2012-04-26  David S. Miller  <davem@davemloft.net>
49715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49716         long-double compat symbols.
49717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49731 2012-04-25  David S. Miller  <davem@davemloft.net>
49733         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49734         HWCAP_* values only after the memory barriers have been defined.
49735         (atomic_full_barrier): Define.
49736         (atomic_read_barrier): Define.
49737         (atomic_write_barrier): Define.
49739 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49741         * shlib-versions: Add libgcc_s version information.
49742         * sysdeps/generic/libgcc_s.h: Remove.
49743         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49744         libgcc_s.h.
49745         * sysdeps/gnu/unwind-resume.c: Likewise.
49746         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49748 2012-04-25  David S. Miller  <davem@davemloft.net>
49750         * sysdeps/unix/sparc/brk.S: Delete.
49751         * sysdeps/unix/sparc/dl-brk.S: Delete.
49752         * sysdeps/unix/sparc/pipe.S: Delete.
49753         * sysdeps/unix/sparc/sysdep.S: Delete.
49754         * sysdeps/unix/sparc/sysdep.h: Delete.
49755         * sysdeps/unix/sparc/vfork.S: Delete.
49756         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49757         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49758         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49759         (ret_ERRVAL, r0, r1, MOVE): Define.
49760         (JUMPTARGET): Remove.
49761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49762         sysdeps/unix/sparc/sysdep.h
49763         (ENTRY, END): Remove.
49764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49766 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49768         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49769         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49770         -DIS_IN_build.
49772         * timezone/README: Update upstream location and email address for
49773         tzcode and tzdata.
49774         * timezone/zdump.c: Update from tzcode 2012b.
49775         * timezone/zic.c: Likewise.
49777         * configure.in (libc_cv_as_needed): Remove test.
49778         * configure: Regenerated.
49779         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49780         conditional definition.
49781         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49782         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49783         * config.make.in (have-as-needed): Remove variable.
49785 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49786             Paul Pluzhnikov  <ppluzhnikov@google.com>
49788         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49789         strings correctly.
49791 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49793         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49794         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49795         * sysdeps/sh/strlen.S: Likewise.
49797 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49799         * sysdeps/unix/fork.S: Remove file.
49800         * sysdeps/unix/i386/fork.S: Likewise.
49801         * sysdeps/unix/sparc/fork.S: Likewise.
49803         * sysdeps/unix/system.c: Remove file.
49804         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49806         * sysdeps/unix/getegid.S: Remove file.
49807         * sysdeps/unix/geteuid.S: Likewise.
49809 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49811         * scripts/check-localplt.awk: New file.
49812         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49813         of diff.
49814         * scripts/data/localplt-generic.data: Add a comment.
49816         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49817         NODE when __dir_mkfile failed.
49818         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49819         Reported by Ludovic Courtès <ludo@gnu.org>.
49821 2012-04-24  Andreas Jaeger  <aj@suse.de>
49823         * Makerules (common-clean): Also remove gen-as-const-headers
49824         files.
49826 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49828         * Makerules (native-compile): Do not change working directory for
49829         build.  Use $(OUTPUT_OPTION) in command.
49830         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49832 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49834         [BZ #13886]
49835         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49836         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49837         * math/libm-test.inc (floor_test): Add more tests.
49838         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49840 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49842         * sysdeps/unix/getdents.c: Remove file.
49843         * sysdeps/unix/sysv/getdents.c: Likewise.
49844         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49846         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49847         sysdeps/unix/mman/syscalls.list.
49848         (mmap): Likewise.
49849         (mprotect): Likewise.
49850         (msync): Likewise.
49851         (munmap): Likewise.
49852         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49853         * sysdeps/unix/mman/syscalls.list: Remove.
49854         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49856         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49857         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49858         * configure: Regenerated.
49859         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49860         $(libgcc_s_suffix).
49861         * config.make.in (libgcc_s_suffix): Remove variable.
49863 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49865         * sysdeps/unix/sysv/gethostname.c: Move to ...
49866         * sysdeps/posix/gethostname.c: ... here.
49868         * sysdeps/unix/execve.S: Remove file.
49870         * sysdeps/unix/_exit.S: Remove file.
49872 2012-04-23  Andreas Jaeger  <aj@suse.de>
49874         [BZ #13739]
49875         * manual/Makefile: Remove make dist support, there's no
49876         need for a stand-alone documentation tar ball.
49877         (TEXI2DVI): Define always, it's not in Makeconfig.
49878         (dist): Removed.
49879         (tar-it): Removed.
49880         (edition): Removed.
49881         (glibc-doc-$(edition).tar): Removed
49882         (%.Z): Removed.
49883         (%.gz): Removed.
49884         (%.uu): Removed.
49885         (ETAGS): Remove, it's in Makeconfig.
49886         (move-if-change): Remove, it's in Makeconfig.
49888 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49890         [BZ #13970]
49891         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49892         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49893         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49894         (strtod_l, strtof_l, strtold_l): Remove __wur.
49895         It is not necessarily an error to ignore strtol's return value.
49896         One can reliably look at the stored endptr to decide whether
49897         the number had valid syntax.
49899 2012-04-21  Andreas Jaeger  <aj@suse.de>
49901         [BZ #13739]
49902         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49904 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49906         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49907         * sysdeps/unix/sysv/Versions: Remove file.
49909 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49911         [BZ #13927]
49912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49914 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49916         [BZ #7064]
49917         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49918         version from __vm86.
49920 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49922         * sysdeps/unix/common/lxstat.c: Remove file.
49923         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49925         * sysdeps/unix/sysv/Makefile: Remove file.
49927         * sysdeps/unix/sysv/direct.h: Remove file.
49929         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49930         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49931         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49932         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49933         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49934         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49935         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49937         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49939         * sysdeps/unix/xmknod.c: Remove file.
49940         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49942         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49944         * sysdeps/unix/sysv/i386/time.S: Remove file.
49946         * sysdeps/unix/fxstat.c: Remove file.
49947         * sysdeps/unix/xstat.c: Likewise.
49948         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49950         * sysdeps/unix/sysv/sigaction.c: Remove file.
49952         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49953         (sysdep_headers): Remove variable.
49954         [termio.h not in sysdep_headers] (generated): Likewise.
49955         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49956         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49957         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49958         * sysdeps/unix/sysv/tcflow.c: Likewise.
49959         * sysdeps/unix/sysv/tcflush.c: Likewise.
49960         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49961         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49962         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49963         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49964         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49966         * sysdeps/unix/siglist.c: Remove file.
49968         * sysdeps/unix/getppid.S: Remove file.
49970         * sysdeps/unix/mkdir.c: Remove file.
49971         * sysdeps/unix/rmdir.c: Likewise.
49973 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49975         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49976         ERR_MAX value.
49977         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49978         errlist-compat value.
49980 2012-04-18  David S. Miller  <davem@davemloft.net>
49982         * sysdeps/generic/memcopy.h (reg_char): Delete.
49983         * debug/strcat_chk.c: Use char, not reg_char.
49984         * debug/strcpy_chk.c: Likewise.
49985         * debug/strncat_chk.c: Likewise.
49986         * debug/strncpy_chk.c: Likewise.
49987         * string/memchr.c: Likewise.
49988         * string/memrchr.c: Likewise.
49989         * string/rawmemchr.c: Likewise.
49990         * string/strcat.c: Likewise.
49991         * string/strchr.c: Likewise.
49992         * string/strchrnul.c: Likewise.
49993         * string/strcmp.c: Likewise.
49994         * string/strcpy.c: Likewise.
49995         * string/strncat.c: Likewise.
49996         * string/strncmp.c: Likewise.
49997         * string/strncpy.c: Likewise.
49999 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50001         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50002         __builtin_memcopy is called when src and dest ranges are known to not
50003         overlap.
50005 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50008         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50009         fwd_align_merge macro call.
50010         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50011         bwd_align_merge macro call.
50012         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50017         bwd_align_merge macros.
50018         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50019         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50020         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50022 2012-04-18  David S. Miller  <davem@davemloft.net>
50024         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50026 2012-04-18  Andreas Jaeger  <aj@suse.de>
50028         [BZ# 6794]
50029         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50030         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50031         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50034         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50035         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50037         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50038         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50039         Adjust for changed ldbl-128 files.
50041         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50042         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50043         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50045 2012-04-17  David S. Miller  <davem@davemloft.net>
50047         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50049 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50051         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50052         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50053         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50054         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50055         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50056         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50058 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50060         [BZ #6794]
50061         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50062         * math/libm-test.inc: Add ilogb errno and exception tests.
50063         * math/w_ilogb.c: New file: ilogb wrapper.
50064         * math/w_ilogbf.c: New file: ilogbf wrapper.
50065         * math/w_ilogbl.c: New file: ilogbl wrapper.
50066         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50067         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50068         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50069         exception being thrown with 0.0 as argument.
50070         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50071         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50072         exception being thrown with 0.0 as argument.
50073         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50074         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50075         exception being thrown with 0.0 as argument.
50076         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50077         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50078         exception being thrown with 0.0 as argument.
50079         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50080         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50081         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50082         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50083         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50084         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50085         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50086         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50087         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50089 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50091         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50092         with altivec.
50094 2012-04-16  Marek Polacek  <polacek@redhat.com>
50096         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50098 2012-04-16  Marek Polacek  <polacek@redhat.com>
50100         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50101         operands of fdivp instruction.
50103 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50105         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50106         * elf/tst-auditmod3b.c: Likewise.
50107         * elf/tst-auditmod4b.c: Likewise.
50108         * elf/tst-auditmod5b.c: Likewise.
50109         * elf/tst-auditmod6b.c: Likewise.
50110         * elf/tst-auditmod6c.c: Likewise.
50111         * elf/tst-auditmod7b.c: Likewise.
50112         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50113         * sysdeps/x86_64/preconfigure.in: Likewise.
50114         * sysdeps/x86_64/preconfigure: Regenerated.
50116 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50118         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50119         __ILP32__.
50121 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50123         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50124         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50126 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50128         [BZ #13973]
50129         * locale/iso-639.def: Fix gl language name. Spotted by
50130         Yaron Shahrabani.
50132 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50134         [BZ #2074]
50135         * libio/libio.h (__io_write_fn): Update comment.
50137 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50139         [BZ #2074]
50140         * stdio.texi (Hook Functions): The user provided writer function
50141         is not allowed to return -1.
50143 2012-04-11  David S. Miller  <davem@davemloft.net>
50145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50147 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50149         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50150         Add a leading slash to rtkaio.
50152 2012-04-11  Jim Meyering  <meyering@redhat.com>
50154         [BZ #11959]
50155         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50156         It is not necessarily an error to ignore fwrite's return
50157         value.  One can reliably use ferror to test for errors after
50158         the fact.
50160 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50162         * bits/types.h (__snseconds_t): New type.
50163         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50165         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50167         (__SNSECONDS_T_TYPE): Likewise.
50168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50169         (__SNSECONDS_T_TYPE): Likewise.
50170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50171         (__SNSECONDS_T_TYPE): Likewise.
50173 2012-04-10  Andreas Jaeger  <aj@suse.de>
50175         [BZ #2636]
50176         * manual/time.texi (Processor Time): Return type of times is
50177         elapsed real time since an arbitrary point in the past.
50178         (CPU Time): Move CLK_TCK from here...
50179         (Processor Time): ...to here.  Correct description.
50180         * manual/conf.texi (Constants for Sysconf): Correct description of
50181         _SC_CLK_TCK.
50183 2012-04-10  David S. Miller  <davem@davemloft.net>
50185         [BZ #13967]
50186         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50187         where the is a gap between DT_REL(A) and DT_JMPREL.
50189 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50191         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50192         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50193         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50195 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50197         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50198         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50199         (dl_main): Handle --inhibit-cache.
50200         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50201         _dl_inhibit_cache.
50202         * elf/dl-load.c (_dl_map_object): Use it.
50203         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50205 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50207         [BZ #13872]
50208         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50209         (__ieee754_powl): Saturate large exponents rather than testing for
50210         overflow of y*log2(x).
50211         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50212         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50213         exceptions.
50215         [BZ #11521]
50216         * math/s_ctan.c: Include <float.h>.
50217         (__ctan): Avoid internal overflow or cancellation in calculating
50218         denominator.
50219         * math/s_ctanf.c: Likewise.
50220         * math/s_ctanl.c: Likewise.
50221         * math/s_ctanh.c: Likewise.
50222         * math/s_ctanhf.c: Likewise.
50223         * math/s_ctanhl.c: Likewise.
50224         * math/libm-test.inc (ctan_test): Add more tests.
50225         (ctanh_test): Likewise.
50226         * sysdeps/i386/fpu/libm-test-ulps: Update.
50227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50229 2012-04-09  Andreas Jaeger  <aj@suse.de>
50231         [BZ #6894]
50232         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50233         is an optional BSD extension.
50235         [BZ #10254]
50236         * manual/stdio.texi (Opening Streams): Document additional fopen
50237         parameters.
50239 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50241         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50242         %eax without telling the compiler.
50244 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50246         [BZ # 13963]
50247         * manual/install.texi: Use sourceware.org.
50249 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50251         [BZ #13873]
50252         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50253         (__ieee754_pow): Generate overflow and underflow using huge*huge
50254         and tiny*tiny rather than just returning constant infinity or zero
50255         for large exponents.
50256         * math/libm-test.inc (pow_test): Require overflow exceptions for
50257         applicable cases of large exponents.
50259         [BZ #706]
50260         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50261         (__ieee754_pow): Use iterative multiplication algorithm only for
50262         integer exponents with absolute value below 1024.  Check for odd
50263         integer exponents when using algorithm for real exponents.
50264         * math/libm-test.inc (pow_test): Add more tests.
50265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50267 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50269         [BZ #13705]
50270         * math/libm-test.inc (exp_test): Do not allow overflow exception
50271         on underflow test.
50273 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50275         [BZ #13705]
50276         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50277         instead of __kernel_standard_f.
50279 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50281         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50282         * sysdeps/x86_64/memset_chk.S: Likewise.
50284 2012-04-08  Andreas Jaeger  <aj@suse.de>
50286         [BZ #10153]
50287         * manual/startup.texi (Environment Access): Describe return value
50288         for putenv and setenv.
50290         [BZ #6895]
50291         * manual/filesys.texi (Directory Entries): Add description for
50292         DT_LNK.
50294         [BZ #6890]
50295         * manual/filesys.texi (Directory Entries): Clarify that it's file
50296         system not operating system in the description of DT_UNKNOWN.
50298         [BZ #6578]
50299         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50301 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50303         [BZ #6649]
50304         * manual/llio.texi (Opening and Closing Files): Add cross
50305         reference to explain mode argument.
50307 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50309         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50310         * sysdeps/x86_64/memset_chk.S: Likewise.
50312 2012-04-07  David S. Miller  <davem@davemloft.net>
50314         * elf/elf.h (R_SPARC_WDISP10): Define.
50315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50316         R_SPARC_SIZE32.
50317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50318         R_SPARC_SIZE64 and R_SPARC_H34.
50320 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50323         conditions and remove no longer applicable assertion.
50325 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50327         * bits/byteswap.h: Include <features.h>.
50328         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50329         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50331 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50333         * bits/byteswap.h (__bswap_16): Removed.
50334         Include <bits/byteswap-16.h> to get __bswap_16.
50335         * sysdeps/i386/bits/byteswap.h: Likewise.
50336         * sysdeps/s390/bits/byteswap.h: Likewise.
50337         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50338         * bits/byteswap-16.h: New file.
50339         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50340         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50341         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50342         * string/Makefile (headers): Add bits/byteswap-16.h.
50344 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50346         [BZ #13895]
50347         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50348         extra indirection.
50349         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50350         * nss/tst-nss-static.c: New.
50352 2012-04-06  Robert Millan  <rmh@gnu.org>
50354         [BZ #6486]
50355         * manual/llio.texi (File Position Primitive): lseek
50356         refers to WHENCE when it really means OFFSET.
50358 2012-04-06  Andreas Jaeger  <aj@suse.de>
50360         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50361         strncmp declarations.
50363         * abilist/libc.abilist: Add __poll and __ppoll.
50365 2012-04-05  David S. Miller  <davem@davemloft.net>
50367         * scripts/check-local-headers.sh: Accept a host triplet in the
50368         path matched by the exclude regexp.
50370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50371         definition.
50372         * sysdeps/powerpc/powerpc32/dl-machine.h
50373         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50374         * sysdeps/s390/s390-32/dl-machine.h
50375         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50376         * sysdeps/sparc/sparc32/dl-machine.h
50377         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50378         * sysdeps/sparc/sparc64/dl-machine.h
50379         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50381         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50382         lazy binding.
50383         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50384         undefined symbol errors.
50386         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50387         DT_NEEDED entries.
50389 2012-04-05  Michael Matz  <matz@suse.de>
50391         [BZ #13592]
50392         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50394 2012-04-05  Andreas Jaeger  <aj@suse.de>
50396         [BZ #13908]
50397         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50398         comment.
50400 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50402         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50403         which ROUND is no valid rounding mode.
50405 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50407         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50408         read again.
50409         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50411 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50413         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50414         an exception using FPU order intentionally.
50416 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50418         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50419         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50420         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50421         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50423 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50425         [BZ #12340]
50426         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50427         EINVAL when BUFLEN is too smal.
50429 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50431         [BZ #13553]
50432         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50433         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50435 2012-04-03  Andreas Jaeger  <aj@suse.de>
50437         [BZ #13938]
50438         * manual/setjmp.texi (System V contexts): Fix sentence.
50440         [BZ #13926]
50441         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50442         New macro for this case.
50443         [!__GNUC__] (__bswap_64): New inline function for this case.
50444         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50445         * bits/byteswap.h: Likewise.
50446         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50447         ull, guard with __GLIBC_HAVE_LONG_LONG.
50449         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50450         __GLIBC_HAVE_LONG_LONG.
50452         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50453         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50455 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50457         [BZ #13691]
50458         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50459         inptr and inend, rather than using last_ch.
50461 2012-04-02  David S. Miller  <davem@davemloft.net>
50463         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50464         * stdio-common/printf-parse.h (read_int): Change return type to
50465         'int', return -1 on INT_MAX overflow.
50466         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50467         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50468         overflows INT_MAX.  Check for overflow of in-format-string precision
50469         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50470         SIZE_MAX not INT_MAX for integer overflow test.
50471         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50472         skip the construct in the format string but do not record anything.
50473         * stdio-common/bug22.c: Adjust to test both width/prevision
50474         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50475         explicitly for proper errno values.
50477 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50479         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50480         CHAR_MAX.
50481         * string/test-strcmp.c [! WIDE]: Likewise.
50482         * time/tst-mktime2.c: Likewise for INT_MAX.
50483         * string/test-string.h: #include <sys/param.h> for MIN.
50485         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50486         * sysdeps/i386/init-first.c (init): Likewise.
50487         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50488         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50489         * sysdeps/sh/init-first.c (init): Likewise.
50491 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50493         * po/ru.po: Update from translation team.
50494         * po/vi.po: Likewise.
50496 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50498         * resolv/nss_dns/dns-host.c: Merge copyright years.
50500 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50502         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50503         Optimize memcpy with prefetch if
50504         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50505         src, dst pointers have unequal 16 byte alignments.
50507 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50509         [BZ #13928]
50510         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50511         from a CNAME entry and return the minimum ttl for the query.
50512         (gaih_getanswer_slice): Likewise.
50514 2012-03-30  Jeff Law  <law@redhat.com>
50516         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50517         due to long keys.
50518         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50519         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50521         * resolv/nss_dns/dns-host.c: Update copyright year.
50523 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50525         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50526         requests to save a system call.  Fix check that all bytes are sent.
50528         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50529         comments for sendmmsg.
50531 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50533         [BZ #13691]
50534         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50535         with only 1 character between 0x0041 and 0x01b0.
50536         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50537         * wcsmbs/tst-mbsnrtowcs.c: New file.
50539 2012-03-29  David S. Miller  <davem@davemloft.net>
50541         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50542         small copies by hand.
50544 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50546         [BZ #13761]
50547         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50548         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50549         group memberships.
50551 2012-03-28  David S. Miller  <davem@davemloft.net>
50553         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50554         that branches into memcpy.
50555         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50558         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50559         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50560         bits.
50561         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50562         implementation too.
50563         * sysdeps/sparc/mempcpy.S: New file.
50565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50566         the IFUNC routine in the libc case.
50567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50569         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50570         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50571         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50572         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50573         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50574         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50575         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50576         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50578         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50579         loop to 256 bytes instead of 64 bytes and fix test signedness.
50581         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50582         * sysdeps/sparc/sparc32/Makefile: rather than here...
50583         * sysdeps/sparc/sparc64/Makefile: and here.
50585 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50587         * malloc/mallocbug.c: Avoid warnings about unused variables.
50589 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50591         [BZ #13760]
50592         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50593         in the right place. Discard and retry query if response is
50594         larger than input buffer size.
50596 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50598         [BZ #369]
50599         [BZ #2678]
50600         [BZ #3866]
50601         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50602         x for large integer exponent.
50603         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50604         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50605         sign of result as needed afterwards.
50606         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50607         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50608         result for underflowing pow the same as for overflow.
50609         (__kernel_standard_l): Handle powl overflow and underflow here
50610         rather than calling __kernel_standard.
50611         * math/libm-test.inc (pow_test): Add more tests.
50613         [BZ #3868]
50614         [BZ #13879]
50615         [BZ #13910]
50616         [BZ #13911]
50617         [BZ #13912]
50618         [BZ #13913]
50619         [BZ #13915]
50620         [BZ #13916]
50621         [BZ #13917]
50622         [BZ #13918]
50623         [BZ #13919]
50624         [BZ #13920]
50625         [BZ #13921]
50626         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50627         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50628         (__kernel_standard_l): New function.
50629         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50630         __kernel_standard.
50631         * math/w_acosl.c (__acosl): Likewise.
50632         * math/w_asinl.c (__asinl): Likewise.
50633         * math/w_atan2l.c (__atan2l): Likewise.
50634         * math/w_atanhl.c (__atanhl): Likewise.
50635         * math/w_coshl.c (__coshl): Likewise.
50636         * math/w_exp10l.c (__exp10l): Likewise.
50637         * math/w_exp2l.c (__exp2l): Likewise.
50638         * math/w_fmodl.c (__fmodl): Likewise.
50639         * math/w_hypotl.c (__hypotl): Likewise.
50640         * math/w_j0l.c (__j0l, __y0l): Likewise.
50641         * math/w_j1l.c (__j1l, __y1l): Likewise.
50642         * math/w_jnl.c (__jnl, __ynl): Likewise.
50643         * math/w_lgammal.c (__lgammal): Likewise.
50644         * math/w_log10l.c (__log10l): Likewise.
50645         * math/w_log2l.c (__log2l): Likewise.
50646         * math/w_logl.c (__logl): Likewise.
50647         * math/w_powl.c (__powl): Likewise.
50648         * math/w_remainderl.c (__remainderl): Likewise.
50649         * math/w_scalbl.c (sysv_scalbl): Likewise.
50650         * math/w_sinhl.c (__sinhl): Likewise.
50651         * math/w_sqrtl.c (__sqrtl): Likewise.
50652         * math/w_tgammal.c (__tgammal): Likewise.
50653         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50654         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50655         * math/libm-test.inc (acos_test): Add more tests.
50656         (acosh_test): Likewise.
50657         (asin_test): Likewise.
50658         (atanh_test): Likewise.
50659         (exp_test): Likewise.
50660         (exp10_test): Likewise.
50661         (exp2_test): Likewise.
50662         (expm1_test): Likewise.
50663         (lgamma_test): Likewise.
50664         (log_test): Likewise.
50665         (log10_test): Likewise.
50666         (log1p_test): Likewise.
50667         (log2_test): Likewise.
50668         (pow_test): Do not allow some spurious overflow exceptions.
50669         (sqrt_test): Add more tests.
50670         (tgamma_test): Likewise.
50671         (y0_test): Likewise.
50672         (y1_test): Likewise.
50673         (yn_test): Likewise.
50675 2012-03-27  Anton Blanchard  <anton@samba.org>
50677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50678         MAP_HUGETLB.
50679         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50680         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50683 2012-03-27  David S. Miller  <davem@davemloft.net>
50685         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50687         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50688         have-as-vis3 check.
50690 2012-03-27  Andreas Jaeger  <aj@suse.de>
50692         * sysdeps/x86_64/elf/configure.in: Moved to ...
50693         * sysdeps/x86_64/configure.in: ... here.
50694         * sysdeps/x86_64/elf/start.S: Moved to ...
50695         * sysdeps/x86_64/start.S: ... here.
50696         * sysdeps/x86_64/elf/configure: Delete.
50698         * sysdeps/x86_64/configure.in: Merge contents from
50699         sysdeps/i386/configure.in (without i686 check).
50701         * sysdeps/i386/elf/Versions: Merge into ...
50702         * sysdeps/i386/Versions: ... this.
50703         * sysdeps/i386/elf/Versions: Delete file.
50704         * sysdeps/i386/elf/start.S: Moved to ...
50705         * sysdeps/i386/start.S: ...here.
50706         * sysdeps/i386/elf/configure.in: Merge into...
50707         * sysdeps/i386/configure.in: ...here.
50708         * sysdeps/i386/elf/configure.in: Delete file.
50709         * sysdeps/i386/elf/configure: Delete file.
50711         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50712         * debug/backtracesyms.c: ... here.
50713         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50714         * debug/backtracesymsfd.c: ... here.
50715         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50716         * sysdeps/generic/ifunc-sel.h: ... here.
50718         * sysdeps/unix/i386/start.c: Delete file.
50719         * sysdeps/unix/sparc/start.c: Delete file.
50720         * sysdeps/unix/start.c: Delete file.
50722         * sysdeps/sh/elf/configure.in: Moved to ...
50723         * sysdeps/sh/configure.in: ... here.
50724         * sysdeps/sh/elf/start.S: Moved to ...
50725         * sysdeps/sh/start.S: ... here.
50726         * sysdeps/sh/elf/configure: Delete file.
50728         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50729         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50730         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50731         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50732         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50733         * sysdeps/powerpc/powerpc64/start.S: here.
50734         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50735         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50736         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50737         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50738         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50740         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50741         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50742         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50743         * sysdeps/powerpc/powerpc32/start.S: ... here.
50744         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50745         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50746         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50748         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50749         * sysdeps/powerpc/ifunc-sel.h: ... here.
50750         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50751         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50753         * sysdeps/sparc/elf/configure.in: Moved to ...
50754         * sysdeps/sparc/configure.in: ... here.
50755         * sysdeps/sparc/elf/configure: Delete file.
50756         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50757         * sysdeps/sparc/sparc32/start.S: ... here.
50758         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50759         * sysdeps/sparc/sparc64/start.S: ... here.
50760         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50761         * sysdeps/sparc/sparc32/Makefile: ... this.
50762         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50763         * sysdeps/sparc/sparc64/Makefile: ... this.
50765         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50766         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50767         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50768         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50769         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50770         * sysdeps/s390/s390-32/setjmp.S: ... here.
50771         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50772         * sysdeps/s390/s390-32/configure.in: ... here.
50773         * sysdeps/s390/s390-32/elf/configure: Delete file.
50774         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50775         * sysdeps/s390/s390-32/start.S: ... here.
50777         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50778         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50779         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50780         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50781         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50782         * sysdeps/s390/s390-64/setjmp.S: ... here.
50783         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50784         * sysdeps/s390/s390-64/configure.in: ... here
50785         * sysdeps/s390/s390-64/elf/configure: Delete file.
50786         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50787         * sysdeps/s390/s390-64/start.S: ... here.
50788         * sysdeps/s390/s390-64/elf/configure: Delete.
50790         * configure.in: Remove support for elf directories in sysdeps.
50792         * configure: Regenerated.
50793         * sysdeps/i386/configure: Regenerated.
50794         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50795         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50796         * sysdeps/s390/s390-32/configure: Regenerated.
50797         * sysdeps/s390/s390-64/configure: Regenerated.
50798         * sysdeps/sh/configure: Regenerated.
50799         * sysdeps/sparc/configure: Regenerated.
50800         * sysdeps/x86_64/configure: Regenerated.
50802 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50807         denormal result into account.
50809 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50811         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50812         Reported by Allan McRae <allan@archlinux.org>.
50814 2012-03-23  Jeff Law  <law@redhat.com>
50816         * nss/getnssent.c (__nss_getent): Fix typo.
50818 2012-03-23  David S. Miller  <davem@davemloft.net>
50820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50822 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50824         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50825         to pad to uint64_t for each field.
50826         (dl_tls_index): Replace unsigned long with uint64_t.
50828 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50829         Paul Pluzhnikov  <ppluzhnikov@google.com>
50831         [BZ #6528]
50832         * grp/Makefile (otherlibs): Don't set it.
50833         * inet/Makefile (otherlibs): Likewise.
50834         * login/Makefile (otherlibs): Likewise.
50835         * nscd/Makefile (otherlibs): Likewise.
50836         * posix/Makefile (otherlibs): Likewise.
50837         * pwd/Makefile (otherlibs): Likewise.
50838         * rt/Makefile (otherlibs): Likewise.
50839         * sunrpc/Makefile (otherlibs): Likewise.
50840         * nss/Makefile (otherlibs): Likewise.
50841         Add libnss_files to routines and static-only-routines.
50842         ($(objpfx)getent): Remove rule.
50843         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50844         static-only-routines.
50846 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50848         [BZ #13892]
50849         * math/s_cexp.c: Include <float.h>.
50850         (__cexp): Handle exp result overflowing not necessarily
50851         overflowing both real and imaginary parts of result.
50852         * math/s_cexpf.c: Likewise.
50853         * math/s_cexpl.c: Likewise.
50854         * math/libm-test.inc (cexp_test): Add more tests.
50855         * sysdeps/i386/fpu/libm-test-ulps: Update.
50856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50858 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50860         * include/link.h (ELFW): New macro.
50861         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50862         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50864 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50866         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50867         with uint64_t.
50869 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50871         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50872         declaration.
50873         (struct La_x32_retval): Likewise.
50875 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50877         * sysdeps/x86_64/preconfigure.in: New file.
50878         * sysdeps/x86_64/preconfigure: New generated file.
50880 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50882         [BZ #13824]
50883         * math/e_exp2l.c: Include <float.h>.
50884         (__ieee754_exp2l): Handle overflow and underflow cases
50885         separately.  Only pass fractional part of argument to
50886         __ieee754_expl.
50887         * math/libm-test.inc (exp2_test): Add more tests.
50889         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50890         negating x to take absolute value.
50891         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50892         Likewise.
50893         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50894         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50895         Likewise.
50896         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50897         computing low part if x was negated.
50898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50900 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50902         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50903         la_x32_gnu_pltexit.
50904         (pltexit): Cast int_retval to ptrdiff_t.
50905         * elf/tst-auditmod3b.c: Likewise.
50906         * elf/tst-auditmod4b.c: Likewise.
50907         * elf/tst-auditmod5b.c: Likewise.
50908         * elf/tst-auditmod6b.c: Likewise.
50909         * elf/tst-auditmod6c.c: Likewise.
50910         * elf/tst-auditmod7b.c: Likewise.
50912         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50913         and x32_gnu_pltexit.
50915         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50916         __ELF_NATIVE_CLASS.
50917         (La_x32_regs): New macro.
50918         (La_x32_retval): Likewise.
50919         (la_x32_gnu_pltenter): New function prototype.
50920         (la_x32_gnu_pltexit): Likewise.
50922 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50925         exponent.
50927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50929         * configure.in (libc_cv_cc_nofma): Check for option to disable
50930         generation of FMA instructions.
50931         * configure: Regenerate.
50932         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50933         * sysdeps/ieee754/dbl-64/Makefile: New file.
50934         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50935         Remove brandred-fma4.
50936         (CFLAGS-brandred-fma4.c): Remove.
50937         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50939         define.
50940         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50941         define.
50943 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50945         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50946         LLONG_MAX != LONG_MAX.
50947         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50948         (_fitoa_word): Likewise.
50949         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50950         LLONG_MAX != LONG_MAX.
50951         * stdio-common/_itowa.h: Include <_itoa.h>.
50952         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50953         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50954         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50955         only if not defined.
50956         (_ITOA_WORD_TYPE): Likewise.
50957         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50958         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50960 2012-03-21  David S. Miller  <davem@davemloft.net>
50962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50964 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50966         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50967         of x86_64 when setting libc_cv_slibdir, libdir and
50968         libc_cv_localedir.
50969         * sysdeps/unix/sysv/linux/configure: Regenerated.
50971 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50973         * manual/lang.texi (Old Varargs): Remove section.
50974         (How Variadic): Update menu.
50975         (va_start): Do not mention varargs.h.
50977 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50978             Joseph Myers  <joseph@codesourcery.com>
50980         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50981         link test.
50982         * configure: Regenerated.
50984 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50986         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50987         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50988         conformtest.pl
50990 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50992         * NOTES: Remove.
50993         * Makefile (files-for-dist): Remove NOTES.
50994         (NOTES): Remove rule.
50995         * README: Don't refer to NOTES.
50996         * manual/creature.texi: Don't include macros.texi.
50997         * manual/intro.texi (creature.texi): Remove comment referring to
50998         NOTES.
51000         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51001         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51002         * configure: Regenerated.
51003         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51004         LIBC_TRY_CC_OPTION.
51005         (libc_cv_as_i686): Likewise.
51006         (libc_cv_cc_avx): Likewise.
51007         (libc_cv_cc_sse2avx): Likewise.
51008         (libc_cv_cc_fma4): Likewise.
51009         (libc_cv_cc_novzeroupper): Likewise.
51010         * sysdeps/i386/configure: Regenerated.
51012         [BZ #13883]
51013         * sysdeps/i386/fpu/s_cexp.S: Remove.
51014         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51015         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51016         * math/libm-test.inc (cexp_test): Add more tests.
51017         * sysdeps/i386/fpu/libm-test-ulps: Update.
51018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51020 2012-03-21  Allan McRae  <allan@archlinux.org>
51022         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51024 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51026         [BZ #13871]
51027         * math/w_exp2.c: Do not include <float.h>.
51028         (o_threshold, u_threshold): Remove.
51029         (__exp2): Calculate result before checking finiteness and calling
51030         __kernel_standard.
51031         * math/w_exp2f.c: Likewise.
51032         * math/w_exp2l.c: Likewise.
51033         * math/libm-test.inc (exp2_test): Require overflow exception for
51034         1e6 input.
51036         [BZ #3866]
51037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51038         range of signed 64-bit integers before using fistpll.  Remove
51039         checks for whether integers fit in mantissa bits.
51040         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51041         the range of signed 32-bit integers before using fistpl.  Remove
51042         checks for whether integers fit in mantissa bits.
51043         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51044         (__ieee754_powl): Test for y outside the range of signed 64-bit
51045         integers before using fistpll.  Reduce 64-bit values to 63-bit
51046         ones as needed.
51047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51048         divide-by-zero is raised for zero to large negative powers.
51049         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51050         (__ieee754_powl): Test for y outside the range of signed 64-bit
51051         integers before using fistpll.  Reduce 64-bit values to 63-bit
51052         ones as needed.
51053         * math/libm-test.inc (pow_test): Add more tests.
51055 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51057         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51058         <stdio-common/_itoa.h>.
51059         * debug/segfault.c: Likewise.
51060         * elf/dl-cache.c: Likewise.
51061         * elf/dl-minimal.c: Likewise.
51062         * elf/dl-misc.c: Likewise.
51063         * elf/dl-sysdep.c: Likewise.
51064         * elf/dl-version.c: Likewise.
51065         * elf/rtld.c: Likewise.
51066         * hurd/hurdsock.c: Likewise.
51067         * hurd/lookup-retry.c: Likewise.
51068         * malloc/malloc.c: Likewise.
51069         * malloc/mtrace.c: Likewise.
51070         * nscd/nscd_getgr_r.c: Likewise.
51071         * nscd/nscd_getpw_r.c: Likewise.
51072         * nscd/nscd_getserv_r.c: Likewise.
51073         * posix/getopt_init.c: Likewise.
51074         * posix/wordexp.c: Likewise.
51075         * stdio-common/_itoa.c: Likewise.
51076         * stdio-common/printf_fphex.c: Likewise.
51077         * stdio-common/vfprintf.c: Likewise.
51078         * string/_strerror.c: Likewise.
51079         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51080         * sysdeps/i386/i686/hp-timing.h: Likewise.
51081         * sysdeps/mach/_strerror.c: Likewise.
51082         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51083         * sysdeps/mach/hurd/sethostid.c: Likewise.
51084         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51085         * sysdeps/mach/xpg-strerror.c: Likewise.
51086         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51088         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51089         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51090         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51091         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51092         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51093         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51094         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51095         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51096         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51097         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51098         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51099         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51100         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51101         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51102         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51103         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51104         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51105         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51106         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51108         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51110         * stdio-common/_itoa.h: Moved to ...
51111         * sysdeps/generic/_itoa.h: Here.
51113         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51115         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51116         instead of "_itoa.h" and "_itowa.h".
51117         * stdio-common/vfprintf.: Likewise.
51119 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51121         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51122         <bits/wordsize.h>.
51123         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51124         (__signbit): Likwise.
51125         (llrintf): Likwise.
51126         (llrint): Likwise.
51128 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51130         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51131         __WORDSIZE != 64.
51133 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51135         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51136         OVERFLOW_EXCEPTION_OK.
51137         * math/libm-test.inc ("Philosophy"): Update comment about
51138         exception testing.
51139         (OVERFLOW_EXCEPTION): Define.
51140         (OVERFLOW_EXCEPTION_OK): Likewise.
51141         (INVALID_EXCEPTION_OK): Renumber.
51142         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51143         (IGNORE_ZERO_INF_SIGN): Likewise.
51144         (test_exceptions): Handle FE_OVERFLOW.
51145         (exp10_test): Expect overflow exceptions.
51146         (exp2_test): Likewise.
51147         (expm1_test): Likewise.
51148         (nextafter_test): Likewise.
51149         (pow_test): Likewise.
51150         (scalbn_test): Likewise.
51151         (scalbln_test): Likewise.
51153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51155         * sysdeps/x86_64/bits/atomic.h
51156         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51157         64bit integer.
51158         (atomic_exchange_acq): Likewise.
51159         (__arch_exchange_and_add_body): Likewise.
51160         (__arch_add_body): Likewise.
51161         (atomic_add_negative): Likewise.
51162         (atomic_add_zero): Likewise.
51164 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51166         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51167         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51169 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51171         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51172         Check __x86_64__ instead of __WORDSIZE.
51174 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51176         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51178 2012-03-19  David S. Miller  <davem@davemloft.net>
51180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51182         * sysdeps/sparc/fpu/fenv_private.h: New file.
51183         * sysdeps/sparc/fpu/math_private.h: Use it.
51184         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51185         Remove.
51186         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51187         (libc_feholdexcept_setroundl): Remove.
51188         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51189         Remove.
51190         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51191         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51193 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51195         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51196         int64_t instead of long int.
51197         (INSERT_WORDS64): Likwise.
51199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51201         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51202         _Unwind_GetCFA return to _Unwind_Ptr first.
51204 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51206         [BZ #13629]
51207         * math/s_clog.c: Include <float.h>.
51208         (__clog): Scale large or subnormal inputs.
51209         * math/s_clogf.c: Likewise.
51210         * math/s_clogl.c: Likewise.
51211         * math/s_clog10.c: Include <float.h>.
51212         (M_LOG10_2): Define.
51213         (__clog10): Scale large or subnormal inputs.
51214         * math/s_clog10f.c: Likewise.
51215         * math/s_clog10l.c: Likewise.
51216         * math/libm-test.inc (clog_test): Add more tests.
51217         (clog10_test): Likewise.
51218         * sysdeps/i386/fpu/libm-test-ulps: Update.
51219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51221         [BZ #11451]
51222         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51223         x and y.
51224         * math/libm-test.inc (atan2_test): Add another test.
51226         * Makerules (common-objdir-compile): Remove.
51227         * sysdeps/unix/Makefile (config-generated): Do not add
51228         $(unix-generated) to variable.
51229         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51230         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51231         Remove rule.
51232         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51233         Likewise.
51234         [generic bits/local_lim.h] (before-compile): Do not append to
51235         variable.
51236         [generic bits/local_lim.h] (common-generated): Likewise.
51237         [generic sys/param.h] (before-compile): Do not append to variable.
51238         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51239         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51240         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51241         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51242         include.
51243         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51244         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51245         [generic sys/param.h] ($(addprefix
51246         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51247         [generic sys/param.h] (common-generated): Do not append to
51248         variable.
51249         [generic sys/param.h] (sysdep_headers): Likewise.
51250         [generic bits/errno.h] (before-compile): Do not append to
51251         variable.
51252         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51253         rule.
51254         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51255         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51256         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51257         [generic bits/errno.h] (common-generated): Do not append to
51258         variable.
51259         [generic bits/ioctls.h] (before-compile): Do not append to
51260         variable.
51261         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51262         rule.
51263         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51264         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51265         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51266         rule.
51267         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51268         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51269         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51270         [generic bits/ioctls.h] (common-generated): Do not append to
51271         variable.
51272         [generic sys/syscall.h] (syscall.h): Remove variable.
51273         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51274         rule.
51275         [generic sys/syscall.h] (before-compile): Do not append to
51276         variable.
51277         [generic sys/syscall.h] (common-generated): Likewise.
51278         * sysdeps/unix/errnos-tmpl.c: Remove file.
51279         * sysdeps/unix/errnos.awk: Likewise.
51280         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51281         * sysdeps/unix/ioctls.awk: Likewise.
51282         * sysdeps/unix/mk-local_lim.c: Likewise.
51283         * sysdeps/unix/snarf-ioctls: Likewise.
51285 2012-03-19  Richard Henderson  <rth@twiddle.net>
51287         * sysdeps/i386/fpu/fenv_private.h: New file.
51288         * sysdeps/i386/fpu/math_private.h: Use it.
51289         (math_opt_barrier, math_force_eval): Remove.
51290         (libc_feholdexcept_setround_53bit): Remove.
51291         (libc_feupdateenv_53bit): Remove.
51292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51293         (math_opt_barrier, math_force_eval): Remove.
51294         (libc_feholdexcept): Remove.
51295         (libc_feholdexcept_setround): Remove.
51296         (libc_fetestexcept, libc_fesetenv): Remove.
51297         (libc_feupdateenv_test): Remove.
51298         (libc_feupdateenv, libc_feholdsetround): Remove.
51299         (libc_feresetround): Remove.
51301         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51302         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51304         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51305         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51306         (libc_feupdateenv_testl): New.
51307         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51308         (libc_feupdateenv_testf): New.
51309         (libc_feupdateenv): Use libc_feupdateenv_test.
51310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51311         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51313         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51314         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51315         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51316         (libc_feresetround_noex): New.
51317         (libc_feresetround_noexf): New.
51318         (libc_feresetround_noexl): New.
51319         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51320         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51321         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51322         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51323         SET_RESTORE_ROUND.
51324         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51326         (__cos): Likewise.
51327         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51328         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51329         SET_RESTORE_ROUND_NOEX.
51330         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51331         SET_RESTORE_ROUND_NOEXF.
51332         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51333         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51334         (libc_feholdsetroundf): New.
51335         (libc_feresetround, libc_feresetroundf): New.
51337         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51338         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51339         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51341         * sysdeps/generic/math_private.h: Include <fenv.h>.
51342         (default_libc_feholdexcept): New.
51343         (default_libc_feholdexcept_setround): New.
51344         (default_libc_fesetenv, default_libc_feupdateenv): New.
51345         (libc_feholdexcept): Only define if undefined.
51346         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51347         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51348         (libc_feholdexcept_setroundl): Likewise.
51349         (libc_feholdexcept_setround_53bit): Likewise.
51350         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51351         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51352         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51353         (libc_feupdateenv_53bit): Likewise.
51354         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51355         (libc_feholdexcept): Convert from macro to inline function.
51356         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51357         (libc_fesetenv, libc_feupdateenv): Likewise.
51359         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51360         not previously defined.
51361         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51362         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51363         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51364         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51365         * sysdeps/ieee754/flt-32/math_private.h: New file.
51366         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51367         math_private.h below SET_FLOAT_WORD.
51368         (__isnan, __isinf_ns, __finite): Remove.
51369         (__isnanf, __isinf_nsf, __finitef): Remove.
51371 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51375 2012-03-17  David S. Miller  <davem@davemloft.net>
51377         [BZ #6471]
51378         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51379         for 2.16.
51381 2012-03-16  David S. Miller  <davem@davemloft.net>
51383         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51384         warnings.
51386         [BZ #6471]
51387         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51388         properly.
51389         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51390         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51391         sysdep_routines when subdir is sysvipc.
51392         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51393         __getshmlba helper.
51395         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51397 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51399         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51400         [__LP64__].
51402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51404         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51405         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51406         (__lround): Renamed to ...
51407         (__llround): This.  Replace long int with long long int.
51408         Define lround functions as aliases of llround functions.
51409         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51411 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51413         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51414         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51415         adresses to uintptr_t.  Replace "long int" and "unsigned long
51416         int" with "greg_t" on va_arg.
51418 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51420         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51421         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51423         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51424         Move e_machine check before EI_CLASS check.  Handle x32
51425         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51426         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51427         SKIP_EM_IA_64 and include
51428         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51430         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51431         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51432         (add_system_dir): New macro.
51434         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51435         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51437 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51439         [BZ #2551]
51440         [BZ #2552]
51441         [BZ #2553]
51442         [BZ #2554]
51443         [BZ #2562]
51444         [BZ #2563]
51445         [BZ #2565]
51446         [BZ #2566]
51447         [BZ #2576]
51448         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51449         (y0): Likewise.
51450         * math/w_j0f.c (j0f): Likewise.
51451         (y0f): Likewise.
51452         * math/w_j0l.c (__j0l): Likewise.
51453         (__y0l): Likewise.
51454         * math/w_j1.c (j1): Likewise.
51455         (y1): Likewise.
51456         * math/w_j1f.c (j1f): Likewise.
51457         (y1f): Likewise.
51458         * math/w_j1l.c (__j1l): Likewise.
51459         (__y1l): Likewise.
51460         * math/w_jn.c (jn): Likewise.
51461         (yn): Likewise.
51462         * math/w_jnf.c (jnf): Likewise.
51463         (ynf): Likewise.
51464         * math/w_jnl.c (__jnl): Likewise.
51465         (__ynl): Likewise.
51466         * math/libm-test.inc (j0_test): Add more tests.
51467         (j1_test): Likewise.
51468         (jn_test): Likewise.  Add trailing semicolon to existing test.
51469         (y0_test): Likewise.
51470         (y1_test): Likewise.
51471         * sysdeps/i386/fpu/libm-test-ulps: Update.
51472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51474         [BZ #13851]
51475         [BZ #13854]
51476         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51477         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51478         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51480         (__tanl): Set errno for infinite argument.
51481         * sysdeps/i386/fpu/mptan.c: Remove.
51482         * sysdeps/i386/fpu/s_tan.S: Likewise.
51483         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51484         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51485         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51486         * math/libm-test.inc (tan_test): Add more tests and enable more
51487         tests for double and long double.
51488         * sysdeps/i386/fpu/libm-test-ulps: Update.
51489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51491 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51493         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51494         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51496 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51498         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51499         * configure.in: Use it for both main tree and add-ons.
51500         * configure: Regenerated.
51502 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51504         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51506 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51508         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51509         in comment.
51511         [BZ #13851]
51512         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51513         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51514         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51515         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51516         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51517         infinite argument.
51518         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51519         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51520         != 0 for prec == 2.
51521         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51522         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51523         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51524         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51525         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51526         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51527         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51528         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51529         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51530         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51531         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51532         * math/libm-test.inc (cos_test): Add more tests and enable more
51533         tests for long double.
51534         (sin_test): Likewise.
51535         (sincos_test): Likewise.
51536         * sysdeps/i386/fpu/libm-test-ulps: Update.
51537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51539 2012-03-16  David S. Miller  <davem@davemloft.net>
51541         * sysdeps/sparc/fpu/math_private.h: New file.
51543 2012-03-15  David S. Miller  <davem@davemloft.net>
51545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51546         file.
51547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51549         file.
51550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51555         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51556         sysdep routines.
51557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51559         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51560         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51562         * sysdeps/sparc/sparc-ifunc.h: New file.
51563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51564         sparc-ifunc.h
51565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51567         Likewise.
51568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51569         Likewise.
51570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51574         Likewise.
51575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51580         Likewise.
51581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51582         Likewise.
51583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51604         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51608 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51610         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51611         scaling.
51612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51614 2012-03-15  Andreas Jaeger  <aj@suse.de>
51616         [BZ #13852]
51617         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51618         ieee754/flt-32 implementation for sin, cos and sincos.
51619         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51620         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51621         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51622         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51623         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51624         ieee754/flt-32 implementation for tan.
51626         * math/libm-test.inc (cos_test): Enable some large input tests for
51627         float as well
51628         (sin_test): Likewise.
51629         (sincos_test): Likewise.
51630         (tan_test): Add tests for large input.
51632         * sysdeps/i386/fpu/libm-test-ulps: Update.
51634 2012-03-15  Andreas Jaeger  <aj@suse.de>
51636         [BZ #13658]
51637         * math/libm-test.inc (cos_test): Add more test cases.
51638         (sin_test): Likewise.
51639         (sincos_test): Likewise.
51641 2012-03-15  Andreas Jaeger  <aj@suse.de>
51643         [BZ #13837]
51644         * math/libm-test.inc (cos_test): Add a test case for large input
51645         value.
51646         (sin_test): Likewise.
51647         (sincos_test): Likewise.
51649 2012-03-15  Andreas Jaeger  <aj@suse.de>
51650             Joseph Myers  <joseph@codesourcery.com>
51652         [BZ #13658]
51653         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51654         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51655         * sysdeps/i386/fpu/branred.c: Likewise.
51656         * sysdeps/i386/fpu/dosincos.c: Likewise.
51657         * sysdeps/i386/fpu/mpa.c: Likewise.
51658         * sysdeps/i386/fpu/s_cos.S: Likewise.
51659         * sysdeps/i386/fpu/s_sin.S: Likewise.
51660         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51661         * sysdeps/i386/fpu/sincos32.c: Likewise.
51663         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51664         Define.
51665         (libc_feupdateenv_53bit): Define.
51666         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51667         Define.
51668         (libc_feupdateenv_53bit): Define.
51670         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51671         53 bit (without extend i386 double precision).
51673         * math/libm-test.inc (sincos_test): Add tests for large input.
51674         (sin): Likewise.
51675         (cos): Likewise.
51677         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51679 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51683 2012-03-15  David S. Miller  <davem@davemloft.net>
51685         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51686         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51687         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51688         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51701         file.
51702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51704         file.
51705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51707         file.
51708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51710         file.
51711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51712         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51713         fmin/fmax sysdep routines.
51714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51716 2012-03-14  David S. Miller  <davem@davemloft.net>
51718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51746         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51747         routines.
51748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51749         file.
51750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51752         file.
51753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51755         file.
51756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51758         file.
51759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51761         file.
51762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51764         file.
51765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51766         file.
51767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51768         file.
51769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51770         file.
51771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51772         New file.
51773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51774         file.
51775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51776         file.
51777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51779         file.
51780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51782         file.
51783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51785         file.
51786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51788         VIS3 routines.
51790         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51791         New file.
51793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51795         * sysdeps/sparc/configure.in: New file.
51796         * sysdeps/sparc/configure: Generate.
51797         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51798         * configure: Regenerate.
51799         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51800         * config.make.in (have-as-vis3): New.
51801         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51802         available use -Av9d instead of -Av9a.
51803         * sysdeps/sparc/sparc64/Makefile: Likewise.
51804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51806         New file.
51807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51808         file.
51809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51810         New file.
51811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51812         file.
51813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51814         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51819         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51820         fzeros/fnegs to load 0x80000000 into a float register instead of
51821         using the stack.
51822         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51824 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51827         bits/syscall.h.
51828         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51829         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51830         ($(inst_includedir)/bits/syscall.h): Remove rule.
51831         ($(objpfx)bits/syscall.d): Include instead of
51832         $(objpfx)syscall-list.d.
51833         (generated): Change syscall-list.h and syscall-list.d to
51834         bits/syscall.h and bits/syscall.d.
51836 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51838         [BZ #13846]
51839         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51841 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51843         [BZ #13841]
51844         * math/s_csqrt.c: Include <float.h>.
51845         (__csqrt): Scale large or subnormal inputs.
51846         * math/s_csqrtf.c: Likewise.
51847         * math/s_csqrtl.c: Likewise.
51848         * math/libm-test.inc (csqrt_test): Add more tests.
51849         * sysdeps/i386/fpu/libm-test-ulps: Update.
51850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51852         [BZ #13840]
51853         * math/libm-test.inc (hypot_test): Add more tests.
51855 2012-03-13  David S. Miller  <davem@davemloft.net>
51857         [BZ #13840]
51858         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51859         double-precision for the calculation instead of scaling.
51861 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51863         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51864         manipulate bits before adding and subtracting TWO52[sx].
51865         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51867         Likewise.
51868         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51870 2012-03-13  David S. Miller  <davem@davemloft.net>
51872         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51873         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51875         rtld-global-offsets.h
51876         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51878         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51879         large parameters.
51881         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51883         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51884         'err' in the ifdef scope in which it is actually used.
51886         * nss/nss_db/db-init.c: Include string.h
51888 2012-03-12  David S. Miller  <davem@davemloft.net>
51890         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51891         masking out of the most significant byte of random value used.
51892         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51893         Fix coding style in previous change.
51895         * sysdeps/unix/sysv/linux/kernel-features.h
51896         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51897         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51898         expression.
51899         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51900         later.
51902 2012-03-11  David S. Miller  <davem@davemloft.net>
51904         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51905         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51907         for 'resultvar' otherwise things get truncated on 64-bit.
51909         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51910         Fix masking out of the most significant byte of random value used.
51912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51914 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51918 2012-03-09  David S. Miller  <davem@davemloft.net>
51920         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51921         variables with appropriate CPP guards.
51922         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51923         from the frame pointer, not the stack pointer.  Correct layout
51924         comments.  Fix test on resulting framesize and the management of
51925         the outregs buffer for pltexit.  Preserve floating point return
51926         values across _dl_call_pltexit call.
51927         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51928         framesize and the management of the outregs buffer for pltexit.
51929         Preserve floating point return values across _dl_call_pltexit
51930         call.
51931         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51932         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51933         (la_sparc64_gnu_pltexit): New functions.
51934         (print_exit): Fix format string for return register value.
51936 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51938         * sunrpc/Makefile (others): Add rpcgen.
51939         ($(objpfx)rpcgen): Remove special build rule and dependency on
51940         libc.
51941         * sunrpc/rpcgen.c: New file.
51943 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51945         [BZ #13673]
51946         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51947         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51948         * sysdeps/i386/crti.S: Likewise.
51949         * sysdeps/i386/crtn.S: Likewise.
51950         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51951         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51952         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51953         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51954         * sysdeps/sh/crti.S: Likewise.
51955         * sysdeps/sh/crtn.S: Likewise.
51956         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51958         [BZ #13673]
51959         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51960         with URL.
51961         * locale/programs/locfile-kw.gperf: Likewise.
51962         * locale/programs/charmap-kw.h: Regenerated.
51963         * locale/programs/locfile-kw.h: Likewise.
51965         [BZ #13673]
51966         * intl/plural.y: Replace FSF snail mail address with URL.
51967         * intl/plural.c: Regenerated.
51969 2012-03-09  Richard Henderson  <rth@twiddle.net>
51971         * include/math_private.h: Remove file.
51972         * math/math_private.h: Move file ...
51973         * sysdeps/generic/math_private.h: ... here.
51975         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51976         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51977         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51979         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51980         and <math_private.h>.
51981         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51982         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51983         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51984         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51985         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51986         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51987         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51989         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51990         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51992         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51993         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51994         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51995         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51997         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51998         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51999         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52000         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52002         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52003         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52004         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52006         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52007         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52008         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52011         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52012         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52013         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52014         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52015         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52016         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52017         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52018         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52019         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52020         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52021         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52022         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52024         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52025         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52026         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52027         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52028         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52029         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52030         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52031         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52032         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52033         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52034         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52035         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52036         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52037         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52038         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52039         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52040         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52042         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52045         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52046         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52047         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52048         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52049         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52050         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52051         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52052         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52053         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52054         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52055         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52060         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52061         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52062         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52063         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52064         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52065         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52067         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52068         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52069         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52070         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52071         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52072         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52073         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52074         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52075         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52076         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52077         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52078         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52079         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52080         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52081         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52082         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52083         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52084         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52085         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52086         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52087         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52088         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52089         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52091         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52092         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52093         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52094         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52095         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52096         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52097         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52098         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52099         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52100         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52101         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52102         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52103         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52104         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52105         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52106         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52108         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52109         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52110         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52111         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52113         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52114         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52115         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52116         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52117         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52118         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52119         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52120         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52121         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52122         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52123         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52124         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52125         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52126         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52127         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52128         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52129         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52130         * sysdeps/ieee754/k_standard.c: Likewise.
52131         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52132         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52133         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52134         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52135         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52136         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52137         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52138         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52139         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52140         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52141         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52142         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52143         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52144         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52145         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52146         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52147         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52148         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52149         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52150         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52151         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52152         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52153         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52154         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52155         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52156         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52157         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52158         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52159         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52160         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52161         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52162         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52163         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52164         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52165         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52166         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52167         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52168         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52169         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52170         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52171         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52172         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52174         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52175         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52176         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52177         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52178         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52179         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52180         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52181         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52182         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52183         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52184         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52187         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52188         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52189         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52190         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52191         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52192         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52193         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52201         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52202         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52204         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52213         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52214         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52217         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52219         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52221         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52222         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52223         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52224         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52228         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52233         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52234         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52235         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52242         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52245         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52246         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52247         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52249         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52250         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52251         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52253         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52254         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52255         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52257         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52258         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52259         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52261         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52262         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52263         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52264         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52265         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52266         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52267         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52268         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52269         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52270         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52271         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52272         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52273         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52274         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52275         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52276         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52277         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52278         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52279         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52280         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52281         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52282         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52283         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52284         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52285         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52286         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52287         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52288         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52289         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52290         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52291         * sysdeps/ieee754/s_lib_version.c: Likewise.
52292         * sysdeps/ieee754/s_matherr.c: Likewise.
52293         * sysdeps/ieee754/s_signgam.c: Likewise.
52294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52296         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52297         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52298         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52299         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52300         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52301         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52302         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52303         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52304         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52305         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52306         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52307         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52308         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52309         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52311         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52312         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52316 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52318         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52319         * sunrpc/rpc_main.c: Likewise.
52320         * sunrpc/rpc_svcout.c: Likewise.
52322 2012-03-09  David S. Miller  <davem@davemloft.net>
52324         * include/math_private.h: New file.
52326 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52328         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52329         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52330         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52331         from <bits/socket_type.h>.
52332         (enum __socket_type): Don't define here.
52333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52335         bits/socket_type.h.
52337         [BZ #13566]
52338         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52339         checking __USE_GNU.
52341         * Makerules ($(inst_includedir)/%.h): New rule.
52342         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52343         (install-others): Remove variable setting.
52344         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52346 2012-03-08  Richard Henderson  <rth@twiddle.net>
52348         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52349         from macro to inline function; merge with the
52350         !__LIBC_INTERNAL_MATH_INLINES version.
52351         (__ieee754_sqrtf): Likewise.
52353         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52354         to inline function.
52355         (__rintf, __floor, __floorf): Likewise.
52357         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52358         macro to inline function.
52359         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52361         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52362         not <math/math_private.h>.
52364 2012-03-08  David S. Miller  <davem@davemloft.net>
52366         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52367         copyright year.
52368         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52370 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52372         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52373         normalization.
52374         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52375         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52377 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52379         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52380         be defined individually, they must be defined as a block.  Define
52381         S for printing a string instead of hidint the different by using a
52382         macro for adding the 'l'.
52383         * stdio-common/tst-fphex-wide.c: Adjust.
52385 2012-03-07  Marek Polacek  <polacek@redhat.com>
52387         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52389 2012-03-08  Marek Polacek  <polacek@redhat.com>
52391         [BZ #13806]
52392         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52393         * stdio-common/tst-fphex.c: Define a few macros to make the
52394         test reusable.  Use them.
52395         * stdio-common/tst-fphex-wide.c: New file.
52397 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52399         [BZ #6911]
52400         * manual/macros.texi (gnusystems): New macro.
52401         (nongnusystems): Likewise.
52402         (gnulinuxhurdsystems): Likewise.
52403         (gnuhurdsystems): Likewise..
52404         (gnulinuxsystems): Likewise.
52405         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52406         variants of the GNU system, not "GNU system".
52407         * manual/conf.texi: Likewise.
52408         * manual/errno.texi: Likewise.  Update example of errno macro
52409         expansion.
52410         * manual/filesys.texi: Likewise.
52411         (getumask): Document as specific to GNU/Hurd.
52412         * manual/install.texi: Likewise.  Reword some references to
52413         GNU/Linux.
52414         * manual/intro.texi: Likewise.
52415         * manual/io.texi: Likewise.
52416         (File Name Portability): Detail which constraints are inapplicable
52417         to all GNU systems and which are only inapplicable to GNU/Hurd.
52418         * manual/job.texi: Likewise.
52419         * manual/llio.texi: Likewise.
52420         (O_NOCTTY): Document as present on GNU/Linux.
52421         * manual/maint.texi: Likewise.
52422         * manual/memory.texi: Likewise.
52423         * manual/pattern.texi: Likewise.
52424         * manual/pipe.texi: Likewise.
52425         * manual/process.texi: Likewise.
52426         * manual/resource.texi: Likewise.
52427         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52428         child on GNU/Hurd.
52429         * manual/setjmp.texi: Likewise.
52430         * manual/signal.texi: Likewise.
52431         * manual/startup.texi: Likewise.
52432         * manual/stdio.texi: Likewise.
52433         * manual/terminal.texi: Likewise.
52434         (ONLCR): Document as POSIX.
52435         (OXTABS): Document availability on GNU/Linux as XTABS.
52436         (ONOEOT): Document availability separately from other bits.
52437         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52438         * manual/time.texi: Likewise.
52439         * manual/users.texi: Likewise.
52440         * INSTALL: Regenerated.
52441         * sysdeps/gnu/errlist.c: Regenerated.
52443         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52444         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52445         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52446         puts.
52447         * configure: Regenerated.
52449 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52451         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52452         default includes instead of AC_HEADER_CHECK.
52453         * sysdeps/i386/configure: Regenerated.
52455         [BZ #10716]
52456         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52457         * math/s_cacoshf.c (__cacoshf): Likewise.
52458         * math/s_cacoshl.c (__cacoshl): Likewise.
52459         * math/s_casinh.c (__casinh): Set signs of result from argument.
52460         * math/s_casinhf.c (__casinhf): Likewise.
52461         * math/s_casinhl.c (__casinhl): Likewise.
52462         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52463         (casinh_test): Add more tests.
52464         * sysdeps/i386/fpu/libm-test-ulps: Update.
52465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52467 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52469         * po/zh_TW.po: Update from translation team.
52471         * login/Makefile (distribute): Remove variable.
52472         * catgets/Makefile: Likewise.
52473         * mach/Makefile: Likewise.
52474         * malloc/Makefile: Likewise.
52475         * misc/Makefile: Likewise.
52476         * iconv/Makefile: Likewise.
52477         * nscd/Makefile: Likewise.
52478         * hurd/Makefile: Likewise.
52479         * manual/Makefile: Likewise.
52480         * locale/Makefile: Likewise.
52481         * intl/Makefile: Likewise.
52482         * conform/Makefile: Likewise.
52483         * nss/Makefile: Likewise.
52484         * time/Makefile: Likewise.
52485         * soft-fp/Makefile: Likewise.
52486         * dirent/Makefile: Likewise.
52487         * gmon/Makefile: Likewise.
52488         * po/Makefile: Likewise.
52489         * rt/Makefile: Likewise.
52490         * socket/Makefile: Likewise.
52491         * math/Makefile: Likewise.
52492         * signal/Makefile: Likewise.
52493         * debug/Makefile: Likewise.
52494         * elf/Makefile: Likewise.
52495         * timezone/Makefile: Likewise.
52496         * stdlib/Makefile: Likewise.
52497         * iconvdata/Makefile: Likewise.
52498         * sunrpc/Makefile: Likewise.
52499         * io/Makefile: Likewise.
52500         * argp/Makefile: Likewise.
52501         * inet/Makefile: Likewise.
52502         * hesiod/Makefile: Likewise.
52503         * grp/Makefile: Likewise.
52504         * csu/Makefile: Likewise.
52505         * wctype/Makefile: Likewise.
52506         * crypt/Makefile: Likewise.
52507         * libio/Makefile: Likewise.
52508         * string/Makefile: Likewise.
52509         * nis/Makefile: Likewise.
52510         * resolv/Makefile: Likewise.
52511         * stdio-common/Makefile: Likewise.
52512         * wcsmbs/Makefile: Likewise.
52513         * dlfcn/Makefile: Likewise.
52514         * posix/Makefile: Likewise.
52516         [BZ #6959]
52517         * timezone/Makefile: Don't install timezone files, just the programs
52518         and scripts.
52520 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52522         * nss/databases.def: Add missing gshadow entry.
52524         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52526 2012-03-06  Marek Polacek  <polacek@redhat.com>
52528         [BZ #13726]
52529         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52530         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52531         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52532         * stdio-common/tst-long-dbl-fphex.c: New file.
52534 2012-03-06  David S. Miller  <davem@davemloft.net>
52536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52537         (set_obp_int): New function.
52538         (get_obp_int): New function.
52539         (__get_clockfreq_via_dev_openprom): Likewise.
52540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52541         Avoid unused variable warnings on 'val' and use builtin_expect.
52542         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52543         __builtin_expect.
52544         (INLINE_CLONE_SYSCALL): Likewise.
52546 2012-03-05  David S. Miller  <davem@davemloft.net>
52548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52550 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52554         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52555         only for |x| >= 40.
52556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52558 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52560         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52561         Replace gettimeofday with __vdso_gettimeofday.
52563         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52564         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52565         __vdso_clock_gettime and __vdso_getcpu.
52567         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52568         time with __vdso_time.
52570 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52572         * manual/lang.texi (size_t): Note types to which size_t may be
52573         equivalent with the GNU C Library, but do not describe when
52574         differences between them are significant.
52576 2012-03-05  Andreas Jaeger  <aj@suse.de>
52578         * sysdeps/i386/fpu/libm-test-ulps: Update.
52580 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52582         [BZ #3976]
52583         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52584         (__ieee754_pow): Save and restore rounding mode and use
52585         round-to-nearest for main computations.
52586         * math/libm-test.inc (pow_test_tonearest): New function.
52587         (pow_test_towardzero): Likewise.
52588         (pow_test_downward): Likewise.
52589         (pow_test_upward): Likewise.
52590         (main): Call the new functions.
52591         * sysdeps/i386/fpu/libm-test-ulps: Update.
52592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52594         [BZ #3976]
52595         * math/libm-test.inc (cosh_test_tonearest): New function.
52596         (cosh_test_towardzero): Likewise.
52597         (cosh_test_downward): Likewise.
52598         (cosh_test_upward): Likewise.
52599         (sinh_test_tonearest): Likewise.
52600         (sinh_test_towardzero): Likewise.
52601         (sinh_test_downward): Likewise.
52602         (sinh_test_upward): Likewise.
52603         (main): Call the new functions.
52604         * sysdeps/i386/fpu/libm-test-ulps: Update.
52605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52607 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52609         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52610         default stack guard is set in last bytes.
52611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52613 2012-03-05  Kees Cook  <keescook@chromium.org>
52615         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52617         [BZ #13656]
52618         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52619         possibly allocate from heap instead of stack.
52620         * stdio-common/bug-vfprintf-nargs.c: New file.
52621         * stdio-common/Makefile (tests): Add nargs overflow test.
52623 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52627 2012-03-03  Marek Polacek  <polacek@redhat.com>
52629         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52630         * math/math_private.h: Likewise.
52631         * stdlib/tst-strtod.c: Likewise.
52632         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52633         * sysdeps/x86_64/bits/atomic.h: Likewise.
52635 2012-03-02  David S. Miller  <davem@davemloft.net>
52637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52641         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52642         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52643         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52644         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52646 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52648         [BZ #13792]
52649         * manual/examples/README: New file, says the example source files
52650         can be used under GPL>=2.
52651         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52652         line containing just "*/".
52653         * manual/examples/add.c: Add copyright header (GPL>=2).
52654         * manual/examples/argp-ex1.c: Likewise.
52655         * manual/examples/argp-ex2.c: Likewise.
52656         * manual/examples/argp-ex3.c: Likewise.
52657         * manual/examples/argp-ex4.c: Likewise.
52658         * manual/examples/atexit.c: Likewise.
52659         * manual/examples/db.c: Likewise.
52660         * manual/examples/dir.c: Likewise.
52661         * manual/examples/dir2.c: Likewise.
52662         * manual/examples/execinfo.c: Likewise.
52663         * manual/examples/filecli.c: Likewise.
52664         * manual/examples/filesrv.c: Likewise.
52665         * manual/examples/fmtmsgexpl.c: Likewise.
52666         * manual/examples/genpass.c: Likewise.
52667         * manual/examples/inetcli.c: Likewise.
52668         * manual/examples/inetsrv.c: Likewise.
52669         * manual/examples/isockad.c: Likewise.
52670         * manual/examples/longopt.c: Likewise.
52671         * manual/examples/memopen.c: Likewise.
52672         * manual/examples/memstrm.c: Likewise.
52673         * manual/examples/mkfsock.c: Likewise.
52674         * manual/examples/mkisock.c: Likewise.
52675         * manual/examples/mygetpass.c: Likewise.
52676         * manual/examples/pipe.c: Likewise.
52677         * manual/examples/popen.c: Likewise.
52678         * manual/examples/rprintf.c: Likewise.
52679         * manual/examples/search.c: Likewise.
52680         * manual/examples/select.c: Likewise.
52681         * manual/examples/setjmp.c: Likewise.
52682         * manual/examples/sigh1.c: Likewise.
52683         * manual/examples/sigusr.c: Likewise.
52684         * manual/examples/stpcpy.c: Likewise.
52685         * manual/examples/strdupa.c: Likewise.
52686         * manual/examples/strftim.c: Likewise.
52687         * manual/examples/strncat.c: Likewise.
52688         * manual/examples/subopt.c: Likewise.
52689         * manual/examples/swapcontext.c: Likewise.
52690         * manual/examples/termios.c: Likewise.
52691         * manual/examples/testopt.c: Likewise.
52692         * manual/examples/testpass.c: Likewise.
52693         * manual/examples/timeval_subtract.c: Likewise.
52695         [BZ #13792]
52696         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52697         function to ...
52698         * manual/timeval_subtract.c.texi: ... here, new file.
52700 2012-03-02  David S. Miller  <davem@davemloft.net>
52702         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52704 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52706         [BZ #3976]
52707         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52708         (__sin): Save and restore rounding mode and use round-to-nearest
52709         for all computations.
52710         (__cos): Save and restore rounding mode and use round-to-nearest
52711         for all computations.
52712         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52713         <fenv.h>.
52714         (tan): Save and restore rounding mode and use round-to-nearest for
52715         all computations.
52716         * math/libm-test.inc (cos_test_tonearest): New function.
52717         (cos_test_towardzero): Likewise.
52718         (cos_test_downward): Likewise.
52719         (cos_test_upward): Likewise.
52720         (sin_test_tonearest): Likewise.
52721         (sin_test_towardzero): Likewise.
52722         (sin_test_downward): Likewise.
52723         (sin_test_upward): Likewise.
52724         (tan_test_tonearest): Likewise.
52725         (tan_test_towardzero): Likewise.
52726         (tan_test_downward): Likewise.
52727         (tan_test_upward): Likewise.
52728         (main): Call the new functions.
52729         * sysdeps/i386/fpu/libm-test-ulps: Update.
52730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52732         [BZ #10135]
52733         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52734         small n, then large n, before computing and testing k+n.
52735         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52736         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52737         Likewise.
52738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52739         Likewise.
52740         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52741         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52742         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52743         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52744         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52745         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52746         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52747         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52748         * math/libm-test.inc (scalbn_test): Add more tests.
52749         (scalbln_test): Likewise.
52751         * manual/filesys.texi (mode_t): Describe constraints on size and
52752         signedness, not exact equivalence to a particular type.
52753         (ino_t): Likewise.
52754         (ino64_t): Likewise.
52755         (dev_t): Likewise.
52756         (nlink_t): Likewise.
52757         (blkcnt_t): Likewise.
52758         (blkcnt64_t): Likewise.
52759         * manual/llio.texi (off_t): Likewise.
52761         [BZ #3976]
52762         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52763         (__ieee754_exp): Save and restore rounding mode and use
52764         round-to-nearest for all computations.
52765         * math/libm-test.inc (exp_test_tonearest): New function.
52766         (exp_test_towardzero): Likewise.
52767         (exp_test_downward): Likewise.
52768         (exp_test_upward): Likewise.
52769         (main): Call the new functions.
52770         * sysdeps/i386/fpu/libm-test-ulps: Update.
52771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52773 2012-03-01  Chris Demetriou  <cgd@google.com>
52775         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52776         have predictable order.
52778 2012-03-01  David S. Miller  <davem@davemloft.net>
52780         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52782         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52783         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52784         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52785         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52787         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52788         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52789         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52791         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52792         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52793         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52794         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52795         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52799         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52800         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52801         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52803         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52804         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52805         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52806         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52807         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52808         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52809         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52810         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52811         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52812         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52813         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52816         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52817         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52819         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52820         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52821         * sysdeps/sparc/elf/configure: Regenerated.
52823 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52825         * configure.in (AS, LD): Require binutils 2.20 or later.
52826         * configure: Regenerated.
52827         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52828         as required minimum version.
52829         * INSTALL: Regenerated.
52831         [BZ #2541]
52832         [BZ #4108]
52833         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52834         before squaring exponent.
52835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52836         bottom long double and 27 bits of top long double before squaring
52837         exponent.
52838         * math/libm-test.inc (erfc_test): Add more tests.
52839         * sysdeps/i386/fpu/libm-test-ulps: Update.
52840         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52843 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52845         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52846         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52847         containing bit-fields.
52848         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52849         * soft-fp/single.h (_FP_UNION_S): Likewise.
52850         * soft-fp/double.h (_FP_UNION_D): Likewise.
52852 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52854         [BZ #13786]
52855         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52856         not include ../strcmp.S.
52857         [USE_AS_STRNCASECMP_L]: Likewise.
52858         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52859         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52860         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52861         (__strncasecmp_l_ia32): Define as alias to
52862         __strncasecmp_l_nonascii.
52864         [BZ #5794]
52865         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52866         * sysdeps/i386/fpu/libm-test-ulps: Update.
52867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52869         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52872 2012-02-29  Jeff Law  <law@redhat.com>
52874         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52875         out of bounds read.
52877 2012-02-29  Marek Polacek  <polacek@redhat.com>
52879         [BZ #13706]
52880         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52881         * elf/Makefile: Add rules to run tst-unused-dep.out.
52883 2012-02-28  David S. Miller  <davem@davemloft.net>
52885         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52886         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52889         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52890         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52892 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52894         * math/libm-test.inc (llround_test): Move one test from
52895         lround_test.  Use TEST_f_L in moved test.
52896         (lround_test): Move misplaced test to llround_test.  Add testcase
52897         from bug 2561.
52899 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52901         * sysdeps/x86_64/fpu/e_expf.S: New file.
52902         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52904 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52906         [BZ #13637]
52907         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52908         of remain_len that may cause incomplete multi-byte character and
52909         false match.
52910         * posix/bug-regex33.c: New file.
52911         * posix/Makefile (tests): Add bug-regex33.
52913 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52915         * manual/macros.texi: New file.
52916         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52917         * manual/libc.texinfo: Include macros.texi.
52918         * manual/creatute.texi: Likewise.
52919         * manual/install.texi: Likewise.
52920         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52921         @glibcadj{} in references to the GNU C Library.
52922         * manual/charset.texi: Likewise.
52923         * manual/conf.texi: Likewise.
52924         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52925         when not using those macros.
52926         * manual/creature.texi: Likewise.
52927         * manual/crypt.texi: Likewise.
52928         * manual/errno.texi: Likewise.
52929         * manual/filesys.texi: Likewise.
52930         * manual/header.texi: Likewise.
52931         * manual/install.texi: Likewise.
52932         * manual/intro.texi: Likewise.
52933         * manual/io.texi: Likewise.
52934         * manual/job.texi: Likewise.
52935         * manual/lang.texi: Likewise.
52936         * manual/libc.texiinfo: Likewise.
52937         * manual/llio.texi: Likewise.
52938         * manual/locale.texi: Likewise.
52939         * manual/maint.texi: Likewise.
52940         * manual/math.texi: Likewise.
52941         * manual/memory.texi: Likewise.
52942         * manual/message.texi: Likewise.
52943         * manual/nss.texi: Likewise.
52944         * manual/pattern.texi: Likewise.
52945         * manual/process.texi: Likewise.
52946         * manual/resource.texi: Likewise.
52947         * manual/search.texi: Likewise.
52948         * manual/setjmp.texi: Likewise.
52949         * manual/signal.texi: Likewise.
52950         * manual/socket.texi: Likewise.
52951         * manual/startup.texi: Likewise.
52952         * manual/stdio.texi: Likewise.
52953         * manual/string.texi: Likewise.
52954         * manual/sysinfo.texi: Likewise.
52955         * manual/syslog.texi: Likewise.
52956         * manual/terminal.texi: Likewise.
52957         * manual/time.texi: Likewise.
52958         * manual/users.texi: Likewise.
52959         * INSTALL: Regenerated.
52960         * NOTES: Regenerated.
52961         * sysdeps/gnu/errlist.c: Regenerated.
52963 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52965         * include/dirent.h: Include <dirstream.h> before
52966         <dirent/dirent.h>.
52968 2012-02-28  David S. Miller  <davem@davemloft.net>
52970         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52971         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52972         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52973         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52975 2012-02-27  David S. Miller  <davem@davemloft.net>
52977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52979         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52980         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52983         frame pointer instead of stack pointer relative arg slot.
52984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52985         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52986         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52988 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52990         [BZ #3992]
52991         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52993 2012-02-27  David S. Miller  <davem@davemloft.net>
52995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52999         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53000         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53001         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53002         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53004 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53006         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53007         later.  Allow versions 5-9.
53008         * configure: Regenerated.
53009         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53010         required minimum version and 4.6 as recommended version.  Do not
53011         mention bugs in GCC 2.7 and 2.8.
53012         * INSTALL: Regenerated.
53014 2012-02-27  David S. Miller  <davem@davemloft.net>
53016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53020         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53021         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53022         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53023         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53026         manipulate bits before adding and subtracting TWO112[sx].
53027         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53029 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53031         [BZ #13775]
53032         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53033         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53034         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53035         being in POSIX, because they are in 1003.1-2008.
53037         * rt/tst-aio.c: Include <fcntl.h>.
53038         * rt/tst-aio7.c: Likewise.
53039         * rt/tst-aio64.c: Likewise.
53041         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53043 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53045         * manual/install.texi (--with-headers): Describe headers as
53046         interface headers, not private headers.
53047         (Specific advice for GNU/Linux systems): Describe use of headers
53048         from "make headers_install", not private headers from older
53049         kernels.
53050         * INSTALL: Regenerated.
53051         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53052         Change to 2.6.19.
53053         * sysdeps/unix/sysv/linux/configure: Regenerated.
53055         * manual/llio.texi (fclean): Remove documentation.
53057         * manual/Makefile (libc-texi-generated): New variable.  Include
53058         version.texi.
53059         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53060         $(libc-texi-generated), not duplicated list of files.
53061         (version.texi, stamp-version): New rules.
53062         (realclean): Remove $(libc-texi-generated), not individual files
53063         from that list.  Do not remove dir-add.texinfo.
53064         * manual/libc.texinfo: Comment out uses of edition numbers and
53065         references to printed manual.  Remove last-updated dates.
53066         (EDITION): Comment out.
53067         (ISBN): Likewise.
53068         (VERSION, UPDATED): Remove.
53069         (version.texi): Include.
53071 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53073         * sysdeps/posix/spawni.c: Include <signal.h>.
53074         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53075         * sysdeps/pthread/aio_fsync.c: Likewise.
53077 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53079         * conform/Makefile (tests): Run only when not cross-compiling and
53080         when fast-check is not defined.
53082         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53083         * conform/data/limits.h-data: Fixes for POSIX2008.
53084         * conform/run-conformtest.sh: Run all tests.
53085         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53086         headers.
53087         * include/bits/dlfcn.h: Likewise.
53088         * include/langinfo.h: Likewise.
53089         * include/monetary.h: Likewise.
53090         * include/sys/poll.h: Likewise.
53092         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53093         for __USE_GNU.
53094         * posix/spawn.h: Define __need_sigset_t.
53095         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53096         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53097         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53098         to get sigevent_t only.
53099         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53100         only for __USE_GNU.
53101         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53102         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53103         process_vm_writev only for __USE_GNU.
53104         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53106         * conform/Makefile: For now ignore errors from run-conformtest.
53107         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53108         POSIX to avoid namespace pollution.  Don't prepend headers.
53109         * conform/data/aio.h-data: Fixes for POSIX testing.
53110         * conform/data/fcntl.h-data: Likewise.
53111         * conform/data/glob.h-data: Likewise.
53112         * conform/data/grp.h-data: Likewise.
53113         * conform/data/pthread.h-data: Likewise.
53114         * conform/data/pwd.h-data: Likewise.
53115         * conform/data/signal.h-data: Likewise.
53116         * conform/data/spawn.h-data: Likewise.
53117         * conform/data/stdio.h-data: Likewise.
53118         * conform/data/stdlib.h-data: Likewise.
53119         * conform/data/stropts.h-data: Likewise.
53120         * conform/data/sys/mman.h-data: Likewise.
53121         * conform/data/sys/stat.h-data: Likewise.
53122         * conform/data/sys/types.h-data: Likewise.
53123         * conform/data/sys/wait.h-data: Likewise.
53124         * conform/data/time.h-data: Likewise.
53125         * conform/data/unistd.h-data: Likewise.
53126         * conform/data/utime.h-data: Likewise.
53128         * io/sys/stat.h: fchmod was always in POSIX.
53129         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53130         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53131         * rt/aio.h: Define __need_timespec before including <time.h>.
53132         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53133         struct.  Add forward declaration of pthread_attr_t and use it in
53134         sigevent.
53135         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53136         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53137         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53138         always remove CLK_TCK definition.
53140 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53142         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53144 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53146         * conform/run-conformtest.sh: New file.
53147         * conform/Makefile: Run run-conformtest for tests.
53148         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53149         support.
53151         * conform/data/uchar.h-data: New file.
53152         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53153         * conform/data/arpa/inet.h-data: Likewise.
53154         * conform/data/assert.h-data: Likewise.
53155         * conform/data/complex.h-data: Likewise.
53156         * conform/data/cpio.h-data: Likewise.
53157         * conform/data/ctype.h-data: Likewise.
53158         * conform/data/dirent.h-data: Likewise.
53159         * conform/data/dlfcn.h-data: Likewise.
53160         * conform/data/errno.h-data: Likewise.
53161         * conform/data/fcntl.h-data: Likewise.
53162         * conform/data/float.h-data: Likewise.
53163         * conform/data/fmtmsg.h-data: Likewise.
53164         * conform/data/fnmatch.h-data: Likewise.
53165         * conform/data/ftw.h-data: Likewise.
53166         * conform/data/glob.h-data: Likewise.
53167         * conform/data/grp.h-data: Likewise.
53168         * conform/data/iconv.h-data: Likewise.
53169         * conform/data/inttypes.h-data: Likewise.
53170         * conform/data/langinfo.h-data: Likewise.
53171         * conform/data/libgen.h-data: Likewise.
53172         * conform/data/limits.h-data: Likewise.
53173         * conform/data/locale.h-data: Likewise.
53174         * conform/data/math.h-data: Likewise.
53175         * conform/data/monetary.h-data: Likewise.
53176         * conform/data/mqueue.h-data: Likewise.
53177         * conform/data/ndbm.h-data: Likewise.
53178         * conform/data/net/if.h-data: Likewise.
53179         * conform/data/netdb.h-data: Likewise.
53180         * conform/data/netinet/in.h-data: Likewise.
53181         * conform/data/nl_types.h-data: Likewise.
53182         * conform/data/poll.h-data: Likewise.
53183         * conform/data/pthread.h-data: Likewise.
53184         * conform/data/pwd.h-data: Likewise.
53185         * conform/data/regex.h-data: Likewise.
53186         * conform/data/sched.h-data: Likewise.
53187         * conform/data/search.h-data: Likewise.
53188         * conform/data/semaphore.h-data: Likewise.
53189         * conform/data/setjmp.h-data: Likewise.
53190         * conform/data/signal.h-data: Likewise.
53191         * conform/data/spawn.h-data: Likewise.
53192         * conform/data/stdarg.h-data: Likewise.
53193         * conform/data/stdio.h-data: Likewise.
53194         * conform/data/stdlib.h-data: Likewise.
53195         * conform/data/string.h-data: Likewise.
53196         * conform/data/strings.h-data: Likewise.
53197         * conform/data/stropts.h-data: Likewise.
53198         * conform/data/sys/ipc.h-data: Likewise.
53199         * conform/data/sys/mman.h-data: Likewise.
53200         * conform/data/sys/msg.h-data: Likewise.
53201         * conform/data/sys/resource.h-data: Likewise.
53202         * conform/data/sys/select.h-data: Likewise.
53203         * conform/data/sys/sem.h-data: Likewise.
53204         * conform/data/sys/shm.h-data: Likewise.
53205         * conform/data/sys/socket.h-data: Likewise.
53206         * conform/data/sys/stat.h-data: Likewise.
53207         * conform/data/sys/statvfs.h-data: Likewise.
53208         * conform/data/sys/time.h-data: Likewise.
53209         * conform/data/sys/timeb.h-data: Likewise.
53210         * conform/data/sys/times.h-data: Likewise.
53211         * conform/data/sys/types.h-data: Likewise.
53212         * conform/data/sys/uio.h-data: Likewise.
53213         * conform/data/sys/un.h-data: Likewise.
53214         * conform/data/sys/utsname.h-data: Likewise.
53215         * conform/data/sys/wait.h-data: Likewise.
53216         * conform/data/syslog.h-data: Likewise.
53217         * conform/data/tar.h-data: Likewise.
53218         * conform/data/termios.h-data: Likewise.
53219         * conform/data/utime.h-data: Likewise.
53220         * conform/data/utmpx.h-data: Likewise.
53221         * conform/data/varargs.h-data: Likewise.
53222         * conform/data/wchar.h-data: Likewise.
53223         * conform/data/wctype.h-data: Likewise.
53224         * conform/data/wordexp.h-data: Likewise.
53226         * include/stropts.h: New file.
53227         * include/uchar.h: New file.
53228         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53229         * include/assert.h: Likewise.
53230         * include/ctype.h: Likewise.
53231         * include/dirent.h: Likewise.
53232         * include/dlfcn.h: Likewise.
53233         * include/fcntl.h: Likewise.
53234         * include/fnmatch.h: Likewise.
53235         * include/glob.h: Likewise.
53236         * include/grp.h: Likewise.
53237         * include/libio.h: Likewise.
53238         * include/locale.h: Likewise.
53239         * include/math.h: Likewise.
53240         * include/net/if.h: Likewise.
53241         * include/netdb.h: Likewise.
53242         * include/netinet/in.h: Likewise.
53243         * include/pthread.h: Likewise.
53244         * include/pwd.h: Likewise.
53245         * include/regex.h: Likewise.
53246         * include/sched.h: Likewise.
53247         * include/search.h: Likewise.
53248         * include/setjmp.h: Likewise.
53249         * include/signal.h: Likewise.
53250         * include/stdio.h: Likewise.
53251         * include/stdlib.h: Likewise.
53252         * include/string.h: Likewise.
53253         * include/sys/cdefs.h: Likewise.
53254         * include/sys/mman.h: Likewise.
53255         * include/sys/msg.h: Likewise.
53256         * include/sys/resource.h: Likewise.
53257         * include/sys/select.h: Likewise.
53258         * include/sys/socket.h: Likewise.
53259         * include/sys/stat.h: Likewise.
53260         * include/sys/statvfs.h: Likewise.
53261         * include/sys/time.h: Likewise.
53262         * include/sys/times.h: Likewise.
53263         * include/sys/uio.h: Likewise.
53264         * include/sys/utsname.h: Likewise.
53265         * include/sys/wait.h: Likewise.
53266         * include/termios.h: Likewise.
53267         * include/time.h: Likewise.
53268         * include/ulimit.h: Likewise.
53269         * include/unistd.h: Likewise.
53270         * include/utime.h: Likewise.
53271         * include/wchar.h: Likewise.
53272         * include/wctype.h: Likewise.
53273         * include/wordexp.h: Likewise.
53275         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53277         * time/time.h: TIME_UTC must be a macro.
53278         Make timespec_get available for ISO C11 only as well.
53280 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53282         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53283         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53285 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53287         * configure.in: Use -o not -a in test for unsupported multi-arch.
53289 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53291         * manual/texinfo.tex: Update to version 2012-01-19.16.
53293 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53295         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53297 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53299         [BZ #13738]
53300         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53301         * manual/fdl-1.3.texi: New file.
53302         * manual/fdl-1.1.texi: File removed.
53304         [BZ #13738]
53305         * manual/libc.texinfo (FDL_VERSION): New @set.
53306         Use it for mention of FDL in cover text.
53307         (Documentation License): Use it in @include file name.
53309 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53310             Roland McGrath  <roland@hack.frob.com>
53312         [BZ #5461]
53313         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53314         (not LONG_LONG_MAX and LONG_LONG_MIN.
53315         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53316         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53317         name.
53318         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53320 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53322         [BZ #2547]
53323         [BZ #11365]
53324         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53325         manipulate bits before adding and subtracting TWO23[sx].
53326         * math/libm-test.inc (nearbyint_test): Add more tests.
53328 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53330         [BZ #2548]
53331         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53332         bits before adding and subtracting TWO23[sx].
53333         * math/libm-test.inc (rint_test): Add more tests.
53334         (rint_test_tonearest): Likewise.
53335         (rint_test_towardzero): Likewise.
53336         (rint_test_downward): Likewise.
53337         (rint_test_upward: Likewise.
53339 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53341         [BZ #10110]
53342         * include/stdc-predef.h: New file.  Extracted from features.h.
53343         * include/features.h: Include stdc-predef.h.
53344         * Makefile (headers): Add stdc-predef.h.
53345         * CONFORMANCE (Compiler limitations): Update.
53347 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53349         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53351 2012-02-21  David S. Miller  <davem@davemloft.net>
53353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53356 2012-02-20  David S. Miller  <davem@davemloft.net>
53358         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53359         using a normal save/restore sequence, rather than allocating a
53360         dummy stack frame just to store a frame pointer and restore.
53361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53363 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53365         * manual/install.texi: Fix stray word in line-wrapped comment.
53367 2012-02-20  David S. Miller  <davem@davemloft.net>
53369         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53370         both binutils and gcc support GOTDATA.
53372         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53373         "rd %pc" in the PIC register setup sequences.
53375         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53376         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53377         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53378         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53379         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53381         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53382         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53384         (SYSCALL_ERROR_HANDLER): Likewise.
53385         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53386         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53388         (SYSCALL_ERROR_HANDLER): Likewise.
53390         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53391         (HAVE_GCC_GOTDATA): New.
53392         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53393         relocation support in both binutils and gcc.
53394         * sysdeps/sparc/elf/configure: Regenerate.
53396         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53397         * sysdeps/sparc/sparc32/elf/configure: Delete.
53398         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53399         * sysdeps/sparc/sparc64/elf/configure: Delete.
53400         * sysdeps/sparc/elf/configure.in: New file.
53401         * sysdeps/sparc/elf/configure: Generate.
53403         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53404         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53405         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53406         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53407         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53411         * manual/install.texi: Do not mention specific glibc version
53412         numbers.
53413         * manual/libc.texinfo (VERSION, UPDATED): Update.
53414         (@copying): Use @copyright{} and range of years.
53416 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53418         [BZ #13695]
53419         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53420         [crti.S not in sysdirs] (generated): Do not append.
53421         [crti.S not in sysdirs] (omit-deps): Likewise.
53422         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53423         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53424         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53425         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53426         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53427         Likewise.
53428         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53429         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53430         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53431         * csu/defs.awk: Remove file.
53432         * sysdeps/generic/initfini.c: Likewise.
53433         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53434         variable.
53435         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53436         Likewise.
53438 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53440         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53441         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53442         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53443         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53445         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53446         <bits/epoll.h>.
53447         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53448         (__EPOLL_PACKED): Define to empty if not defined by
53449         <bits/epoll.h>.
53450         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53452         bits/epoll.h.
53454 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53456         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53457         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53458         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53459         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53460         <bits/timerfd.h>.
53461         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53463         bits/timerfd.h.
53465 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53467         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53468         in C locale.
53469         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53470         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53471         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53474 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53476         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53477         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53479 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53481         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53482         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53483         defined.
53484         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53485         Likewise.
53486         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53487         entry for 2.16.
53489 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53491         * math/w_acos.c: Use non-signaling floating-point comparisons.
53492         * math/w_acosf.c: Likewise.
53493         * math/w_acosh.c: Likewise.
53494         * math/w_acoshf.c: Likewise.
53495         * math/w_acoshl.c: Likewise.
53496         * math/w_acosl.c: Likewise.
53497         * math/w_asin.c: Likewise.
53498         * math/w_asinf.c: Likewise.
53499         * math/w_asinl.c: Likewise.
53500         * math/w_atanh.c: Likewise.
53501         * math/w_atanhf.c: Likewise.
53502         * math/w_atanhl.c: Likewise.
53503         * math/w_exp2.c: Likewise.
53504         * math/w_exp2f.c: Likewise.
53505         * math/w_exp2l.c: Likewise.
53506         * math/w_j0.c: Likewise.
53507         * math/w_j0f.c: Likewise.
53508         * math/w_j0l.c: Likewise.
53509         * math/w_j1.c: Likewise.
53510         * math/w_j1f.c: Likewise.
53511         * math/w_j1l.c: Likewise.
53512         * math/w_jn.c: Likewise.
53513         * math/w_jnf.c: Likewise.
53514         * math/w_log.c: Likewise.
53515         * math/w_log10.c: Likewise.
53516         * math/w_log10f.c: Likewise.
53517         * math/w_log10l.c: Likewise.
53518         * math/w_log2.c: Likewise.
53519         * math/w_log2f.c: Likewise.
53520         * math/w_log2l.c: Likewise.
53521         * math/w_logf.c: Likewise.
53522         * math/w_logl.c: Likewise.
53523         * math/w_sqrt.c: Likewise.
53524         * math/w_sqrtf.c: Likewise.
53525         * math/w_sqrtl.c: Likewise.
53526         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53527         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53528         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53529         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53530         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53532 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53534         [BZ #9739]
53535         * manual/string.texi (strnlen): Use correct parameter name in
53536         equivalent expression.
53538 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53540         [BZ #11174]
53541         * manual/users.texi (seteuid): Consistently use neweuid for
53542         argument name.
53544 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53546         [BZ #13704]
53547         * manual/nss.texi (Services in the NSS configuration): Correct
53548         list of services in example configuration file.
53550 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53552         [BZ #11322]
53553         * manual/arith.texi: Remove statements about negative zero
53554         behaving identically to zero.
53556 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53558         [BZ #5993]
53559         * manual/install.texi: Do not document upgrading from libc5.
53561 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53563         [BZ #4596]
53564         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53566 2012-02-18  David S. Miller  <davem@davemloft.net>
53568         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53569         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53570         %o7 across the call.
53571         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53572         instead.
53573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53574         SETUP_PIC_REG_LEAF.
53575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53576         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53577         * sysdeps/sparc/crtn.S: Likewise.
53579 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53581         * aout/Makefile: Remove.
53583 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53585         [BZ #13058]
53586         * manual/examples/argp-ex1.c (main): Format definition in GNU
53587         style.
53588         * manual/examples/argp-ex2.c (main): Likewise.
53589         * manual/examples/argp-ex3.c (main): Likewise.
53590         * manual/examples/argp-ex4.c (main): Likewise.
53591         * manual/examples/longopt.c (main): Use new-style prototype
53592         definition.
53593         * manual/examples/strncat.c (main): Specify return type and use
53594         (void) for arguments.
53595         * manual/examples/subopt.c (main): Use char **argv argument.
53597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53599         [BZ #5077]
53600         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53601         rounding modes.
53603 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53605         [BZ #6907]
53606         * manual/string.texi (strchr): Change when strchrnul is
53607         recommended.
53609 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53611         [BZ #174]
53612         * manual/locale.texi (setlocale): Document LOCPATH.
53614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53616         [BZ #10210]
53617         * manual/process.texi (execle): Move @dots{} before last argument.
53619 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53621         [BZ #12047]
53622         * manual/charset.texi (Generic Charset Conversion): Fix typo
53623         (LC_TYPE -> LC_CTYPE).
53625 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53627         [BZ #5805]
53628         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53629         (scalbnf): Likewise.
53630         (scalbnl): Likewise.
53631         (scalbln): Likewise.
53632         (scalblnf): Likewise.
53633         (scalblnl): Likewise.
53634         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53635         (vwarnx): Likewise.
53636         (verr): Likewise.
53637         (verrx): Likewise.
53638         * manual/filesys.texi (telldir): Use braces around return type.
53639         * manual/llio.texi (mmap): Add space after comma.
53640         (mmap64): Likewise.
53641         * manual/math.texi (jn): Use @var{} on parameter names.
53642         (jnf): Likewise.
53643         (jnl): Likewise.
53644         (yn): Likewise.
53645         (ynf): Likewise.
53646         (ynl): Likewise.
53647         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53648         line.
53649         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53650         "...".
53651         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53652         (sched_get_priority_max): Likewise.
53653         * manual/signal.texi (sigvec): Add space after comma.
53654         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53655         names.
53656         (if_indextoname): Likewise.
53657         (if_freenameindex): Likewise.
53658         (sendto): Use ',' instead of '.' in prototype.
53659         * manual/startup.texi (syscall): Use @dots{} instead of literal
53660         "...".
53661         * manual/stdio.texi (__fpending): Separate initial words of
53662         paragraph from @deftypefun line.
53663         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53664         "...".
53665         (vsyslog): Use @var{} on parameter names.
53666         * manual/terminal.texi (stty): Use @var{} on parameter names.
53667         * manual/users.texi (getutmp): Use @var{} on parameter names.
53668         (getutmpx): Likewise.
53670 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53672         [BZ #6884]
53673         * manual/stdio.texi (fopen): Fix typos in description of
53674         ",ccs=STRING".
53676 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53678         [BZ #4026]
53679         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53680         get clock_id definition.
53682 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53684         [BZ #4822]
53685         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53686         (madvise): Cast every argument to void on its own.
53688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53690         [BZ #9902]
53691         * manual/startup.texi (Exit Status): Fix typo.
53693 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53695         [BZ #10140]
53696         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53697         * manual/examples/argp-ex2.c: Likewise.
53698         * manual/examples/argp-ex3.c: Likewise.
53700 2012-02-16  Richard Henderson  <rth@redhat.com>
53702         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53703         * sysdeps/s390/s390-32/initfini.c: Remove.
53704         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53705         * sysdeps/s390/s390-64/initfini.c: Remove.
53707 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53709         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53710         compiler output for sysdeps/generic/initfini.c.
53711         * sysdeps/sh/elf/initfini.c: Remove file.
53713 2012-02-16  David S. Miller  <davem@davemloft.net>
53715         [BZ #11494]
53716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53718         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53719         * sysdeps/sparc/crti.S: New file.
53720         * sysdeps/sparc/crtn.S: New file.
53721         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53722         * sysdeps/sparc/sparc64/Makefile: Likewise.
53724 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53726         [BZ #3335]
53727         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53729 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53731         [BZ #4822]
53732         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53734         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53735         (write, read, close): Likewise.
53736         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53738 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53740         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53741         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53742         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53743         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53744         <bits/signalfd.h>.
53745         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53747         bits/signalfd.h.
53749 2012-02-14  Marek Polacek  <polacek@redhat.com>
53751         * sysdeps/x86_64/crti.S: New file.
53752         * sysdeps/x86_64/crtn.S: New file.
53753         * sysdeps/x86_64/elf/initfini.c: Remove file.
53755 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53757         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53758         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53759         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53760         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53761         <bits/inotify.h>.
53762         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53764         bits/inotify.h.
53766 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53768         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53769         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53770         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53771         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53772         <bits/eventfd.h>.
53773         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53775         bits/eventfd.h.
53777 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53779         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53780         __feraiseexcept instead of feraiseexcept.
53782         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53783         nanosleep invocations.
53784         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53785         strings, and add error checking for a nanosleep invocations.
53787 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53789         Replace FSF snail mail address with URLs, as per GNU coding standards.
53790         Most of the snail mail addresses were wrong anyway, and omitting
53791         them makes the source code easier to maintain.  Almost all of the
53792         changes are to license notices and to locale LC_IDENTIFICATION
53793         addresses, except for this one:
53794         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53795         not its snail mail address.
53797 2012-02-09  Richard Henderson  <rth@twiddle.net>
53799         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53800         of kernel-features.h.
53802         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53804 2012-02-08  Marek Polacek  <polacek@redhat.com>
53806         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53807         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53808         * sysdeps/gnu/_G_config.h: Likewise.
53809         * sysdeps/generic/_G_config.h: Likewise.
53811 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53813         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53814         tests.
53815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53817         * sysdeps/powerpc/powerpc32/crti.S: New file.
53818         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53819         * sysdeps/powerpc/powerpc64/crti.S: New file.
53820         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53822         * Makeconfig (have-initfini): Don't set.
53823         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53824         * configure.in (nopic_initfini): Don't substitute.
53825         * config.h.in (HAVE_INITFINI): Don't #undef.
53826         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53827         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53829 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53831         Support crti.S and crtn.S provided directly by architectures.
53832         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53833         [crti.S in sysdirs] (omit-deps): Likewise.
53834         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53835         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53836         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53837         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53838         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53839         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53840         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53841         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53842         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53843         compiler output for sysdeps/generic/initfini.c.
53844         * sysdeps/i386/elf/Makefile: Remove file.
53845         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53847 2012-02-07  Marek Polacek  <polacek@redhat.com>
53849         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53850         * sysdeps/gnu/_G_config.h: Likewise.
53851         * sysdeps/mach/hurd/_G_config.h: Likewise.
53853 2012-02-07  Marek Polacek  <polacek@redhat.com>
53855         * math/Makefile (tests): Add tst-CMPLX2.
53856         * math/tst-CMPLX2.c: New file.
53858 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53860         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53862         * math/libm-test.inc (jn_test): Add missing L suffix.
53864 2012-02-06  Marek Polacek  <polacek@redhat.com>
53866         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53867         * sysdeps/i386/fpu/e_powf.S: Likewise.
53868         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53869         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53870         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53871         * sysdeps/i386/fpu/e_pow.S: Likewise.
53872         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53873         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53874         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53875         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53876         * sysdeps/i386/fpu/e_log2.S: Likewise.
53877         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53878         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53879         * sysdeps/i386/fpu/e_powl.S: Likewise.
53880         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53881         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53882         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53883         * sysdeps/i386/fpu/e_logl.S: Likewise.
53884         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53885         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53886         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53887         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53888         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53889         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53890         * sysdeps/i386/fpu/e_log.S: Likewise.
53891         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53892         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53893         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53894         * sysdeps/i386/fpu/e_logf.S: Likewise.
53895         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53896         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53897         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53898         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53899         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53900         * sysdeps/i386/fpu/e_log10.S: Likewise.
53901         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53902         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53903         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53904         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53905         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53906         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53907         * sysdeps/i386/asm-syntax.h: Likewise.
53908         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53909         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53910         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53911         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53912         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53913         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53914         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53915         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53916         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53917         * sysdeps/powerpc/sysdep.h: Likewise.
53918         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53919         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53921 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53923         [BZ #411]
53924         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53926 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53928         * sysdeps/i386/sysdep.h: Include <features.h>.
53929         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53930         version.
53932 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53934         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53935         Define.
53936         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53937         LOAD_PIC_REG_STR.
53939 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53941         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53942         (SETUP_PIC_REG): Use GET_PC_THUNK.
53943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53944         macro.
53946 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53948         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53949         for non-PIC compilation.
53950         (SETUP_PIC_REG): Add .p2align directive.
53951         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53952         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53953         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53954         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53955         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53957         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53965         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53966         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53967         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53968         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53969         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53970         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53971         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53973         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53974         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53977         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53979         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53980         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53981         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53984         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53985         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53986         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53987         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53988         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53989         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53990         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53991         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53993 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53995         * math/tst-CMPLX.c: Include <stdio.h>.
53997 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53999         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54000         float.
54001         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54002         * sysdeps/sparc/bits/mathdef.h: Likewise.
54004 2012-01-31  Marek Polacek  <polacek@redhat.com>
54006         * libio/libio.h: Don't define _PARAMS.
54007         * locale/programs/config.h: Don't define PARAMS.
54008         * stdlib/strtol_l.c: Likewise.
54009         (__strtol_l): Remove PARAMS from the prototype.
54011 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54013         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54014         names.  Just use the correct names.  Remove unnecessary wrapper
54015         functions.
54016         * malloc/arena.c: Likewise.
54017         * malloc/hooks.c: Likewise.
54019         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54020         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54021         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54023 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54025         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54026         into tail calls.
54027         (update_get_addr): New function.
54028         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54029         GET_ADDR_MODULE parameter.
54031 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54033         * crypt/cert.c: Remove __STDC__ conditionals.
54034         * crypt/crypt-entry.c: Likewise.
54035         * crypt/crypt_util.c: Likewise.
54036         * libio/filedoalloc.c: Likewise.
54037         * libio/fileops.c: Likewise.
54038         * libio/genops.c: Likewise.
54039         * libio/iofclose.c: Likewise.
54040         * libio/iofdopen.c: Likewise.
54041         * libio/iofopen.c: Likewise.
54042         * libio/iofopen64.c: Likewise.
54043         * libio/iogetdelim.c: Likewise.
54044         * libio/iopopen.c: Likewise.
54045         * libio/obprintf.c: Likewise.
54046         * libio/oldfileops.c: Likewise.
54047         * libio/oldiofclose.c: Likewise.
54048         * libio/oldiofdopen.c: Likewise.
54049         * libio/oldiofopen.c: Likewise.
54050         * libio/oldiopopen.c: Likewise.
54051         * libio/wfiledoalloc.c: Likewise.
54052         * libio/wgenops.c: Likewise.
54053         * locale/programs/xmalloc.c: Likewise.
54054         * misc/syslog.c: Likewise.
54055         * stdio-common/xbug.c: Likewise.
54056         * string/memchr.c: Likewise.
54057         * string/memcmp.c: Likewise.
54058         * string/memrchr.c: Likewise.
54059         * string/rawmemchr.c: Likewise.
54060         * sysdeps/posix/getcwd.c: Likewise.
54061         * time/strftime_l.c: Likewise.
54063 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54065         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54066         * config.make.in (config-cflags-sse2avx): Define.
54067         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54068         Fix typo.
54070 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54072         * scripts/config.guess: Update from upstream config git repository.
54073         * scripts/config.sub: Likewise.
54075 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54077         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54078         (EM_NUM): Update.
54079         (R_TILEPRO_*, R_TILEGX_*): New macros.
54081         * scripts/firstversions.awk: Fix bug in version range handling.
54083         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54085         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54087         * include/sys/epoll.h: New file.
54088         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54089         libc_hidden_def.
54091 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54093         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54094         Avoid unnecessary __WORDSIZE == 64 test.
54095         (fmaxf): Use VEX format if possible.
54096         (fmax): Likewise.
54097         (fminf): Likewise.
54098         (fmin): Likewise.
54100         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54101         * math/math_private.h: Remove libc_fegetround* and
54102         libc_fesetround*.
54103         * sysdeps/i386/configure.in: Check for -msse2avx.
54104         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54105         also if SSE2AVX is defined.
54106         Remove libc_fegetround* and libc_fesetround*.
54107         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54108         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54109         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54110         of HAS_YMM_USABLE.
54111         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54112         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54113         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54114         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54115         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54117         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54119 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54122         size is not set.
54123         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54125 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54127         [BZ #13618]
54128         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54129         relocation.
54130         * Makeconfig (libm): Define.
54131         * elf/Makefile: Add rules to build and run tst-relsort1.
54132         * elf/tst-relsort1.c: New file.
54133         * elf/tst-relsort1mod1.c: New file.
54134         * elf/tst-relsort1mod2.c: New file.
54136 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54138         * math/s_ldexp.c: Remove __STDC__ conditionals.
54139         * math/s_ldexpf.c: Likewise.
54140         * math/s_ldexpl.c: Likewise.
54141         * math/s_nextafter.c: Likewise.
54142         * math/s_nexttowardf.c: Likewise.
54143         * math/s_significand.c: Likewise.
54144         * math/s_significandf.c: Likewise.
54145         * math/s_significandl.c: Likewise.
54146         * math/w_jnl.c: Likewise.
54147         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54148         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54149         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54150         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54151         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54166         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54167         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54168         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54169         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54170         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54171         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54172         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54173         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54174         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54175         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54176         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54177         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54178         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54181         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54182         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54183         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54184         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54185         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54186         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54187         * sysdeps/ieee754/k_standard.c: Likewise.
54188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54189         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54190         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54191         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54192         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54193         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54194         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54195         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54196         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54197         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54198         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54199         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54200         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54201         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54202         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54203         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54204         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54205         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54206         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54207         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54211         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54212         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54213         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54217         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54218         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54219         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54220         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54221         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54223         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54224         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54226         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54227         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54228         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54229         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54230         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54236         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54239         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54240         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54241         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54242         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54243         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54244         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54246         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54247         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54248         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54249         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54250         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54252         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54253         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54254         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54255         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54256         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54257         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54258         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54259         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54260         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54261         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54262         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54263         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54264         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54265         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54266         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54267         * sysdeps/ieee754/s_matherr.c: Likewise.
54268         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54269         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54273 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54275         * crypt/md5.h: Remove __STDC__ conditionals.
54276         * libio/libioP.h: Likewise.
54277         * locale/programs/config.h: Likewise.
54278         * sysdeps/generic/sysdep.h: Likewise.
54279         * sysdeps/i386/asm-syntax.h: Likewise.
54280         * sysdeps/s390/asm-syntax.h: Likewise.
54281         * sysdeps/unix/sysdep.h: Likewise.
54282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54285 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54287         * libio/libio.h: Remove __STDC__ conditionals.
54288         * malloc/obstack.h: Likewise.
54289         * math/complex.h: Likewise.
54290         * math/math.h: Likewise.
54291         * sysdeps/generic/_G_config.h: Likewise.
54292         * sysdeps/gnu/_G_config.h: Likewise.
54293         * sysdeps/mach/hurd/_G_config.h: Likewise.
54294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54295         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54296         * sysdeps/sparc/bits/mathdef.h: Likewise.
54298 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54300         [BZ #13583]
54301         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54302         Clean up HAS_* macros.
54303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54304         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54305         possible.
54306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54307         HAS_AVX.
54308         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54309         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54311         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54312         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54314 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54316         * elf/tst-unique3.cc (gets): Remove declaration.
54317         * elf/tst-unique3lib.cc (gets): Likewise.
54318         * elf/tst-unique3lib2.cc (gets): Likewise.
54319         * elf/tst-unique4.cc (gets): Likewise.
54321 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54323         * include/stdio.h: Add C++ protection.  Add gets declarations and
54324         definitions.
54325         * debug/tst-chk1.c: Don't declare gets here.
54326         * stdio-common/tst-gets.c: Likewise.
54328 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54330         * posix/glob: Remove directory.
54332 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54334         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54336 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54338         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54339         of the non-standard EPFNOSUPPORT.
54341 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54343         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54344         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54345         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54347 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54349         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54351 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54353         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54354         transient errors.
54355         * nscd/grpcache.c (cache_addgr): Likewise.
54356         * nscd/hstcache.c (cache_addhst): Likewise.
54357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54358         * nscd/pwdcache.c (cache_addpw): Likewise.
54359         * nscd/servicescache.c (cache_addserv): Likewise.
54361 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54363         * malloc/malloc.c: Various cleanups.
54364         * malloc/hooks.c: Likewise.
54366         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54367         * stdlib/bug-fmtmsg1.c: New file.
54369         * stdlib/fmtmsg.c (init): Add missing unlock.
54370         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54372 2012-01-12  Marek Polacek  <polacek@redhat.com>
54374         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54375         and _GNU_SOURCE.
54377 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54379         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54380         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54381         macro to ensure uniqueness of label name.
54382         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54383         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54385 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54387         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54389         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54390         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54391         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54392         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54394 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54396         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54398         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54399         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54400         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54402         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54404         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54405         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54409         * math/bits/math-finite.h: Add ldexp support.
54411 2012-01-10  Marek Polacek  <polacek@redhat.com>
54413         * locale/programs/localedef.h (show_archive_content): Add noreturn
54414         attribute.
54416 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54418         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54420 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54422         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54424         * io/Makefile (headers): Add bits/poll2.h.
54426 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54429         typo #include statement.
54431 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54433         * include/sys/cdefs.h: Define __attribute_alloc_size.
54434         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54435         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54436         * elf/pldd.c: Likewise.
54437         * iconv/iconv_charmap.c: Likewise.
54438         * iconv/iconvconfig.c: Likewise.
54439         * iconv/strtab.c: Likewise.
54440         * locale/programs/locale.c: Likewise.
54441         * locale/programs/localedef.h: Likewise.
54442         * locale/programs/simple-hash.c: Likewise.
54443         * nscd/nscd.h: Likewise.
54444         * nss/makedb.c: Likewise.
54445         * sysdeps/generic/ldconfig.h: Likewise.
54446         * locale/programs/localedef.c: Remove xmalloc prototype.
54447         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54449 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54451         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54452         appropriate.
54454 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54456         * math/Makefile (tests): Add tst-CMPLX.
54457         * math/tst-CMPLX.c: New file.
54459         * math/complex.h (CMPLXL): Fix typo.
54461         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54462         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54463         GLIBC_2.16.
54464         * debug/tst-chk1.c: Add poll and ppoll tests.
54465         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54466         * include/sys/poll.h: Add hidden proto for ppoll.
54467         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54468         * sysdeps/mach/hurd/ppoll.c: Likewise.
54469         * io/ppoll.c: Likewise.
54470         * debug/poll_chk.c: New file.
54471         * debug/ppoll_chk.c: New file.
54472         * include/bits/poll2.h: New file.
54473         * io/bits/poll2.h: New file.
54475         [BZ #1350]
54476         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54478         * configure.in: static is always set to yes.  Remove.
54479         * config.make.in: Don't set build-static.
54480         * Makeconfig: Remove use of build-static.
54481         * dlfcn/Makefile: Likewise.
54482         * elf/Makefile: Likewise.
54483         * math/Makefile: Likewise.
54484         * misc/Makefile: Likewise.
54485         * nptl/Makefile: Likewise.
54486         * sysdeps/mach/hurd/Makefile: Likewise.
54488         * configure.in: PWD_P is not used anymore.
54489         * config.make.in: Remove PWD_P entry.
54491         * configure.in: Remove last remnants of RANLIB.
54492         No need to check for signed size_t anymore.
54493         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54494         and IA-64.
54495         Remove __builtin_expect test because we require at least gcc 3.4.
54496         * aclocal.m4: Likewise.
54498         * wcsmbs/mbrtoc16.c: Implement using towc function.
54499         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54500         * wcsmbs/wcsmbsload.c: Likewise.
54501         * iconv/gconv_simple.c: Likewise.
54502         * iconv/gconv_int.h: Likewise.
54503         * iconv/gconv_builtin.h: Likewise.
54504         * iconv/iconv_prog.c: Remove CHAR16 handling.
54506         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54508         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54510         * configure.in: Remove --with-elf and --enable-bounded options.
54511         Dont set base_machine for ia64.  More non-ELF conditions removed.
54512         Remove testing and setting of leading underscore information.
54513         * config.make.in (build-bounded): Set to no.
54514         * config.h.in: Remove NO_UNDERSCORES entry.
54515         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54516         them.
54517         * csu/start.c: Remove !NO_UNDERSCORE code.
54518         * locale/localeinfo.h: Likewise.
54519         * sysdeps/generic/machine-gmon.h: Likewise.
54520         * sysdeps/generic/sysdep.h: Likewise.
54521         * sysdeps/i386/sysdep.h: Likewise.
54522         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54523         * sysdeps/mach/sysdep.h: Likewise.
54524         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54525         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54526         * sysdeps/sh/sysdep.h: Likewise.
54527         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54528         * sysdeps/unix/i386/sysdep.S: Likewise.
54529         * sysdeps/unix/sparc/start.c: Likewise.
54530         * sysdeps/unix/sparc/sysdep.S: Likewise.
54531         * sysdeps/unix/sparc/sysdep.h: Likewise.
54532         * sysdeps/unix/start.c: Likewise.
54533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54534         * sysdeps/x86_64/sysdep.h: Likewise.
54536 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54538         [BZ #13553]
54539         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54540         for non-gcc.
54541         * argp/argp-fmtstream.h: Use const instead __const.
54542         * argp/argp.h: Likewise.
54543         * assert/assert.h: Likewise.
54544         * bits/fenv.h: Likewise.
54545         * bits/sched.h: Likewise.
54546         * bits/sigset.h: Likewise.
54547         * bits/sigthread.h: Likewise.
54548         * catgets/nl_types.h: Likewise.
54549         * conform/data/pthread.h-data: Likewise.
54550         * crypt/crypt-private.h: Likewise.
54551         * crypt/crypt.h: Likewise.
54552         * crypt/crypt_util.c: Likewise.
54553         * ctype/ctype.h: Likewise.
54554         * debug/execinfo.h: Likewise.
54555         * debug/mbsnrtowcs_chk.c: Likewise.
54556         * debug/mbsrtowcs_chk.c: Likewise.
54557         * debug/wcsnrtombs_chk.c: Likewise.
54558         * debug/wcsrtombs_chk.c: Likewise.
54559         * debug/wcstombs_chk.c: Likewise.
54560         * dirent/dirent.h: Likewise.
54561         * dlfcn/dlfcn.h: Likewise.
54562         * elf/neededtest4.c: Likewise.
54563         * grp/grp.h: Likewise.
54564         * gshadow/gshadow.h: Likewise.
54565         * iconv/gconv.h: Likewise.
54566         * iconv/gconv_int.h: Likewise.
54567         * iconv/gconv_simple.c: Likewise.
54568         * iconv/iconv.h: Likewise.
54569         * iconv/loop.c: Likewise.
54570         * iconv/skeleton.c: Likewise.
54571         * include/aio.h: Likewise.
54572         * include/aliases.h: Likewise.
54573         * include/argz.h: Likewise.
54574         * include/arpa/inet.h: Likewise.
54575         * include/assert.h: Likewise.
54576         * include/dirent.h: Likewise.
54577         * include/dlfcn.h: Likewise.
54578         * include/execinfo.h: Likewise.
54579         * include/fcntl.h: Likewise.
54580         * include/fenv.h: Likewise.
54581         * include/glob.h: Likewise.
54582         * include/grp.h: Likewise.
54583         * include/libintl.h: Likewise.
54584         * include/mntent.h: Likewise.
54585         * include/netdb.h: Likewise.
54586         * include/pwd.h: Likewise.
54587         * include/rpc/netdb.h: Likewise.
54588         * include/sched.h: Likewise.
54589         * include/search.h: Likewise.
54590         * include/shadow.h: Likewise.
54591         * include/signal.h: Likewise.
54592         * include/stdio.h: Likewise.
54593         * include/stdlib.h: Likewise.
54594         * include/string.h: Likewise.
54595         * include/sys/socket.h: Likewise.
54596         * include/sys/stat.h: Likewise.
54597         * include/sys/statfs.h: Likewise.
54598         * include/sys/statvfs.h: Likewise.
54599         * include/sys/syslog.h: Likewise.
54600         * include/sys/time.h: Likewise.
54601         * include/sys/uio.h: Likewise.
54602         * include/time.h: Likewise.
54603         * include/unistd.h: Likewise.
54604         * include/utmp.h: Likewise.
54605         * include/wchar.h: Likewise.
54606         * include/wctype.h: Likewise.
54607         * inet/aliases.h: Likewise.
54608         * inet/arpa/inet.h: Likewise.
54609         * inet/netinet/ether.h: Likewise.
54610         * inet/netinet/in.h: Likewise.
54611         * intl/libintl.h: Likewise.
54612         * io/bits/fcntl2.h: Likewise.
54613         * io/fcntl.h: Likewise.
54614         * io/ftw.h: Likewise.
54615         * io/sys/poll.h: Likewise.
54616         * io/sys/stat.h: Likewise.
54617         * io/sys/statfs.h: Likewise.
54618         * io/sys/statvfs.h: Likewise.
54619         * io/utime.h: Likewise.
54620         * libio/bits/stdio.h: Likewise.
54621         * libio/bits/stdio2.h: Likewise.
54622         * libio/libio.h: Likewise.
54623         * libio/libioP.h: Likewise.
54624         * libio/stdio.h: Likewise.
54625         * locale/lc-ctype.c: Likewise.
54626         * locale/locale.h: Likewise.
54627         * login/utmp.h: Likewise.
54628         * malloc/arena.c: Likewise.
54629         * malloc/malloc.c: Likewise.
54630         * malloc/malloc.h: Likewise.
54631         * malloc/mcheck.c: Likewise.
54632         * malloc/mtrace.c: Likewise.
54633         * math/bits/mathcalls.h: Likewise.
54634         * math/fenv.h: Likewise.
54635         * math/math_private.h: Likewise.
54636         * misc/bits/error.h: Likewise.
54637         * misc/bits/syslog.h: Likewise.
54638         * misc/err.h: Likewise.
54639         * misc/error.h: Likewise.
54640         * misc/fstab.h: Likewise.
54641         * misc/mntent.h: Likewise.
54642         * misc/regexp.h: Likewise.
54643         * misc/search.h: Likewise.
54644         * misc/sgtty.h: Likewise.
54645         * misc/sys/mman.h: Likewise.
54646         * misc/sys/syslog.h: Likewise.
54647         * misc/sys/uio.h: Likewise.
54648         * misc/sys/xattr.h: Likewise.
54649         * misc/ttyent.h: Likewise.
54650         * nis/rpcsvc/ypclnt.h: Likewise.
54651         * nss/nss.h: Likewise.
54652         * posix/bits/unistd.h: Likewise.
54653         * posix/fnmatch.h: Likewise.
54654         * posix/glob.h: Likewise.
54655         * posix/sched.h: Likewise.
54656         * posix/spawn.h: Likewise.
54657         * posix/sys/wait.h: Likewise.
54658         * posix/unistd.h: Likewise.
54659         * posix/wordexp.h: Likewise.
54660         * pwd/pwd.h: Likewise.
54661         * resolv/netdb.h: Likewise.
54662         * resource/sys/resource.h: Likewise.
54663         * rt/aio.h: Likewise.
54664         * rt/bits/mqueue2.h: Likewise.
54665         * rt/mqueue.h: Likewise.
54666         * shadow/shadow.h: Likewise.
54667         * signal/signal.h: Likewise.
54668         * socket/send.c: Likewise.
54669         * socket/sendto.c: Likewise.
54670         * socket/sys/socket.h: Likewise.
54671         * stdio-common/printf.h: Likewise.
54672         * stdlib/bits/stdlib.h: Likewise.
54673         * stdlib/fmtmsg.h: Likewise.
54674         * stdlib/monetary.h: Likewise.
54675         * stdlib/stdlib.h: Likewise.
54676         * stdlib/ucontext.h: Likewise.
54677         * streams/stropts.h: Likewise.
54678         * string/argz.h: Likewise.
54679         * string/bits/string2.h: Likewise.
54680         * string/string.h: Likewise.
54681         * string/strings.h: Likewise.
54682         * sunrpc/rpc/auth.h: Likewise.
54683         * sunrpc/rpc/auth_des.h: Likewise.
54684         * sunrpc/rpc/clnt.h: Likewise.
54685         * sunrpc/rpc/netdb.h: Likewise.
54686         * sunrpc/rpc/pmap_clnt.h: Likewise.
54687         * sunrpc/rpc/xdr.h: Likewise.
54688         * sysdeps/generic/inttypes.h: Likewise.
54689         * sysdeps/generic/net/if.h: Likewise.
54690         * sysdeps/generic/sys/swap.h: Likewise.
54691         * sysdeps/gnu/net/if.h: Likewise.
54692         * sysdeps/gnu/utmpx.h: Likewise.
54693         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54694         * sysdeps/i386/i486/bits/string.h: Likewise.
54695         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54696         * sysdeps/s390/bits/string.h: Likewise.
54697         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54698         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54699         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54700         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54701         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54702         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54703         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54704         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54705         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54706         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54707         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54708         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54709         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54710         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54711         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54712         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54713         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54715         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54717         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54718         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54719         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54720         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54721         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54722         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54723         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54724         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54725         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54726         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54727         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54728         * sysvipc/sys/ipc.h: Likewise.
54729         * sysvipc/sys/msg.h: Likewise.
54730         * sysvipc/sys/sem.h: Likewise.
54731         * sysvipc/sys/shm.h: Likewise.
54732         * termios/termios.h: Likewise.
54733         * time/sys/time.h: Likewise.
54734         * time/time.h: Likewise.
54735         * wcsmbs/bits/wchar2.h: Likewise.
54736         * wcsmbs/uchar.h: Likewise.
54737         * wcsmbs/wchar.h: Likewise.
54738         * wctype/wctype.h: Likewise.
54740         [BZ #13551]
54741         * Makeconfig: Remove all but ELF support including AIX support.
54742         * Makerules: Likewise.
54743         * config.h.in: Likewise.
54744         * config.make.in: Likewise.
54745         * configure: Likewise.
54746         * configure.in: Likewise.
54747         * csu/Makefile: Likewise.
54748         * csu/version.c: Likewise.
54749         * debug/Makefile: Likewise.
54750         * dlfcn/Makefile: Likewise.
54751         * elf/Makefile: Likewise.
54752         * extra-lib.mk: Likewise.
54753         * iconv/Makefile: Likewise.
54754         * include/libc-symbols.h: Likewise.
54755         * include/shlib-compat.h: Likewise.
54756         * resolv/Makefile: Likewise.
54757         * resolv/res_libc.c: Likewise.
54758         * rt/Makefile: Likewise.
54759         * sysdeps/i386/asm-syntax.h: Likewise.
54760         * sysdeps/i386/sysdep.h: Likewise.
54761         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54762         * sysdeps/mach/sysdep.h: Likewise.
54763         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54764         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54765         * sysdeps/s390/asm-syntax.h: Likewise.
54766         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54767         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54768         * sysdeps/sh/sysdep.h: Likewise.
54769         * sysdeps/unix/sparc/sysdep.h: Likewise.
54770         * sysdeps/wordsize-32/divdi3.c: Likewise.
54771         * sysdeps/x86_64/sysdep.h: Likewise.
54773         * argp/Versions: Remove _argp_unlock_xxx.
54775         [BZ #13559]
54776         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54777         * abilist/libBrokenLocale.abilist: Likewise.
54778         * abilist/libanl.abilist: Likewise.
54779         * abilist/libc.abilist: Likewise.
54780         * abilist/libcrypt.abilist: Likewise.
54781         * abilist/libdl.abilist: Likewise.
54782         * abilist/libm.abilist: Likewise.
54783         * abilist/libnsl.abilist: Likewise.
54784         * abilist/libpthread.abilist: Likewise.
54785         * abilist/libresolv.abilist: Likewise.
54786         * abilist/librt.abilist: Likewise.
54787         * abilist/libthread_db.abilist: Likewise.
54788         * abilist/libutil.abilist: Likewise.
54789         * abilist/libnss_db.abilist: New file.
54791         * scripts/abilist.awk: Add support for indirect functions.
54793         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54795         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54797         * shlib-versions: Remove entries for ports architectures.
54799         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54800         files in ports.
54801         * elf/stackguard-macros.h: Remove support for IA-64.
54802         * elf/tst-auditmod1.c: Likewise.
54803         * sysdeps/generic/ldsodefs.h: Likewise.
54805         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54806         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54807         configure files.
54809         [BZ #13552]
54810         * configure.in: Remove --enable-omitfp support.
54811         * FAQ.in: Adjust.
54812         * config.make.in: Likewise.
54813         * Makeconfig: Likewise.
54814         * manual/install.texi: Likewise.
54816         In case anyone cares, the IA-64 architecture could move to ports.
54817         * sysdeps/ia64/*: Removed.
54818         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54819         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54821         [BZ #13555]
54822         * configure.in: Remove entries for unsupported architectures.
54824         [BZ #13533]
54825         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54826         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54827         routines.
54828         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54829         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54830         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54831         fall back to using wcrtomb.
54832         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54833         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54834         renaming.
54835         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54836         * wcsmbs/tst-c16c32-1.c: New file.
54838         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54839         local variable.
54841         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54843         * elf/tst-unique3.cc: Add explicit declaration of gets.
54844         * elf/tst-unique3lib.cc: Likewise.
54845         * elf/tst-unique3lib2.cc: Likewise.
54846         * elf/tst-unique4.cc: Likewise.
54848         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54850 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54852         [BZ #13566]
54853         * assert/assert.h (static_assert): Don't define for C++.
54854         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54855         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54857 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54859         * iconv/loop.c (single loop): Fix assertion in storing of
54860         remaining bytes.
54862         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54864 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54866         * posix/getconf.c: Update copyright year.
54867         * nss/getent.c: Likewise.
54868         * nss/makedb.c: Likewise.
54869         * iconv/iconvconfig.c: Likewise.
54870         * iconv/iconv_prog.c: Likewise.
54871         * elf/ldconfig.c: Likewise.
54872         * elf/pldd.c: Likewise.
54873         * elf/sotruss.ksh: Likewise.
54874         * catgets/gencat.c: Likewise.
54875         * csu/version.c: Likewise.
54876         * elf/ldd.bash.in: Likewise.
54877         * elf/sprof.c (print_version): Likewise.
54878         * locale/programs/locale.c: Likewise.
54879         * locale/programs/localedef.c: Likewise.
54880         * login/programs/pt_chown.c: Likewise.
54881         * nscd/nscd.c (print_version): Likewise.
54882         * debug/xtrace.sh: Likewise.
54883         * malloc/memusage.sh: Likewise.
54884         * malloc/mtrace.pl: Likewise.
54885         * debug/catchsegv.sh: Likewise.
54887 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54889         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54890         pure attribute.
54892 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54894         [BZ #13533]
54895         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54896         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54897         transformations.
54898         * iconv/gconv_int.h: Likewise.
54899         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54900         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54901         from libc for GLIBC_2.16.
54902         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54903         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54904         * wcsmbs/uchar.h: Really define mbstate_t.
54905         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54906         * wcsmbs/c16rtomb.c: New file.
54907         * wcsmbs/mbrtoc16.c: New file.
54908         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54909         for C/POSIX locale.
54910         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54911         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54913         * wcsmbs/wchar.h: Add missing __restrict.
54915 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54917         [BZ #13532]
54918         * time/Makefile (routines): Add timespec_get.
54919         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54920         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54921         timespec for ISO C11.
54922         * time/timespec_get.c: New file.
54923         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54924         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54926         [BZ #13531]
54927         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54928         * stdlib/stdlib.h: Declare aligned_alloc.
54929         * Versions.def: Add GLIBC_2.16 for libc.
54930         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54932         [BZ 13527]
54933         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54934         ISO C11.
54936         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54937         code.
54939         [BZ #13528]
54940         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54942         [BZ #13529]
54943         * assert/assert.h (static_assert): Define.
54945         * version.h: Update for 2.16 development version.
54947         [BZ #13526]
54948         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54949         _ISOC11_SOURCE.
54951         * version.h (RELEASE): Bump for 2.15 release.
54952         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54954         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54955         Patch by Marek Polacek <mpolacek@redhat.com>.
54957         * bits/byteswap.h: Protect long long constants with __extension__.
54958         * sysdeps/i386/bits/byteswap.h: Likewise.
54959         * sysdeps/ia64/bits/byteswap.h: Likewise.
54960         * sysdeps/s390/bits/byteswap.h: Likewise.
54961         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54963 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54965         [BZ #13540]
54966         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54967         destination buffer.
54968         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54970 2011-12-23  Marek Polacek  <polacek@redhat.com>
54972         * elf/dl-addr.c (determine_info): Add inline keyword.
54973         * elf/tst-auditmod4b.c (check_avx): Likewise.
54974         * elf/tst-auditmod6b.c (check_avx): Likewise.
54975         * elf/tst-auditmod6c.c (check_avx): Likewise.
54976         * elf/tst-auditmod7b.c (check_avx): Likewise.
54978 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54980         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54981         !__SSE_MATH__.
54983 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54985         [BZ #13540]
54986         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54987         processing for last bytes.
54989 2011-08-06  Bruno Haible  <bruno@clisp.org>
54991         [BZ #13061]
54992         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54993         U+0385, not to U+1FEE.
54995         [BZ #13062]
54996         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54997         entry for U+00A5 U+0301.
54999 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55001         [BZ #13166]
55002         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55003         buffer for the output is too small.
55005         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55006         optimization.
55008         [BZ #13185]
55009         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55010         SSE flags if possible.
55012 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55014         [BZ #13540]
55015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55016         processing for last bytes.
55018 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55020         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55021         (syscall-list-default-options, syscall-list-default-condition)
55022         (syscall-list-includes): Define.
55023         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55024         list of ABIs and options and #if conditions for each ABI.  Do not
55025         handle common syscalls between ABIs specially.
55026         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55027         Remove.
55028         (syscall-list-variants, syscall-list-32bit-options)
55029         (syscall-list-32bit-condition, syscall-list-64bit-options)
55030         (syscall-list-64bit-condition): Define.
55031         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55032         (syscall-list-variants, syscall-list-32bit-options)
55033         (syscall-list-32bit-condition, syscall-list-64bit-options)
55034         (syscall-list-64bit-condition): Define.
55035         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55036         Remove.
55037         (syscall-list-variants, syscall-list-32bit-options)
55038         (syscall-list-32bit-condition, syscall-list-64bit-options)
55039         (syscall-list-64bit-condition): Define.
55040         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55041         Remove.
55042         (syscall-list-variants, syscall-list-32bit-options)
55043         (syscall-list-32bit-condition, syscall-list-64bit-options)
55044         (syscall-list-64bit-condition): Define.
55046 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55048         * locale/iso-639.def: Add brx entry.
55050         [BZ #13328]
55051         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55052         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55054         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55055         __feraiseexcept_renamed.
55057 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55059         [BZ #13538]
55060         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55061         EPOLLET with unsigned values.
55062         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55063         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55065         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55066         to large cancellation.
55067         * math/s_cacoshf.c: Likewise.
55068         * math/s_cacoshl.c: Likewise.
55070 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55072         [BZ #13305]
55073         [BZ #12786]
55074         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55075         * math/s_cacoshf.c: Likewise.
55076         * math/s_cacoshl.c: Likewise.
55078 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55080         [BZ #13439]
55081         * iconv/gconv.h: Define __GCONV_SWAP.
55082         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55083         * iconvdata/utf-16.c: Likewise.
55084         * iconvdata/utf-32.c: Likewise.
55086 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55088         [BZ #13524]
55089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55090         numerator after shifting it by one limb.
55092 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55094         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55095         under [__USE_EXTERN_INLINES].
55097 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55099         [BZ #13446]
55100         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55102 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55104         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55105         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55106         optimized code.
55107         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55108         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55109         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55110         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55111         for strncasecmp/strncasecmp_l compilation.
55112         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55113         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55115 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55117         [BZ #13484]
55118         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55119         of __asm__.
55121 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55123         [BZ #13506]
55124         * time/tzfile.c (__tzfile_read): Check values from file header.
55126 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55128         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55129         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55130         * powerpc/powerpc32/dl-start.S: Likewise.
55131         * powerpc/powerpc32/elf/start.S: Likewise.
55132         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55133         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55134         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55135         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55136         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55137         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55138         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55139         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55140         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55141         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55142         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55143         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55144         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55145         * powerpc/powerpc32/memset.S: Likewise.
55146         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55147         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55148         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55149         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55150         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55151         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55152         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55153         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55154         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55155         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55156         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55157         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55158         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55160 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55162         * math/libm-test.inc: Added more nearbyint tests.
55163         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55168 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55170         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55171         FD_CLOEXEC.
55173 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55175         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55176         Add wcscpy-ssse3 wcscpy-c.
55177         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55178         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55179         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55180         * sysdeps/x86_64/wcschr.S: New file.
55181         * sysdeps/x86_64/wcsrchr.S: New file.
55182         * string/test-strcmp.c: Remove checking of wcscmp function for
55183         wrong alignments.
55184         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55185         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55186         wcsrchr-sse2 wcsrchr-c.
55187         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55188         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55189         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55190         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55191         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55192         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55193         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55194         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55195         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55196         * wcsmbc/wcschr.c (WCSCHR): New macro.
55198 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55200         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55201         * wcsmbs/test-wcsrchr.c: New file.
55202         * string/test-strrchr.c: Add wcsrchr support.
55203         (WIDE): New macro.
55204         * wcsmbs/test-wcscpy.c: New file.
55205         * string/test-strcpy.c: Add wcscpy support.
55206         (WIDE): New macro.
55208 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55210         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55211         the inner loop.
55213 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55215         [BZ #13472]
55216         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55218 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55220         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55221         Minor optimizations.
55223         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55224         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55225         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55227 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55229         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55230         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55231         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55232         for gcc to avoid warnings.
55233         * inet/Makefile (tests): Add tst-checks.
55234         * inet/tst-checks.c: New file.
55236         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55237         warning.
55239         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55240         __wmemcmp_sse2.
55242         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55243         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55245         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55247 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55249         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55250         problem.
55252         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55254 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55256         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55257         conditional on GCC version.
55258         (__arch_compare_and_exchange_val_8_acq)
55259         (__arch_compare_and_exchange_val_16_acq)
55260         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55261         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55262         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55264 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55266         * sysdeps/sh/backtrace.c: New file.
55268 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55270         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55271         parenthesis.
55273 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55275         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55276         falling back to utime.
55278 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55280         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55281         expectations for float.
55283 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55285         * locale/weight.h (findidx): Add parameter len.
55286         * locale/weightwc.h (findidx): Likewise.
55287         * posix/fnmatch_loop.c (FCT): Adjust caller.
55288         * posix/regcomp.c (build_equiv_class): Likewise.
55289         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55290         * posix/regexec.c (check_node_accept_bytes): Likewise.
55291         * string/strcoll_l.c (STRCOLL): Likewise.
55292         * string/strxfrm_l.c (STRXFRM): Likewise.
55294 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55296         * Makefile.in: Remove CVSOPT handling.
55297         * configure.in: Remove use of AC_REVISION.
55298         * iconvdata/Makefile (distribute): No need to filter out CVS.
55299         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55300         handling.
55302 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55305         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55306         [USE_AS_STRNCASECMP_L]: Likewise.
55307         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55308         NO_TLS_DIRECT_SEG_REFS.
55309         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55310         Fix argument offsets for non-PIC.
55311         [USE_AS_STRNCASECMP_L]: Likewise.
55312         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55313         NO_TLS_DIRECT_SEG_REFS.
55315 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55317         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55318         O_CLOEXEC.
55319         * locale/loadlocale.c (_nl_load_locale): Likewise.
55321 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55323         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55324         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55325         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55326         (SYSCALL_GETTIME): Set errno on error.
55328         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55329         count references to noai6ai_cached.
55331 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55333         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55335         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55336         FD_CLOEXEC for /proc/self/maps.
55338         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55339         FD_CLOEXEC for /proc/meminfo.
55341         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55342         gai.conf.
55344         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55345         FD_CLOEXEC for given file.
55347         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55349         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55350         FD_CLOEXEC for /etc/hosts.
55351         (_gethtent): Likewise.
55353         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55355         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55356         cancellation and set FD_CLOEXEC for /etc/netgroup.
55358         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55359         reading /etc/publickey.
55361         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55362         allow cancellation when reading /etc/group.
55364         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55365         cancellation.
55366         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55368         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55369         when using data file.
55371         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55373         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55374         (write_nis_obj): Use "c" and "e" in fopen.
55376         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55378         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55380         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55382         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55384         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55385         locale.alias.
55387         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55389         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55391         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55393         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55394         file parsing and set FD_CLOEXEC.
55396 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55398         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55400 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55402         * malloc/arena.c (arena_get2): Don't call reused_arena when
55403         _int_new_arena failed.
55405 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55407         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55408         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55409         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55410         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55411         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55412         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55413         to compile strcasecmp and strncasecmp.
55414         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55415         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55419 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55421         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55422         locale-defines.sym to gen-as-const-headers.
55423         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55424         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55426         to compile strcasecmp and strncasecmp.
55427         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55428         strcasecmp_l and strncasecmp_l.
55429         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55430         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55431         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55432         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55433         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55434         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55435         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55436         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55437         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55438         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55439         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55441 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55443         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55444         result of SYSDEP_GETTIME_CPU to retval.
55445         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55446         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55448         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55449         variable.
55451         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55452         mantissa words.
55453         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55455         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55456         from unused variable.
55458         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55459         DWARF definitions.
55460         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55461         for assembling.
55463         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55464         over namespaces.
55466         * sunrpc/rpc_prot.c (rejected): Fix case value.
55468         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55469         unsigned long long int to avoid warnings in shift.
55471         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55472         of use of trans.
55473         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55474         variable tmp.
55476         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55477         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55478         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55480         * nis/nis_table.c (nis_list): Use variable of correct type for
55481         result of __follow_path call.
55483 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55485         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55486         of math functions ceil, trunc, floor, round, and sqrt, when
55487         avaliable on the platform.
55488         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55489         name clash.
55490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55491         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55492         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55494 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55496         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55497         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55499 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55501         * include/unistd.h: Fix __readlink return type.
55502         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55504 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55506         * stdlib/ucontext.h: Undo last change for makecontext.
55508 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55510         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55512         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55513         * setjmp/setjmp.h: Mark functions as non-leaf.
55514         * setjmp/bits/setjmp2.h: Likewise.
55515         * stdlib/ucontext.h: Likewise.
55517 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55519         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55520         (reused_arena): Don't check arena limit.
55521         (arena_get2): Atomically check arena limit.
55523 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55525         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55526         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55529         instructions.
55531 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55533         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55534         handler when locking.
55536         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55537         Fix size of allocated buffer.
55539 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55541         [BZ #10103]
55542         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55543         declarations for long double functions.
55544         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55546         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55548 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55550         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55551         installed.
55553         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55554         is disabled.
55556 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55558         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55560 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55562         * include/alloca.h (stackinfo_alloca_round): Define.
55563         (extend_alloca): Use it.
55564         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55565         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55566         here.
55568         * scripts/check-local-headers.sh: Ignore libaudit.h.
55570         * nscd/Makefile (extra-objs): Make recursively expanded.
55572 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55574         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55575         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55577         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55578         * posix/tst-rfc3484-2.c: Likewise.
55579         * posix/tst-rfc3484-3.c: Likewise.
55581         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55582         process_vm_writev.
55583         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55584         process_vm_writev.
55585         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55586         process_vm_writev from libc using GLIBC_2.15 version.
55588         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55590 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55592         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55593         stack usage.
55595 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55597         [BZ #13367]
55598         * nss/getent.c (initgroups_keys): Show error message in case no group
55599         names are given.
55601         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55602         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55603         __bump_nl_timestamp.
55604         * nscd/connections (nscd_init): When host database is served open
55605         netlink socket and request notification about configuration changes.
55606         (main_loop_poll): Track netlink file descriptor and bump timestamp
55607         in case data becomes available.
55608         (main_loop_epoll): Likewise.
55609         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55610         (database_pers_head): Add extra_data fileds.
55611         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55612         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55613         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55614         Adjust caller.
55615         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55616         in6ai data, call __free_in6ai.
55617         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55618         Add -DHAVE_NETLINK.
55619         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55620         interface information.  Reuse previous data if netlink timestamp
55621         is not changed.
55622         (__bump_nl_timestamp): New function.
55623         (__free_in6ai): New function.
55625 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55628         close_not_cancel_no_status here.
55629         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55631 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55633         [BZ #13276]
55634         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55635         return value.
55637         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55638         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55639         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55641 2011-07-03  Andreas Jaeger  <aj@suse.de>
55643         [BZ #10709]
55644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55645         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55646         * math/libm-test.inc (sin_test): Add test case.
55648 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55650         [BZ #13337]
55651         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55652         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55654         * elf/chroot_canon.c (chroot_canon): Cleanups.
55656         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55658         [BZ #13335]
55659         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55660         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55662         * string/test-strchr.c: Make usable for strchrnul testing.
55663         * string/test-strchrnul.c: New file.
55664         * string/Makefile (strop-tests): Add strchrnul.
55666         * po/it.po: Update from translation team.
55667         * po/es.po: Likewise.
55669 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55671         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55672         the three constants needed as parameters.  Drop the others.
55673         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55674         __m128i_strloadu_tolower.
55675         Create and initialize variable zero and use it in all the places
55676         where _mm_setzero_si128 was used.
55678         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55679         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55680         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55682         anymore.
55683         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55684         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55685         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55686         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55687         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55688         __mpranred, __mptan.
55689         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55690         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55691         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55692         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55693         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55694         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55696         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55697         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55699 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55701         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55702         redefine if SHARED.
55703         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55706         wide char related routines to wcsmbs subdir.
55708 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55710         [BZ #13344]
55711         * misc/sys/cdefs.h (__THROWNL): Define.
55712         * posix/unistd.h: Use __THREADNL instead of __THREAD
55713         for memory synchronization functions.
55715 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55717         [BZ #13349]
55718         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55719         doesn't exist.
55720         * manual/stdio.texi (Obstack Streams): Node removed.
55722 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55724         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55726         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55728         * math/math_private.h (math_force_eval): Allow non-addressable
55729         arguments.
55730         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55732 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55734         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55735         file is not needed.
55737         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55739         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55740         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55741         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55742         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55743         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55744         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55745         Add AVX variants.
55746         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55747         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55748         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55749         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55750         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55751         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55752         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55753         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55754         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55755         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55756         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55757         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55758         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55759         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55760         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55761         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55762         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55763         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55764         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55766         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55767         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55770         place.  Use VEX encoding when compiling for AVX.
55772 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55774         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55775         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55777         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55779 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55781         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55782         useless if() expression.
55783         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55784         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55785         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55786         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55787         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55788         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55789         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55791         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55792         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55793         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55794         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55795         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55797         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55798         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55799         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55800         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55801         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55803         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55805 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55807         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55808         condition.
55809         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55811 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55813         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55814         .text section.  Avoid duplicate constants.
55815         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55823         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55824         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55825         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55826         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55827         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55828         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55829         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55830         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55831         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55832         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55833         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55838         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55839         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55840         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55841         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55842         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55843         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55844         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55845         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55846         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55847         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55848         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55849         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55850         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55851         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55852         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55853         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55854         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55855         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55856         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55857         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55858         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55859         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55861 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55863         * sysdeps/x86_64/dla.h: Move to ...
55864         * sysdeps/x86_64/fpu/dla.h: ...here.
55865         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55866         situations.  Use __builtin_fma only for gcc 4.6 and up.
55868         * config.make.in: Add have-mfma4 entry.
55869         * configure.in: Substitute libc_cv_cc_fma4.
55870         * math/Makefile (dbl-only-routines): Add sincostab.
55871         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55872         Use __sincostab not sincos.
55873         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55874         name is a macro.
55875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55879         using __copysign.
55880         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55881         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55882         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55883         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55884         and __inv.
55885         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55886         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55887         __copysign.
55888         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55889         define aliases when function name is a macro.
55890         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55891         sysdeps/ieee754/dbl-64/sincos.tbl.
55892         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55893         fma4-enabled routines.
55894         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55895         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55896         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55897         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55898         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55899         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55901         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55903         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55904         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55905         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55906         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55907         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55908         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55909         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55910         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55911         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55912         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55913         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55914         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55915         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55916         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55917         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55918         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55920         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55921         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55922         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55923         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55925         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55926         rename.
55927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55936 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55938         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55940 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55942         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55944         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55945         prediction.
55946         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55948         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55949         Remove unused variable magic_bits.
55950         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55952         * string/strnlen.c: Define and use STRNLEN macro.
55953         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55954         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55956         * wcsmbs/wcslen.c: Define and use WCSLEN.
55957         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55958         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55959         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55960         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55961         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55962         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55963         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55965 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55968         strnlen-sse2-no-bsf.
55969         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55970         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55971         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55972         Add strnlen support.
55973         (USE_AS_STRNLEN): New macro.
55974         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55975         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55976         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55977         * sysdeps/x86_64/wcslen.S: New file.
55979 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55981         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55982         XMM-moves are used for copying on small sizes.
55984 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55986         * wcsmbs/Makefile (strop-tests): Add wcschr.
55987         * wcsmbs/test-wcschr.c: New file.
55988         * string/test-strchr.c: Update.
55989         Add wcschr support.
55990         (WIDE): New macro.
55992 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55994         * wcsmbs/Makefile (strop-tests): Add wcslen.
55995         * wcsmbs/test-wcslen.c: New file.
55996         * string/test-strlen.c: Update.
55997         Add wcslen support.
55998         (WIDE): New macro.
56000 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56002         * po/it.po: Update from translation team.
56004 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56006         * sysdeps/x86_64/wcscmp.S: Update.
56007         Fix wrong comparison semantics.
56008         wcscmp shall use signed comparison not unsigned.
56009         Don't use substraction to avoid overflow bug.
56010         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56011         * wcsmbc/wcscmp.c: Likewise.
56012         * string/test-strcmp.c: Likewise.
56013         Add new tests to check cases with negative values.
56015 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56017         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56018         * sysdeps/x86_64/dla.h: ...here.  New file.
56019         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56021         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56022         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56023         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56024         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56029 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56032         __ynl_finite aliases.
56034 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56038         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56039         define DLA_FMA.
56040         [DLA_FMA] (EMULV): Use DLA_FMA.
56041         [DLA_FMA] (MUL12): Use EMULV.
56042         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56043         that are not needed.
56044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56049         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56052 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56054         * math/s_nan.c: Undef __nan.
56055         * math/s_nanf.c: Undef __nanf.
56056         * math/s_nanl.c: Undef __nanl.
56057         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56058         "math_private.h".
56060 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56062         * math/s_catan.c: Add branch predictions.
56063         * math/s_catanf.c: Likewise.
56064         * math/s_catanh.c: Likewise.
56065         * math/s_catanhf.c: Likewise.
56066         * math/s_catanhl.c: Likewise.
56067         * math/s_catanl.c: Likewise.
56068         * math/s_cexp.c: Likewise.
56069         * math/s_cexpf.c: Likewise.
56070         * math/s_cexpl.c: Likewise.
56071         * math/s_clog.c: Likewise.
56072         * math/s_clog10.c: Likewise.
56073         * math/s_clog10f.c: Likewise.
56074         * math/s_clog10l.c: Likewise.
56075         * math/s_clogf.c: Likewise.
56076         * math/s_clogl.c: Likewise.
56077         * math/s_csqrt.c: Likewise.
56078         * math/s_csqrtf.c: Likewise.
56079         * math/s_csqrtl.c: Likewise.
56080         * math/s_ctanf.c: Likewise.
56081         * math/s_ctanh.c: Likewise.
56082         * math/s_ctanhf.c: Likewise.
56083         * math/s_ctanhl.c: Likewise.
56084         * math/s_ctanl.c: Likewise.
56086         * math/math_private.h: Define __nan, __nanf, __nanl.
56087         * math/s_cacosh.c: Include <math_private.h>.
56088         * math/s_cacoshl.c: Likewise.
56089         * math/s_casinh.c: Likewise.
56090         * math/s_casinhf.c: Likewise.
56091         * math/s_casinhl.c: Likewise.
56092         * math/s_ccos.c: Rely entire on ccosh.
56093         * math/s_ccosf.c: Rely entire on ccoshf.
56094         * math/s_ccosl.c: Rely entirely on ccoshl.
56095         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56096         Remove tests for FE_INVALID.
56097         * math/s_ccoshf.c: Likewise.
56098         * math/s_ccoshl.c: Likewise.
56099         * math/s_csin.c: Likewise.
56100         * math/s_csinf.c: Likewise.
56101         * math/s_csinh.c Likewise.
56102         * math/s_csinhf.c: Likewise.
56103         * math/s_csinhl.c: Likewise.
56104         * math/s_csinl.c: Likewise.
56105         * math/s_ctan.c: Likewise.
56106         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56107         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56108         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56110 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56113         compilation problems.
56115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56116         __builtin_expect.
56118 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56120         * sysdeps/i386/configure.in: Test for -mfma4 option.
56121         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56122         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56123         COMMON_CPUID_INDEX_80000001.
56124         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56125         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56126         use it if FMA3 is not supported.
56127         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56129         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56130         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56132 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56134         [BZ #12892]
56135         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56136         it would create a cycle with a link time dependency.
56138 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56140         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56141         instruction.
56142         * string/Makefile (strop-tests): Add rawmemchr.
56143         * string/test-rawmemchr.c: New file.
56145         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56146         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56147         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56148         when compiling str{,n}casecmp and when AVX is available.  Hook up
56149         new optimized code in initializers.
56151 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56153         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56154         __feraiseexcept instead of feraiseexcept.
56156 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56158         * math/math_private.h: Define defaults for libc_fetestexcept and
56159         libc_feupdateenv.
56160         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56161         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56162         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56163         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56164         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56165         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56166         libc_fetestexcept and libc_feupdateenv.
56168         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56169         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56170         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56171         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56172         libc_feholdexcept_setround.
56174         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56175         Add s_nearbyint-c and s_nearbyintf-c.
56176         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56177         nearbyintf inlines.
56178         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56179         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56181         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56183         * math/math_private.h: Define defaults for libc_fegetround,
56184         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56185         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56186         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56187         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56188         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56189         standard functions.
56190         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56191         Remove comments and hacks for old compiler versions.
56192         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56193         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56194         libc_feholdexceptl.
56196 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56198         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56199         (__feraiseexcept_renamed): Add __NTH.
56200         (feraiseexcept): Add __NTH.  Rename local variables to fix
56201         namespace violations.
56203 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56205         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56207         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56209         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56210         recently added interfaces.
56211         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56213         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56214         about macro parameter expansion.
56216         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56217         __NO_MATH_INLINES is defined.  Cleanups.
56219         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56220         and __floorf is target has SSE4.1.
56221         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56222         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56223         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56224         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56226         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56227         name.
56228         (floorf): Likewise.
56230         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56232 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56234         * misc/sys/cdefs.h: Fix last change.
56236         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56237         database lookup.
56239 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56241         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56243         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56245         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56246         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56248         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56249         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56250         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56251         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56252         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56253         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56254         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56255         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56256         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56257         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56258         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56259         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56260         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56261         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56262         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56263         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56264         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56266         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56267         ceil, ceilf, floor, floorf.
56269         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56270         Perform IRELATIVE relocations last.
56272         * elf/do-rel.h: Add another parameter nrelative, replacing the
56273         local variable with the same name.  Change name of the function
56274         to end in Rel or Rela (uppercase).
56275         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56276         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56277         elf_dynamic_do_##reloc function.
56279 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56281         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56282         is sufficient, at least on modern CPUs.
56284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56286         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56287         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56289         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56290         __expl_finite.
56291         * math/bits/math-finite.h: Add entries for exp.
56292         * math/e_expl.c: Add __*_finite alias.
56293         * sysdeps/i386/fpu/e_exp.S: Likewise.
56294         * sysdeps/i386/fpu/e_expf.S: Likewise.
56295         * sysdeps/i386/fpu/e_expl.c: Likewise.
56296         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56297         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56298         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56299         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56300         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56301         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56302         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56304         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56305         is sufficient, at least on modern CPUs.
56307         * ctype/ctype-info.c (__ctype_init): Define.
56308         * include/ctype.h (__ctype_init): Declare.
56309         (__ctype_b_loc): The variable is always initialized.
56310         (__ctype_toupper_loc): Likewise.
56311         (__ctype_tolower_loc): Likewise.
56312         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56313         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56315 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56317         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56319         * configure.in: Also look in $cxxmachine/include for C++ system
56320         headers.
56322 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56324         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56325         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56326         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56327         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56328         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56329         (USE_AS_WMEMCMP): New macro.
56330         Fixing indents.
56331         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56332         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56333         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56334         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56336         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56337         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56338         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56339         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56340         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56342         (USE_AS_WMEMCMP): New macro.
56343         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56344         * sysdeps/string/test-memcmp.c: Update.
56345         Fix simple_wmemcmp.
56346         Add new tests.
56347         * wcsmbs/wmemcmp.c: Update.
56348         (WMEMCMP): New macro.
56349         Fix overflow bug.
56351 2011-10-12  Andreas Jaeger  <aj@suse.de>
56353         [BZ #13268]
56354         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56356 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56358         * libio/iofwide.c (do_length): Avoid warning.
56360         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56362 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56364         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56366         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56367         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56368         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56369         * sysdeps/i386/i686/fpu/e_log.S: New file.
56370         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56371         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56373         * ctype/ctype.h: Add support for inlined isXXX functions when
56374         compiling C++ code.
56376 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56378         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56380         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56382 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56384         [BZ #13291]
56385         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56387 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56389         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56390         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56391         feraiseexcept.
56393         * sysdeps/x86_64/memrchr.S: Check for zero size.
56395         * string/stratcliff.c: Add memrchr tests.
56397 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56400         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56401         rawmemchr-sse2 rawmemchr-sse2-bsf.
56402         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56403         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56404         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56405         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56406         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56407         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56408         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56409         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56410         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56411         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56412         * string/memrchr.c (MEMRCHR): New macro.
56414 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56416         Add integration with gcc's -ffinite-math-only and optimize wrapper
56417         functions in libm.
56418         * Versions.def: Define GLIBC_2.15 version for libm.
56419         * math/Makefile (headers): Add bits/math-finite.h.
56420         * math/bits/math-finite.h: New file.
56421         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56422         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56423         * math/e_acoshl.c: Add __*_finite alias.
56424         * math/e_acosl.c: Likewise.
56425         * math/e_asinl.c: Likewise.
56426         * math/e_atan2l.c: Likewise.
56427         * math/e_atanhl.c: Likewise.
56428         * math/e_coshl.c: Likewise.
56429         * math/e_exp10.c: Likewise.
56430         * math/e_exp10f.c: Likewise.
56431         * math/e_exp10l.c: Likewise.
56432         * math/e_exp2l.c: Likewise.
56433         * math/e_fmodl.c: Likewise.
56434         * math/e_gammal_r.c: Likewise.
56435         * math/e_hypotl.c: Likewise.
56436         * math/e_j0l.c: Likewise.
56437         * math/e_j1l.c: Likewise.
56438         * math/e_jnl.c: Likewise.
56439         * math/e_lgammal_r.c: Likewise.
56440         * math/e_log10l.c: Likewise.
56441         * math/e_log2l.c: Likewise.
56442         * math/e_logl.c: Likewise.
56443         * math/e_powl.c: Likewise.
56444         * math/e_sinhl.c: Likewise.
56445         * math/e_sqrtl.c: Likewise.
56446         * math/e_scalb.c: Completely rewritten and optimized.
56447         * math/e_scalbf.c: Likewise.
56448         * math/e_scalbl.c: Likewise.
56449         * math/w_acos.c: Likewise.
56450         * math/w_acosf.c: Likewise.
56451         * math/w_acosl.c: Likewise.
56452         * math/w_acosh.c: Likewise.
56453         * math/w_acoshf.c: Likewise.
56454         * math/w_acoshl.c: Likewise.
56455         * math/w_asin.c: Likewise.
56456         * math/w_asinf.c: Likewise.
56457         * math/w_asinl.c: Likewise.
56458         * math/w_atan2.c: Likewise.
56459         * math/w_atan2f.c: Likewise.
56460         * math/w_atan2l.c: Likewise.
56461         * math/w_atanh.c: Likewise.
56462         * math/w_atanhf.c: Likewise.
56463         * math/w_atanhl.c: Likewise.
56464         * math/w_exp10.c: Likewise.
56465         * math/w_exp10f.c: Likewise.
56466         * math/w_exp10l.c: Likewise.
56467         * math/w_fmod.c: Likewise.
56468         * math/w_fmodf.c: Likewise.
56469         * math/w_fmodl.c: Likewise.
56470         * math/w_j0.c: Likewise.
56471         * math/w_j0f.c: Likewise.
56472         * math/w_j0l.c: Likewise.
56473         * math/w_j1.c: Likewise.
56474         * math/w_j1f.c: Likewise.
56475         * math/w_j1l.c: Likewise.
56476         * math/w_jn.c: Likewise.
56477         * math/w_jnf.c: Likewise.
56478         * math/w_log.c: Likewise.
56479         * math/w_logf.c: Likewise.
56480         * math/w_logl.c: Likewise.
56481         * math/w_log10.c: Likewise.
56482         * math/w_log10f.c: Likewise.
56483         * math/w_log10l.c: Likewise.
56484         * math/w_log2.c: Likewise.
56485         * math/w_log2f.c: Likewise.
56486         * math/w_log2l.c: Likewise.
56487         * math/w_pow.c: Likewise.
56488         * math/w_powf.c: Likewise.
56489         * math/w_powl.c: Likewise.
56490         * math/w_remainder.c: Likewise.
56491         * math/w_remainderf.c: Likewise.
56492         * math/w_remainderl.c: Likewise.
56493         * math/w_scalb.c: Likewise.
56494         * math/w_scalbf.c: Likewise.
56495         * math/w_scalbl.c: Likewise.
56496         * math/w_sqrt.c: Likewise.
56497         * math/w_sqrtf.c: Likewise.
56498         * math/w_sqrtl.c: Likewise.
56499         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56500         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56501         used.
56502         * math/math_private.h: Declare __kernel_standard_f.
56503         * math/w_cosh.c: Remove cruft and optimize a bit.
56504         * math/w_coshf.c: Likewise.
56505         * math/w_coshl.c: Likewise.
56506         * math/w_exp2.c: Likewise.
56507         * math/w_exp2f.c: Likewise.
56508         * math/w_exp2l.c: Likewise.
56509         * math/w_hypot.c: Likewise.
56510         * math/w_hypotf.c: Likewise.
56511         * math/w_hypotl.c: Likewise.
56512         * math/w_lgamma.c: Likewise.
56513         * math/w_lgamma_r.c: Likewise.
56514         * math/w_lgammaf.c: Likewise.
56515         * math/w_lgammaf_r.c: Likewise.
56516         * math/w_lgammal.c: Likewise.
56517         * math/w_lgammal_r.c: Likewise.
56518         * math/w_sinh.c: Likewise.
56519         * math/w_sinhf.c: Likewise.
56520         * math/w_sinhl.c: Likewise.
56521         * math/w_tgamma.c: Likewise.
56522         * math/w_tgammaf.c: Likewise.
56523         * math/w_tgammal.c: Likewise.
56524         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56525         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56526         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56527         Minor optimizations.  Pretty printing.  Remove cruft.
56528         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56530         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56531         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56532         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56533         * sysdeps/i386/fpu/e_asin.S: Likewise.
56534         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56535         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56536         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56537         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56538         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56539         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56540         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56541         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56542         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56543         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56544         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56545         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56546         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56547         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56548         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56549         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56550         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56551         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56552         * sysdeps/i386/fpu/e_log.S: Likewise.
56553         * sysdeps/i386/fpu/e_log10.S: Likewise.
56554         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56555         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56556         * sysdeps/i386/fpu/e_log2.S: Likewise.
56557         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56558         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56559         * sysdeps/i386/fpu/e_logf.S: Likewise.
56560         * sysdeps/i386/fpu/e_logl.S: Likewise.
56561         * sysdeps/i386/fpu/e_pow.S: Likewise.
56562         * sysdeps/i386/fpu/e_powf.S: Likewise.
56563         * sysdeps/i386/fpu/e_powl.S: Likewise.
56564         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56565         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56566         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56567         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56568         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56569         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56570         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56571         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56572         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56573         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56574         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56577         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56578         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56579         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56580         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56581         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56582         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56583         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56584         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56586         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56587         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56589         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56590         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56591         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56592         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56593         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56594         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56595         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56596         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56597         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56598         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56599         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56600         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56601         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56602         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56603         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56604         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56605         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56606         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56607         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56608         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56609         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56610         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56611         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56612         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56613         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56614         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56615         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56616         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56617         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56618         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56619         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56620         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56621         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56622         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56623         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56624         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56625         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56626         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56628         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56629         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56630         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56631         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56632         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56633         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56634         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56635         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56637         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56638         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56639         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56641         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56642         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56643         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56644         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56645         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56647         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56649         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56650         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56651         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56652         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56653         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56654         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56655         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56656         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56657         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56658         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56659         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56660         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56661         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56662         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56663         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56664         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56665         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56666         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56667         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56668         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56669         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56670         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56671         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56672         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56673         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56674         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56675         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56676         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56677         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56678         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56680         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56681         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56682         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56683         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56684         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56685         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56686         (__isnanf): Likewise.
56687         (__isinf_ns): Likewise.
56688         (__isinf_nsf): Likewise.
56689         (__finite): Likewise.
56690         (__finitef): Likewise.
56691         (__ieee754_sqrt): Define as macro.
56692         (__ieee754_sqrtf): Define as macro.
56693         (__ieee754_sqrtl): Define as macro.
56694         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56695         inlined copy.
56696         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56697         __FINITE_MATH_ONLY__ consistent.
56698         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56700 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56702         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56703         of rawmemchr.
56705         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56707 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56709         * po/ja.po: Update from translation team.
56711 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56713         * locale/programs/locarchive.c (prepare_address_space): New function.
56714         (create_archive, enlarge_archive, open_archive): Use it.
56716         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56717         inside [SHARED], where it is used.
56719         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56721         * nss/getent.c (netgroup_keys): Remove unused variable.
56722         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56724 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56726         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56727         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56729         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56730         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56731         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56732         * math/Makefile (libm-calls): Add s_isinf_ns.
56733         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56734         * math/multc3.c: Likewise.
56735         * math/s_casin.c: Likewise.
56736         * math/s_casinf.c: Likewise.
56737         * math/s_casinl.c: Likewise.
56738         * math/s_ccos.c: Likewise.
56739         * math/s_ccosf.c: Likewise.
56740         * math/s_ccosl.c: Likewise.
56741         * math/s_ctan.c: Likewise.
56742         * math/s_ctanf.c: Likewise.
56743         * math/s_ctanh.c: Likewise.
56744         * math/s_ctanhf.c: Likewise.
56745         * math/s_ctanhl.c: Likewise.
56746         * math/s_ctanl.c: Likewise.
56747         * math/w_fmod.c: Likewise.
56748         * math/w_fmodf.c: Likewise.
56749         * math/w_fmodl.c: Likewise.
56750         * math/w_remainder.c: Likewise.
56751         * math/w_remainderf.c: Likewise.
56752         * math/w_remainderl.c: Likewise.
56753         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56754         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56755         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56757         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56758         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56759         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56760         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56762         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56763         of the number.
56764         * stdio-common/printf_fphex.c: Likewise.
56765         * stdio-common/printf_size.c: Likewise.
56767         * math/e_exp10.c: Include math_private.h using <...> not "...".
56768         * math/e_exp10f.c: Likewise.
56769         * math/e_exp10l.c: Likewise.
56770         * math/e_exp2l.c: Likewise.
56771         * math/e_j0l.c: Likewise.
56772         * math/e_j1l.c: Likewise.
56773         * math/e_jnl.c: Likewise.
56774         * math/e_lgammal_r.c: Likewise.
56775         * math/e_rem_pio2l.c: Likewise.
56776         * math/e_scalb.c: Likewise.
56777         * math/e_scalbf.c: Likewise.
56778         * math/e_scalbl.c: Likewise.
56779         * math/k_cosl.c: Likewise.
56780         * math/k_sinl.c: Likewise.
56781         * math/k_tanl.c: Likewise.
56782         * math/s_cacoshf.c: Likewise.
56783         * math/s_catan.c: Likewise.
56784         * math/s_catanf.c: Likewise.
56785         * math/s_catanh.c: Likewise.
56786         * math/s_catanhf.c: Likewise.
56787         * math/s_catanhl.c: Likewise.
56788         * math/s_catanl.c: Likewise.
56789         * math/s_ccosh.c: Likewise.
56790         * math/s_ccoshf.c: Likewise.
56791         * math/s_ccoshl.c: Likewise.
56792         * math/s_cexp.c: Likewise.
56793         * math/s_cexpf.c: Likewise.
56794         * math/s_cexpl.c: Likewise.
56795         * math/s_clog.c: Likewise.
56796         * math/s_clog10.c: Likewise.
56797         * math/s_clog10f.c: Likewise.
56798         * math/s_clog10l.c: Likewise.
56799         * math/s_clogf.c: Likewise.
56800         * math/s_clogl.c: Likewise.
56801         * math/s_csin.c: Likewise.
56802         * math/s_csinf.c: Likewise.
56803         * math/s_csinh.c: Likewise.
56804         * math/s_csinhf.c: Likewise.
56805         * math/s_csinhl.c: Likewise.
56806         * math/s_csinl.c: Likewise.
56807         * math/s_csqrt.c: Likewise.
56808         * math/s_csqrtf.c: Likewise.
56809         * math/s_csqrtl.c: Likewise.
56810         * math/s_ctan.c: Likewise.
56811         * math/s_ctanf.c: Likewise.
56812         * math/s_ctanh.c: Likewise.
56813         * math/s_ctanhf.c: Likewise.
56814         * math/s_ctanhl.c: Likewise.
56815         * math/s_ctanl.c: Likewise.
56816         * math/s_ldexp.c: Likewise.
56817         * math/s_ldexpf.c: Likewise.
56818         * math/s_ldexpl.c: Likewise.
56819         * math/s_significand.c: Likewise.
56820         * math/s_significandf.c: Likewise.
56821         * math/s_significandl.c: Likewise.
56822         * math/w_acos.c: Likewise.
56823         * math/w_acosf.c: Likewise.
56824         * math/w_acosh.c: Likewise.
56825         * math/w_acoshf.c: Likewise.
56826         * math/w_acoshl.c: Likewise.
56827         * math/w_acosl.c: Likewise.
56828         * math/w_asin.c: Likewise.
56829         * math/w_asinf.c: Likewise.
56830         * math/w_asinl.c: Likewise.
56831         * math/w_atan2.c: Likewise.
56832         * math/w_atan2f.c: Likewise.
56833         * math/w_atan2l.c: Likewise.
56834         * math/w_atanh.c: Likewise.
56835         * math/w_atanhf.c: Likewise.
56836         * math/w_atanhl.c: Likewise.
56837         * math/w_cosh.c: Likewise.
56838         * math/w_coshf.c: Likewise.
56839         * math/w_coshl.c: Likewise.
56840         * math/w_dremf.c: Likewise.
56841         * math/w_exp10.c: Likewise.
56842         * math/w_exp10f.c: Likewise.
56843         * math/w_exp10l.c: Likewise.
56844         * math/w_exp2.c: Likewise.
56845         * math/w_exp2f.c: Likewise.
56846         * math/w_fmod.c: Likewise.
56847         * math/w_fmodf.c: Likewise.
56848         * math/w_fmodl.c: Likewise.
56849         * math/w_hypot.c: Likewise.
56850         * math/w_hypotf.c: Likewise.
56851         * math/w_hypotl.c: Likewise.
56852         * math/w_j0.c: Likewise.
56853         * math/w_j0f.c: Likewise.
56854         * math/w_j0l.c: Likewise.
56855         * math/w_j1.c: Likewise.
56856         * math/w_j1f.c: Likewise.
56857         * math/w_j1l.c: Likewise.
56858         * math/w_jn.c: Likewise.
56859         * math/w_jnf.c: Likewise.
56860         * math/w_jnl.c: Likewise.
56861         * math/w_lgamma.c: Likewise.
56862         * math/w_lgamma_r.c: Likewise.
56863         * math/w_lgammaf.c: Likewise.
56864         * math/w_lgammaf_r.c: Likewise.
56865         * math/w_lgammal.c: Likewise.
56866         * math/w_lgammal_r.c: Likewise.
56867         * math/w_log.c: Likewise.
56868         * math/w_log10.c: Likewise.
56869         * math/w_log10f.c: Likewise.
56870         * math/w_log10l.c: Likewise.
56871         * math/w_log2.c: Likewise.
56872         * math/w_log2f.c: Likewise.
56873         * math/w_log2l.c: Likewise.
56874         * math/w_logf.c: Likewise.
56875         * math/w_logl.c: Likewise.
56876         * math/w_pow.c: Likewise.
56877         * math/w_powf.c: Likewise.
56878         * math/w_powl.c: Likewise.
56879         * math/w_remainder.c: Likewise.
56880         * math/w_remainderf.c: Likewise.
56881         * math/w_remainderl.c: Likewise.
56882         * math/w_scalb.c: Likewise.
56883         * math/w_scalbf.c: Likewise.
56884         * math/w_scalbl.c: Likewise.
56885         * math/w_sinh.c: Likewise.
56886         * math/w_sinhf.c: Likewise.
56887         * math/w_sinhl.c: Likewise.
56888         * math/w_sqrt.c: Likewise.
56889         * math/w_sqrtf.c: Likewise.
56890         * math/w_sqrtl.c: Likewise.
56891         * math/w_tgamma.c: Likewise.
56892         * math/w_tgammaf.c: Likewise.
56893         * math/w_tgammal.c: Likewise.
56895         * po/ja.po: Update from translation team.
56897 2011-09-29  Andreas Jaeger  <aj@suse.de>
56899         [BZ #13179]
56900         * sunrpc/netname.c (netname2host): Fix logic.
56902         [BZ #6779]
56903         [BZ #6783]
56904         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56905         correctly.
56906         * math/w_remainder.c (__remainder): Likewise.
56907         * math/w_remainderf.c (__remainderf): Likewise.
56908         * math/libm-test.inc (remainder_test): Add test cases.
56910 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56912         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56913         sdiv_qrnnd.
56915 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56917         * string/test-memcmp.c: Avoid unncessary #defines.
56918         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56920 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56922         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56923         Use new sse2 version for core i3 - i7 as it's faster
56924         than sse42 version.
56925         (bit_Prefer_PMINUB_for_stringop): New.
56926         * sysdeps/x86_64/rawmemchr.S: Update.
56927         Replace with faster SSE2 version.
56928         * sysdeps/x86_64/memrchr.S: New file.
56929         * sysdeps/x86_64/memchr.S: Update.
56930         Replace with faster SSE2 version.
56932 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56934         * elf/dl-load.c (lose): Add cast to avoid warning.
56936 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56938         * po/ca.po: Update from translation team.
56940         * inet/getnetgrent_r.c: Hook up nscd.
56941         * nscd/Makefile (routines): Add nscd_netgroup.
56942         (nscd-modules): Add netgroupcache.
56943         (CFLAGS-netgroupcache.c): Define.
56944         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56945         (cache_search): Add const to second parameter.
56946         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56947         INNETGR.
56948         (dbs): Add netgrdb entry.
56949         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56950         (verify_persistent_db): Handle netgrdb.
56951         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56952         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56953         GETFDNETGR.
56954         (netgroup_response_header): Define.
56955         (innetgroup_response_header): Define.
56956         (datahead): Add netgroup_response_header and innetgroup_response_header
56957         elements.
56958         * nscd/nscd.conf: Add entries for netgroup cache.
56959         * nscd/nscd.h (dbtype): Add netgrdb.
56960         (_PATH_NSCD_NETGROUP_DB): Define.
56961         (netgroup_iov_disabled): Declare.
56962         (xmalloc, xcalloc, xrealloc): Move declarations here.
56963         (cache_search): Adjust prototype.
56964         Add netgroup-related prototypes.
56965         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56966         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56967         (__nscd_innetgr): Declare.
56968         * nscd/selinux.c (perms): Use access_vector_t as element type and
56969         add netgroup-related initializers.
56970         * nscd/netgroupcache.c: New file.
56971         * nscd/nscd_netgroup.c: New file.
56972         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56973         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56974         For four parameters use innetgr.
56975         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56976         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56977         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56978         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56980         * nscd/connections.c (register_traced_file): Don't register file
56981         for disabled databases.
56983 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56985         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56987         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56988         from tree and freeing node.
56990 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56992         * nss/nsswitch.c (__nss_database_lookup): Handle
56993         nss_parse_service_list out of memory case.
56995 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56997         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56998         out of memory case.
57000 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57002         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57003         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57004         pass it down.
57005         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57006         elf_machine_rela, elf_machine_lazy_rel.
57007         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57008         (ELF_DYNAMIC_DO_REL): Likewise.
57009         (ELF_DYNAMIC_DO_RELA): Likewise.
57010         (ELF_DYNAMIC_RELOCATE): Likewise.
57011         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57012         to ELF_DYNAMIC_DO_REL.
57013         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57014         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57015         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57016         elf_machine_rela.
57017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57018         skip_ifunc, don't call ifunc function if non-zero.
57019         (elf_machine_rela): Likewise.
57020         (elf_machine_lazy_rel): Likewise.
57021         (elf_machine_lazy_rela): Likewise.
57022         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57023         (elf_machine_lazy_rel): Likewise.
57024         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57025         Likewise.
57026         (elf_machine_lazy_rel): Likewise.
57027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57028         Likewise.
57029         (elf_machine_lazy_rel): Likewise.
57030         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57031         (elf_machine_lazy_rel): Likewise.
57032         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57033         (elf_machine_lazy_rel): Likewise.
57034         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57035         (elf_machine_lazy_rel): Likewise.
57036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57037         (elf_machine_lazy_rel): Likewise.
57038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57039         (elf_machine_lazy_rel): Likewise.
57040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57041         (elf_machine_lazy_rel): Likewise.
57043 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57045         * nss/nss_files/files-init.c (_nss_files_init): Use static
57046         initialization for all the *_traced_file variables.
57048 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57050         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57052 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57054         [BZ #13226]
57055         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57057 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57060         Reread the line before reparsing it.
57062 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57064         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57066 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57067             Maxim Kuvyrkov  <maxim@codesourcery.com>
57068             Joseph Myers  <joseph@codesourcery.com>
57070         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57071         if needed for __stack_chk_guard.
57073 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57075         * sysdeps/posix/spawni.c (script_execute): Always define it.
57076         It will be optimized away if unused.
57077         (maybe_script_execute): New function.
57078         (__spawni): Call it.
57080         * Makerules: Don't include tls.make.
57081         (config-tls): Always set to thread.
57082         * tls.make.c: File removed.
57084 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57086         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57087         * config.make.in (CPPFLAGS-config): New substituted variable.
57089 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57091         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57093         [BZ #13192]
57094         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57095         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57097 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57099         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57100         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57102         (CALL_FAIL): Likewise.
57103         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57104         (CALL_FAIL): Macro removed.
57105         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57107 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57109         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57110         for __FINITE_MATH_ONLY__ == 1.
57112 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57114         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57115         __ieee754_sqrt instead of sqrt.
57116         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57117         __ieee754_sqrtf instead of sqrtf.
57118         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57119         __floorf instead of floorf.
57120         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57121         __floorf, __truncf instead of floorf, truncf.
57123 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57125         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57127         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57128         __extern_always_inline.
57129         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57130         32-bit.
57132 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57134         * elf/rtld.c (dl_main): Also relocate in dependency order when
57135         doing symbol dependency testing.
57137 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57140         Always define `refsym'.
57142 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57144         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57145         (__FD_ELT): Renamed from __FDELT.
57146         * misc/bits/select2.h (__FD_ELT): Likewise.
57147         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57148         __FD_MASK instead of __FDELT, __FDMASK.
57149         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57150         Likewise.
57151         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57152         Likewise.
57154         * elf/Makefile (gen-ldd): Fix pattern.
57156         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57157         (init_tls): Likewise.
57159 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57161         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57163 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57165         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57166         `struct cmsghdr *' instead of `void *'.
57167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57168         Likewise.
57170 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57172         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57173         if non-absolute.
57174         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57175         ldd_rewrite_script.
57177 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57179         * configure.in: Remove --with-tls option.
57180         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57181         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57182         out in case it is missing.
57183         * sysdeps/ia64/elf/configure.in: Likewise.
57184         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57185         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57186         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57187         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57188         * sysdeps/sh/elf/configure.in: Likewise.
57189         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57190         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57191         * sysdeps/x86_64/elf/configure.in: Likewise.
57192         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57193         * sysdeps/mach/hurd/tls.h: Likewise.
57195         [BZ #13067]
57196         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57198         [BZ #13090]
57199         * configure.in: Fix use of AC_INIT.
57201         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57203 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57205         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57206         __set_errno.
57207         * malloc/hooks.c: Likewise.
57209         [BZ #11929]
57210         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57211         variables statically.
57212         (narenas): Initialize.
57213         (list_lock): Initialize.
57214         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57215         initializtion of main_arena and list_lock.  Small cleanups.
57216         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57217         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57218         Add initializers to main_arena and mp_.
57219         (malloc_state): Remove pagesize member.  Change all users to use
57220         GLRO(dl_pagesize).
57222         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57223         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57224         is always initialized.
57226         * malloc/malloc.c: Removed unused configurations and dead code.
57227         * malloc/arena.c: Likewise.
57228         * malloc/hooks.c: Likewise.
57229         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57231         * include/tls.h: Removed.  USE___THREAD must always be defined.
57232         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57233         * elf/dl-libc.c: Likewise.
57234         * elf/dl-tsd.c: Likewise.
57235         * include/errno.h: Likewise.
57236         * include/netdb.h: Likewise.
57237         * include/resolv.h: Likewise.
57238         * inet/herrno-loc.c: Likewise.
57239         * inet/herrno.c: Likewise.
57240         * malloc/arena.c: Likewise.
57241         * malloc/hooks.c: Likewise.
57242         * malloc/malloc.c: Likewise.
57243         * resolv/res-state.c: Likewise.
57244         * resolv/res_libc.c: Likewise.
57245         * sysdeps/i386/dl-machine.h: Likewise.
57246         * sysdeps/ia64/dl-machine.h: Likewise.
57247         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57248         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57249         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57250         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57251         * sysdeps/sh/dl-machine.h: Likewise.
57252         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57253         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57254         * sysdeps/unix/i386/sysdep.S: Likewise.
57255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57256         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57261         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57265         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57266         * sysdeps/x86_64/dl-machine.h: Likewise.
57267         * tls.make.c: Likewise.
57269         * configure.in: Remove --with-__thread option.  Make tests for
57270         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57271         tls_model attribute fail if no support is available.  Remove
57272         USE_IN_LIBIO.
57273         * Makeconfig: Adjust for dropped configure option.  All features are
57274         now mandatory.
57275         * Makerules: Likewise.
57276         * Versions.def: Likewise.
57277         * argp/argp-fmtstream.c: Likewise.
57278         * argp/argp-fmtstream.h: Likewise.
57279         * argp/argp-help.c: Likewise.
57280         * assert/assert.c: Likewise.
57281         * config.h.in: Likewise.
57282         * config.make.in: Likewise.
57283         * configure: Likewise.
57284         * configure.in: Likewise.
57285         * csu/Versions: Likewise.
57286         * csu/init.c: Likewise.
57287         * elf/tst-audit2.c: Likewise.
57288         * elf/tst-tls10.c: Likewise.
57289         * elf/tst-tls10.h: Likewise.
57290         * elf/tst-tls11.c: Likewise.
57291         * elf/tst-tls12.c: Likewise.
57292         * elf/tst-tls14.c: Likewise.
57293         * elf/tst-tlsmod11.c: Likewise.
57294         * elf/tst-tlsmod12.c: Likewise.
57295         * elf/tst-tlsmod13.c: Likewise.
57296         * elf/tst-tlsmod13a.c: Likewise.
57297         * elf/tst-tlsmod14a.c: Likewise.
57298         * elf/tst-tlsmod15b.c: Likewise.
57299         * elf/tst-tlsmod16a.c: Likewise.
57300         * elf/tst-tlsmod16b.c: Likewise.
57301         * elf/tst-tlsmod7.c: Likewise.
57302         * elf/tst-tlsmod8.c: Likewise.
57303         * elf/tst-tlsmod9.c: Likewise.
57304         * gmon/gmon.c: Likewise.
57305         * grp/fgetgrent_r.c: Likewise.
57306         * grp/putgrent.c: Likewise.
57307         * hurd/fopenport.c: Likewise.
57308         * include/libc-symbols.h: Likewise.
57309         * include/tls.h: Likewise.
57310         * intl/gettextP.h: Likewise.
57311         * intl/loadinfo.h: Likewise.
57312         * locale/global-locale.c: Likewise.
57313         * locale/localeinfo.h: Likewise.
57314         * mach/devstream.c: Likewise.
57315         * malloc/arena.c: Likewise.
57316         * malloc/set-freeres.c: Likewise.
57317         * misc/err.c: Likewise.
57318         * misc/getttyent.c: Likewise.
57319         * misc/mntent_r.c: Likewise.
57320         * posix/getopt.c: Likewise.
57321         * posix/wordexp.c: Likewise.
57322         * pwd/fgetpwent_r.c: Likewise.
57323         * resolv/Versions: Likewise.
57324         * resolv/res_hconf.c: Likewise.
57325         * shadow/fgetspent_r.c: Likewise.
57326         * shadow/putspent.c: Likewise.
57327         * stdio-common/printf_fphex.c: Likewise.
57328         * stdio-common/tmpfile.c: Likewise.
57329         * stdlib/abort.c: Likewise.
57330         * stdlib/fmtmsg.c: Likewise.
57331         * sunrpc/auth_unix.c: Likewise.
57332         * sunrpc/clnt_perr.c: Likewise.
57333         * sunrpc/clnt_tcp.c: Likewise.
57334         * sunrpc/clnt_udp.c: Likewise.
57335         * sunrpc/clnt_unix.c: Likewise.
57336         * sunrpc/openchild.c: Likewise.
57337         * sunrpc/svc_simple.c: Likewise.
57338         * sunrpc/svc_tcp.c: Likewise.
57339         * sunrpc/svc_udp.c: Likewise.
57340         * sunrpc/svc_unix.c: Likewise.
57341         * sunrpc/xdr.c: Likewise.
57342         * sunrpc/xdr_array.c: Likewise.
57343         * sunrpc/xdr_rec.c: Likewise.
57344         * sunrpc/xdr_ref.c: Likewise.
57345         * sunrpc/xdr_stdio.c: Likewise.
57347 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57349         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57351 2011-07-03  Andreas Jaeger  <aj@suse.de>
57353         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57354         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57355         regenerate with gen-libm-tests.pl.
57357 2010-05-12  Petr Baudis  <pasky@suse.cz>
57359         [BZ #11589]
57360         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57361         around j0() zero points by switching to j1().
57362         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57363         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57365         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57367 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57369         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57370         instead of 0.
57371         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57372         instead of 0.
57373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57374         Patch in part by Pavel Roskin <proski@gnu.org>.
57376         [BZ #13138]
57377         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57378         realloc.
57379         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57380         Free memory block if necessary.
57382         [BZ #12847]
57383         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57384         be NULL.  Don't lock in this case.
57386 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57388         * elf/elf.h (ELFOSABI_GNU): New macro.
57389         (ELFOSABI_LINUX): Define to that.
57391 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57393         * string/strncat.c (strncat): Undef the symbol in case it has been
57394         defined in bits/string.h.
57396 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57398         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57400         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57401         link map.
57403 2011-08-17  Andreas Jaeger  <aj@suse.de>
57405         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57407 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57408             Ian Lance Taylor  <iant@google.com>
57410         * math/libm-test.inc (lround_test): New testcase.
57411         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57413 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57415         * Makefile: Remove support for automatic cvs check-ins.
57416         * Makerules: Likewise.
57417         * config.make.in: Likewise.
57418         * configure.in: Likewise.
57419         * intl/Makefile: Likewise.
57420         * locale/Makefile: Likewise.
57421         * po/Makefile: Likewise.
57422         * posix/Makefile: Likewise.
57423         * sysdeps/gnu/Makefile: Likewise.
57424         * sysdeps/mach/hurd/Makefile: Likewise.
57425         * sysdeps/sparc/sparc32/Makefile: Likewise.
57427         [BZ #13118]
57428         * posix/Makefile (bug-regex32-ENV): Define.
57429         Patch by John Stanley <jpsinthemix@verizon.net>.
57431         * misc/Makefile (headers): Add bits/select2.h.
57432         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57433         * misc/bits/select2.h: New file.
57434         * include/bits/select2.h: New file.
57435         * debug/Makefile (routines): Add fdelt_chk.
57436         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57437         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57438         FD_ISSET.
57439         * debug/fdelt_chk.c: New file.
57441         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57442         * wcsmbs/test-wmemcmp.c: Likewise.
57443         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57444         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57446 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57448         * string/Makefile (strop-tests): Add memcmp.
57449         * string/test-wmemcmp.c: New file.
57450         * string/test-memcmp.c: Add wmemcmp support.
57452 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57454         [BZ #13153]
57455         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57456         2011-07-19 change.
57458         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57459         garbage value in a __mach_port_mod_refs call in the cases of the
57460         task-self and thread-self ports.
57462 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57464         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57466 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57468         * elf/dl-load.c (lose): Check for non-null L.
57470 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57472         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57474         * elf/dl-libc.c (dlerror_run): Pass back error code from
57475         dl_catch_error.
57477         [BZ #13123]
57478         * elf/dl-load.c (lose): Free l_origin if it is valid.
57480         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57481         names.
57482         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57483         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57485         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57486         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57487         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57489 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57491         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57492         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57493         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57494         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57495         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57496         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57497         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57498         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57499         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57500         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57502 2011-08-15  Alan Modra  <amodra@gmail.com>
57504         [BZ #13092]
57505         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57506         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57507         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57508         ppc_mcount to static-only-routines.
57509         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57510         __mcount_internal.
57511         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57512         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57514 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57516         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57517         for finite and infinity parameters.
57519 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57522         and add nop instructions for throughput optimization.
57523         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57525 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57527         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57528         aligned copy for power7 with vector-scalar instructions.
57529         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57531 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57534         AVX check.
57536 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57538         [BZ #13144]
57539         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57540         last change.
57542 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57544         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57545         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57546         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57547         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57548         clock_gettime.
57550 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57552         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57553         Forgot to demangle the pointer.
57555         * sysdeps/i386/sysdep.h: Define atom_text_section.
57556         * sysdeps/x86_64/sysdep.h: Likewise.
57557         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57558         section with atom_text_section.
57559         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57560         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57561         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57563         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57565         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57566         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57567         already be defined.  Change to take two parameters and don't assign
57568         result to variable.  Adjust all users.
57569         Define INTERNAL_GETTIME if not already defined.
57570         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57571         call.
57572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57573         HAVE_CLOCK_GETTIME_VSYSCALL.
57574         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57577         gettimeofday vsyscall, just use time.
57579 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57581         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57582         <errno.h>.
57584 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57586         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57587         syscall on x86-64.
57588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57589         syscall.
57590         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57591         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57592         syscall if possible.
57594 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57596         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57597         e_ident.  Don't pass to find_mapsXX.
57598         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57600 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57603         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57604         * sysdeps/x86_64/multiarch/strchr.S: Update.
57605         Check bit_slow_BSF bit.
57606         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57608         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57610 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57612         [BZ #13134]
57613         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57614         before glibc 2.15.
57615         (tryshell): Define.
57616         (__spawni): Change last parameter to be flag.  Test
57617         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57618         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57619         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57620         * posix/spawni.c: Likewise.
57621         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57622         * posix/spawnp.c: Likewise.  Change normal version to use
57623         SPAWN_XFLAGS_USE_PATH.
57624         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57625         SPAWN_XFLAGS_TRY_SHELL.
57627         [BZ #13150]
57628         * posix/glob.h: Remove gcc 1.x support.
57630         [BZ #13068]
57631         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57633 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57635         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57636         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57637         strrchr-sse2-bsf
57638         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57639         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57640         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57641         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57642         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57645 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57647         * sysdeps/x86_64/wcscmp.S: New file.
57649         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57650         wcscmp-c wcscmp-sse2
57651         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57652         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57653         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57654         * wcsmbs/wcscmp.c: Allow renaming.
57656 2011-09-05  David S. Miller  <davem@davemloft.net>
57658         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57659         stack slot, rather than the struct return pointer slot.
57660         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57661         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57663         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57667         * po/ja.po: Update from translation team.
57669         [BZ #13144]
57670         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57671         kernel in 64-bit binaries.
57673 2011-09-01  David S. Miller  <davem@davemloft.net>
57675         * elf/elf.h (HWCAP_SPARC_*): Move to..
57676         * sysdeps/sparc/sysdep.h: this new file and add new values.
57677         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57678         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57679         _DL_HWCAP_COUNT to 24.
57680         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57681         entries.
57682         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57683         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57684         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57685         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57686         instead of magic constants.
57687         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57689 2011-08-31  David S. Miller  <davem@davemloft.net>
57691         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57693         Reimplement to do errno handling inline.
57694         (SYSCALL_ERROR_HANDLER): New macro.
57695         (__SYSCALL_STRING): Do not do errno handling in asm.
57696         (__CLONE_SYSCALL_STRING): Delete.
57697         (__INTERNAL_SYSCALL_STRING): Delete.
57698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57699         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57700         (PSEUDO): Reimplement to do errno handling inline.
57701         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57702         (SYSCALL_ERROR_HANDLER): New macro.
57703         (__SYSCALL_STRING): Do not do errno handling in asm.
57704         (__CLONE_SYSCALL_STRING): Delete.
57705         (__INTERNAL_SYSCALL_STRING): Delete.
57706         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57707         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57708         i386.
57709         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57710         (inline_syscall*): Add 'err' argument.
57711         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57712         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57713         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57714         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57716         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57717         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57719 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57721         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57723 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57725         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57726         directive.
57728 2011-08-24  David S. Miller  <davem@davemloft.net>
57730         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57732 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57734         * elf/Makefile: Add rules to build and run unload8 test.
57735         * elf/unload8.c: New file.
57736         * elf/unload8mod1.c: New file.
57737         * elf/unload8mod1x.c: New file.
57738         * elf/unload8mod2.c: New file.
57739         * elf/unload8mod3.c: New file.
57741         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57742         it wasn't used.
57744 2011-08-23  David S. Miller  <davem@davemloft.net>
57746         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57747         subtract stack bias.
57748         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57749         %sp not %fp in calculations.
57750         (_JMPBUF_UNWINDS_ADJ): Likewise.
57752         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57753         (aio_suspend): Call it to force an exception region around the
57754         AIO_MISC_WAIT() invocation.
57756 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57758         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57759         backslash.
57761 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57763         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57764         protection macro.
57765         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57766         and <dl-machine.h>.
57767         (Elf64_FuncDesc): Remove.
57769 2011-08-22  David S. Miller  <davem@davemloft.net>
57771         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57772         sigaltstack check, add missing cfi directives.
57773         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57774         missing cfi directives, and sigaltstack handling.
57776 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57778         [BZ #11724]
57779         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57780         object is seen twice.
57781         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57783         * elf/Makefile (distribute): Add tst-initorder2.c.
57784         (tests): Add tst-initorder2.
57785         (modules-names): Add tst-initorder2a tst-initorder2b
57786         tst-initorder2c tst-initorder2d.  Add rules to build them.
57787         ($(objpfx)tst-initorder2.out): New rule.
57788         * elf/tst-initorder2.c: New file.
57789         * elf/tst-initorder2.exp: New file.
57791 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57793         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57795         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57796         dependencies back to end of function.
57798         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57799         $(elfobjdir)/ld.so.
57801 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57804         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57806         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57807         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57808         of __vdso_gettimeofday.
57809         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57810         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57811         attribute_hidden.
57812         (_libc_vdso_platform_setup): Remove initialization of
57813         __vdso_gettimeofday and __vdso_time.
57815 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57817         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57818         and fgetc_unlocked.
57819         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57820         getc_unlocked.
57822         * elf/dl-open.c (add_to_global): Report additions to the global scope
57823         for LD_DEBUG=scopes.
57824         (dl_open_worker): Also print scope of newly loaded dependencies.
57825         (_dl_show_scope): Indicate if there is no scope.
57827         [BZ #13114]
57828         * stdio-common/Makefile (tests): Add bug24.
57829         * stdio-common/bug24.c: New file.
57831 2011-08-19  Andreas Jaeger  <aj@suse.de>
57833         [BZ #13114]
57834         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57835         non-existant file when using close-on-exec mode.
57837 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57840         the very first instruction.
57842         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57843         the CFI state in the end.
57844         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57845         inclusion of dl-trampoline.h.
57846         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57848 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57850         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57851         expectations for long double.
57853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57854         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57856 2011-08-14  David S. Miller  <davem@davemloft.net>
57858         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57859         artificual limit depends upon the system page size.
57861 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57863         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57864         * resolv/Makefile: Define CFLAGS-libresolv.
57866 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57868         * nss/makedb.c (compute_tables): Make variables used in nested
57869         function static.
57871 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57873         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57874         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57875         if buffer was too small.
57877         * elf/pldd.c (main): Attach to all threads in the process.
57878         Rewrite /proc handling to use *at functions.
57880 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57882         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57883         specifies first scope to show.
57884         (dl_open_worker): Update callers.  Move printing scope of new
57885         object to before the relocation.
57886         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57887         * sysdeps/generic/ldsodefs.h: Update declaration.
57889         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57890         string for the scope number.
57892 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57894         * nscd/servicescache.c (cache_addserv): Make sure written is always
57895         initialized.
57897 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57899         * sysdeps/i386/i486/bits/atomic.h
57900         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57901         statement expression, so as to suppress "set but not used" warning.
57902         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57904         * string/strncat.c (STRNCAT): Use prototype definition.
57906         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57907         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57908         -Iprograms here.
57909         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57910         (localedef-modules): Add localedef.
57911         (locale-modules): Add locale.
57913         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57914         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57915         to avoid a warning.
57917 2011-08-14  David S. Miller  <davem@davemloft.net>
57919         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57920         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57922 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57924         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57925         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57926         * elf/rtld.c (dl_main): Set l_name of vDSO.
57927         Call _dl_show_scope when DL_DEBUG_SCOPES.
57928         (process_dl_debug): Recognize scopes flag and also set it for all.
57929         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57930         Declare _dl_show_scope.
57932         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57933         (do_dlopen): Pass caller_dlopen to dl_open.
57934         (__libc_dlopen_mode): Initialize caller_dlopen.
57936         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57937         of libc.  Make tolower call locale-independent.  Optimize a bit by
57938         using isdigit instead of isalnum.
57939         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57941 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57943         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57944         was a dependency or dynamically loaded.
57946 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57948         * intl/l10nflist.c: Allow architecture-specific pop function.
57949         * sysdeps/x86_64/l10nflist.c: New file.
57951         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57952         classification.
57954 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57956         * include/dirent.h: Add libc_hidden_proto for scandirat and
57957         scandirat64.  Don't declare __scandirat64.
57958         * dirent/scandirat.c: Add libc_hidden_def.
57959         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57960         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57962 2011-08-10  David S. Miller  <davem@davemloft.net>
57964         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57965         enum.
57966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57968         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57970 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57972         * Versions.def [libc]: Add GLIBC_2.15.
57973         * dirent/Makefile (routines): Add scandirat and scandirat64.
57974         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57975         GLIBC_2.15.
57976         * dirent/dirent.h: Declare scandirat and scandirat64.
57977         * dirent/scandirat.c: New file.
57978         * dirent/scandirat64.c: New file.
57979         * sysdeps/wordsize-64/scandirat.c: New file.
57980         * sysdeps/wordsize-64/scandirat64.c: New file.
57981         * dirent/opendir.c: Define opendirat.
57982         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57983         using scandirat.
57984         * dirent/scandir64.c: Adjust for scandir.c change.
57985         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57986         __scandirat64, and __scandir_cancel_handler.
57987         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57988         additional parameter and use openat instead of open (outside of ld.so).
57989         Add new __opendir as wrapper around __opendirat.
57990         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57991         here without requiring old scandirat implementation.
57993 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57995         * dirent/scandir.c (cancel_handler): Renamed to
57996         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57997         defined.  Adjust users.
57998         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57999         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58001 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58003         * string/test-string.h (IMPL): Use __STRING to expand name and then
58004         stringify it.
58006         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58007         of cleanups.
58009 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58011         * string/Makefile: Update.
58012         (strop-tests): Append strncat.
58013         * string/test-wcscmp.c: New file.
58014         New comprehensive test for wcscmp.
58015         * string/test-strcmp.c: Update.
58016         (WIDE): New define.
58018 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58020         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58021         line.
58023 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58026         encoding to ACE if AI_IDN.
58028 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58030         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58031         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58033 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58035         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58036         Fix overflow bug in strncat.
58037         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58039         * string/test-strncat.c: Update.
58040         Add new tests for checking overflow bugs.
58042 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58045         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58046         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58047         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58048         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58049         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58050         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58051         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58052         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58055         (USE_AS_STRCAT): Define.
58056         Add strcat and strncat support.
58057         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58059 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58061         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58062         __n bigger than INT_MAX+1.
58063         (__strncmp_g): Likewise.
58065 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58067         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58068         * libio/stido.h: Likewise.
58070         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58071         (AF_NFC): Define.
58072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58073         (AF_NFC): Define.
58075         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58076         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58077         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58078         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58081         [BZ #13021]
58082         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58083         installed.
58085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58086         typo.
58087         (_dl_x86_64_save_sse): Likewise.
58089 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58092         OSXSAVE.
58093         (_dl_x86_64_save_sse): Likewise.
58095         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58097         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58099 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58102         change.
58103         (_dl_x86_64_save_sse): Use correct AVX check.
58105 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58107         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58108         bug in strncpy/strncat.
58109         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58111 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58113         * string/tester.c (test_strcat): Add tests for different alignments
58114         of source and destination.
58115         (test_strncat): Likewise.
58117 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58119         [BZ #12852]
58120         * posix/glob.c (glob): Check passed in values before using them in
58121         expressions to avoid some overflows.
58122         (glob_in_dir): Likewise.
58124         [BZ #13007]
58125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58126         check for AVX enablement so that we don't crash with old kernels and
58127         new hardware.
58128         * elf/tst-audit4.c: Add same checks here.
58129         * elf/tst-audit6.c: Likewise.
58131         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58133 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58135         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58137 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58139         * po/cs.po: Update from translation team.
58140         * po/bg.po: Likewise.
58142 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58144         * misc/sys/cdefs.h: Add support for const attribute.
58145         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58146         to gnu_dev_{major,minor,makedev} functions.
58148 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58150         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58152 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58154         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58155         strlen results.
58157 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58160         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58161         register in order to avoid conflicts with the soft frame pointer
58162         being held in r11 when necessary.
58163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58164         (INTERNAL_VSYSCALL_NCS): Likewise.
58166 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58168         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58169         * elf/dl-fini.c (_dl_fini): Adjust caller.
58170         * elf/dl-close.c (_dl_close_worker): Likewise.
58171         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58173 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58175         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58176         "aux_cache->nlibs < 0".
58178         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58179         in the reload-count case.
58181 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58184         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58185         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58186         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58187         * sysdeps/x86_64/multiarch/strcat.S: New file.
58188         * sysdeps/x86_64/multiarch/strncat.S: New file.
58189         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58191         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58192         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58194         (USE_AS_STRCAT): Define.
58195         Add strcat and strncat support.
58196         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58198         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58199         * string/strncat.c: Update.
58200         (USE_AS_STRNCAT): Define.
58201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58202         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58203         and i7.
58204         * sysdeps/x86_64/multiarch/init-arch.h
58205         (bit_Prefer_PMINUB_for_stringop): New.
58206         (index_Prefer_PMINUB_for_stringop): Likewise.
58207         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58208         bit_Prefer_PMINUB_for_stringop.
58210 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58212         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58213         buffer64.
58214         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58215         of casting of buffer.
58216         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58217         buffer32 and buffer64.
58218         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58219         writes instead of casting of buffer.
58220         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58221         buffer32.
58222         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58223         casting of buffer.
58225 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58227         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58229 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58231         * nscd/nscd.c (termination_handler): Don't do anything for a database
58232         if it has not yet been initialized.
58234 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58236         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58238 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58240         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58242 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58244         * po/nl.po: Update from translation team.
58245         * po/sv.po: Likewise.
58247 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58249         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58250         now disallowed by GCC.
58252         * configure.in (use-default-link): Default to yes if a test -shared
58253         link meets our qualifications.
58254         * configure: Regenerated.
58256         * config.make.in (output-format): New variable.
58257         * configure.in: Check for ld --print-output-format support.
58258         * configure: Regenerated.
58259         * Makerules ($(common-objpfx)format.lds)
58260         [$(output-format) != unknown]: Just use $(output-format),
58261         instead of the linker-script munging.
58263 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58265         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58266         of $(common-objpfx)shlib.lds.
58267         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58269         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58270         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58272         * configure.in (-z relro check): Adjust test code to add a large
58273         writable data section after it.
58274         * configure: Regenerated.
58276 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58278         * configure.in (-z relro check): Fix test code to make the variable
58279         truly const.
58280         * configure: Regenerated.
58282 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58284         * nscd/nscd.h (struct traced_file): Define.
58285         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58286         elements.  Add traced_files.
58287         (inotify_fd): Declare.
58288         (register_traced_file): Declare.
58289         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58290         (inotify_fd): Export.
58291         (resolv_conf_descr): Remove.
58292         (nscd_init): Move inotify descriptor creation to main.
58293         Don't register files for notification here.
58294         (register_traced_file): New function.
58295         (invalidate_cache): Don't use reset_res to determine whether to call
58296         res_init, go through the list of registered files.
58297         (main_loop_poll): The inotify descriptors are now stored in the
58298         structures for the traced files.
58299         (main_loop_epoll): Likewise
58300         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58301         to __nss_disable_nscd.
58302         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58303         for a database anymore.  Check the records for all the registered
58304         files instead.
58305         * nss/Makefile (libnss_files-routines): Add files-init.
58306         (libnss_db-routines): Add db-init.
58307         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58308         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58309         * nss/nss_db/db-init.c: New file.
58310         * nss/nss_files/files-init.c: New file.
58311         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58312         __nss_lookup_function.
58313         (__nss_lookup_function): Call nss_load_library.
58314         (nss_load_all_libraries): New function.
58315         (__nss_disable_nscd): Take parameter with callback function for files
58316         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58317         used for the cached services.
58318         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58319         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58320         options for features to all the files in nscd.
58322         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58324 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58326         * csu/elf-init.c (__libc_csu_init): Comment typo.
58328 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58330         * po/pl.po: Update from translation team.
58331         * po/ja.po: Likewise.
58332         * po/ru.po: Likewise.
58333         * po/ko.po: Likewise.
58334         * po/fr.po: Likewise.
58336 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58338         * configure.in (.ctors/.dtors header and trailer check):
58339         Use an empirical test on a built program.
58340         * configure: Regenerated.
58342         * configure.in (-z relro check): Use an empirical test on a built DSO.
58343         Detect, but do not require, on ia64.
58344         * configure: Regenerated.
58346         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58347         Update tests that use readelf to use $READELF instead.
58348         * configure: Regenerated.
58350 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58352         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58353         if the result is not used.
58355 2011-07-05  Andreas Jaeger  <aj@suse.de>
58357         [BZ#9696]
58358         * stdlib/tst-strtod.c: Add testcase.
58360 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58362         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58363         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58364         The latter has a higher limit.  Take additional parameter to pass to
58365         the new function.
58366         (__pathconf): Pass file to __statfs_link_max.
58367         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58368         __statfs_link_max.
58369         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58370         __statfs_link_max.
58372         [BZ #12868]
58373         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58374         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58375         Handle Lustre.
58376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58377         (__statfs_filesize_max): Likewise.
58378         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58380 2011-07-05  Andreas Jaeger  <aj@suse.de>
58382         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58384 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58386         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58387         `status' variable.
58388         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58389         Likewise.
58391 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58393         * Makefile (strop-tests): Add strncat.
58394         * string/test-strncat.c: New file.
58396 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58398         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58400 2011-06-21  Andreas Jaeger  <aj@suse.de>
58402         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58403         Copy rule from iconvdata/Makefile.
58405 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58407         [BZ #12922]
58408         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58409         but no long options are defined, just return 'W'.
58411 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58413         [BZ #9696]
58414         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58416 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58418         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58419         netgroups to read.
58420         (innetgr): Likewise.
58422 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58424         * config.make.in (install_root): Default to $(DESTDIR).
58426 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58430 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58432         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58434         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58435         containing directory rather than embedding absolute directory names.
58437         * scripts/check-local-headers.sh: Rewritten using awk.
58438         Match by word, not by line.  Print error messages for matches.
58439         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58441         * Makerules [shlib-lds-flags empty]:
58442         ($(common-objpfx)libc_pic.opts): New target.
58443         ($(common-objpfx)libc_pic.os.clean): New target.
58444         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58446         * config.make.in (OBJCOPY): New variable.
58447         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58448         * configure: Regenerated.
58450         * config.make.in (use-default-link): New variable.
58451         * configure.in (use_default_link): Grok --with-default-link to set it.
58452         * configure: Regenerated.
58453         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58454         (shlib-lds, shlib-lds-flags): Define to empty.
58456         * Makerules (shlib-lds): New variable.
58457         (shlib-lds-flags): New variable.
58458         (build-shlib, build-moduile, build-module-asneeded): Use it.
58459         ($(common-objpfx)libc.so): Use $(shlib-lds).
58460         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58461         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58463         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58464         DT_FLAGS/DT_FLAGS_1 with zero flags.
58466         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58467         linker script munging.
58469 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58471         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58472         as 128-bit value.
58473         * crypt/sha512.c (sha512_process_block): Perform total addition using
58474         128-bit if possible.
58475         (__sha512_finish_ctx): Likewise.
58476         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58477         as 64-bit value.
58478         * crypt/sha256.c (SWAP64): Define.
58479         (sha256_process_block): Perform total addition using 64-bit if
58480         possible.
58481         (__sha256_finish_ctx): Likewise.
58483 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58485         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58487         * nscd/hstcache.c (cache_addhst): Likewise.
58488         * nscd/grpcache.c (cache_addgr): Likewise.
58489         * nscd/aicache.c (addhstaiX): Likewise
58490         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58492 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58494         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58496         * nscd/hstcache.c (cache_addhst): Likewise.
58497         * nscd/grpcache.c (cache_addgr): Likewise.
58498         * nscd/aicache.c (addhstaiX): Likewise
58500 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58502         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58503         domain only when needed.
58505 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58508         is always restored.
58510 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58512         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58513         are re-adding the entry.
58514         * nscd/servicescache.c (cache_addserv): Likewise.
58516 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58518         * sysdeps/generic/dl-irel.h: fix protection against multiple
58519         inclusions.
58520         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58522 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58524         [BZ #12935]
58525         * malloc/memusage.sh: Fix quoting in message.
58526         * debug/xtrace.sh: Likewise.
58528         * configure.in: Remove support for --experimental-malloc option, make
58529         it the default.
58530         * config.make.in: Likewise.
58531         * malloc/Makefile: Likewise.
58533 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58535         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58536         two-byte characters.
58538 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58540         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58541         AC_CACHE_CHECK invocation.
58542         * configure: Regenerated.
58544         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58546 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58548         [BZ #12350]
58549         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58550         bit from old_res_options.
58552         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58554         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58555         value type for setfct.
58557 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58560         __gettimeofday instead of gettimeofday.
58562 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58564         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58566 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58571         info.
58573 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58576         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58577         strcpy-sse2-unaligned strncpy-sse2-unaligned
58578         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58579         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58580         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58581         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58582         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58583         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58584         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58585         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58586         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58587         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58588         (STRCPY): Support SSE2 and SSSE3 versions.
58590 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58592         [BZ #12874]
58593         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58594         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58595         kernels which artificially limit size of requests.
58597 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58600         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58601         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58602         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58603         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58604         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58605         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58606         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58607         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58609         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58610         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58611         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58612         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58613         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58615         Enable unaligned load optimization for Intel Core i3, i5 and i7
58616         processors.
58617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58618         Define.
58619         (index_Fast_Unaligned_Load): Define.
58620         (HAS_FAST_UNALIGNED_LOAD): Define.
58622 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58624         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58626 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58628         [BZ #12907]
58629         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58630         until it is clear that the information is realy needed.
58631         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58633 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58637 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58640         /sys/devices/system/cpu/online if it is usable.
58642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58643         reading the information from the /proc filesystem to once a second.
58645 2011-06-21  Andreas Jaeger  <aj@suse.de>
58647         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58648         NULL after inclusion of kernel headers.
58650 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58652         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58653         calls to internal_setent.
58655         [BZ #12885]
58656         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58657         addresses using gethostbyname4_r ignore IPv4 addresses.
58659         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58660         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58662         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58664 2011-06-20  David S. Miller  <davem@davemloft.net>
58666         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58667         inclusions.
58668         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58670         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58671         (elf_irel): Use it.
58672         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58673         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58674         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58675         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58676         * sysdeps/x86_64/dl-irel.h: Likewise.
58678         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58679         * elf/dl-sym.c: Likewise.
58681 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58683         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58684         need to dereference resplen2.
58686 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58688         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58690 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58692         * Makeconfig: Define vardbdir and inst_vardbdir.
58693         * nss/Makefile: Add rules to install db-Makefile.
58695         * nss/nss_db/db-XXX.c: Cleanup.
58697         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58698         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58699         GLIBC_PRIVATE.
58700         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58701         * nss/makedb.c: Implement -g option to specify that value strings
58702         are generated and should not be added to table iterated over for
58703         get*ent calls.
58704         * nss/nss_db/db-initgroups.c: New file.
58706         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58707         interface.
58709         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58710         (internal_getgrouplist): Adjust to name change.
58711         Update use_initgroups_entry if this is not the first call.
58712         * nss/databases.def: Add initgroups entry.
58714         * nss/makedb.c (compute_tables): Check result of multiple hash table
58715         sizes to minimize maximum chain length.
58717 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58719         * Versions.def: Add entry for libnss_db.
58720         * shlib-versions: Likewise.
58721         * nss/Makefile: Add rules to build libnss_db.
58722         * nss/Versions: Add libnss_db information.  Organize libnss_files
58723         entries better.
58724         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58725         makedb progra.  Some minor improvements to generate smaller files.
58726         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58727         here from...
58728         * nss/makedb.c: ...here.
58729         Improve database format to be smaller and require less memory at
58730         runtime.
58731         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58732         db anymore.
58733         * nss/nss_db/db-netgrp.c: Likewise.
58734         * nss/nss_db/db-open.c: Likewise.
58735         * nss/nss_files/flies-XXX.x: Adjust comments.
58736         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58737         * nss/nss_files/files-grp.c: Likewise.
58738         * nss/nss_files/files-hosts.c: Likewise.
58739         * nss/nss_files/files-network.c: Likewise.
58740         * nss/nss_files/files-proto.c: Likewise.
58741         * nss/nss_files/files-pwd.c: Likewise.
58742         * nss/nss_files/files-rpc.c: Likewise.
58743         * nss/nss_files/files-service.c: Likewise.
58744         * nss/nss_files/files-sgrp.c: Likewise.
58745         * nss/nss_files/files-spwd.c: Likewise.
58746         * nss/nss_db/db-alias.c: Removed.
58747         * nss/nss_db/dummy-db.h: Removed.
58749 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58751         * nss/makedb.c: Rewritten to not use database library.
58752         * nss/Makefile: Update to build new makedb program.
58754 2011-06-14  Andreas Jaeger  <aj@suse.de>
58756         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58757         memset declaration.
58759 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58762         tmpbuf.
58764 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58766         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58767         * elf/Makefile ($(objpfx)ld.so): Likewise.
58769         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58770         Don't list ld.so twice in dependencies.
58772         * posix/bug-regex31.c: Include <stdlib.h>.
58774         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58776         * nis/nss_compat/compat-spwd.c
58777         (getspent_next_nss_netgr): Remove unused variable.
58778         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58780         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58781         nonmembers" output to use the right array.
58783         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58785         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58787         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58788         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58789         * catgets/gencat.c (read_input_file): Likewise.
58790         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58792         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58793         variable definition inside #if's controlling its use.
58795         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58797         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58799         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58801         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58802         unreachable code.
58804         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58806         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58807         * configure: Regenerated.
58809         * Makerules: Revert last change.
58810         * elf/Makefile: Likewise.
58812 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58814         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58815         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58816         (reloc-link): Likewise.
58818 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58820         * elf/Makefile: Add rules to build pldd.
58821         * elf/pldd.c: New file.
58822         * elf/pldd-xx.c: New file.
58824 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58826         * version.h: Update for 2.15 development version.
58828 2011-06-07  David S. Miller  <davem@davemloft.net>
58830         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58831         ifuncs.
58832         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58833         elf_machine_lazy_rel): Likewise.
58834         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58835         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58836         elf_machine_lazy_rel): Likewise.
58837         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58838         dl_hwcap via passed in argument.
58839         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58840         Likewise.
58842 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58844         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58846 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58848         [BZ #12849]
58849         * manual/fdl-1.1.texi: New file, verbatim from:
58850         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58851         * manual/lgpl-2.1.texi: New file, verbatim from:
58852         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58853         * manual/Makefile (licenses): New variable, list those new file names.
58854         (texis): Use it.
58855         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58857         * manual/fdl.texi: File removed.
58858         * manual/lesser.texi: File removed.
58859         * manual/libc.texinfo (Copying, Documentation License):
58860         Use new @include file names, put @appendix directive before @include.
58862 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58864         [BZ #12841]
58865         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58866         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58867         (mq_open): Add __NTH.
58869 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58872         Assume Intel Core i3/i5/i7 processor if AVX is available.
58874 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58877         typo.
58879 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58881         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58882         memory.  Use alloca_account.  Fix memory leak when retrying.
58884 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58886         * version.h (RELEASE): Bump for 2.14 release.
58887         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58889         * config.make.in (RANLIB): Remove entry.
58891 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58893         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58894         (libc.pot): Work around missing support for .ksh extension in xgettext.
58896         [BZ #12684]
58897         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58898         if both request failed.
58899         (send_dg): In case of server errors clear resplen or *resplen2.
58901         [BZ #12454]
58902         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58903         when there are multiple maps.
58904         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58905         (_dl_fini): Remove test here.
58907         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58909 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58911         [BZ #12350]
58912         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58913         bit from old_res_options.
58914         (gaih_inet): Likewise.
58916         [BZ #11099]
58917         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58918         as signed.
58920         * resolv/res_init.c (res_setoptions): Make the code more compact.
58922         [BZ #11558]
58923         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58924         set RES_USEVC.
58926         [BZ #11634]
58927         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58929         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58931         [BZ #11781]
58932         * malloc/malloc.h: Declare malloc hook variables as volatile.
58934         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58935         in last patch.
58937         [BZ #11799]
58938         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58939         raise in the comment.
58940         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58941         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58942         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58944 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58946         [BZ #12811]
58947         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58948         grow the buffers more if it already has to be sufficient.
58949         (build_wcs_upper_buffer): Likewise.
58950         * posix/regexec.c (check_matching): Likewise.
58951         (clean_state_log_if_needed): Likewise.
58952         (extend_buffers): Don't enlarge buffers beyond size of the input
58953         buffer.
58954         Patches mostly by Emil Wojak <emil@wojak.eu>.
58955         * posix/bug-regex32.c: New file.
58956         * posix/Makefile (tests): Add bug-regex32.
58958         * locale/findlocale.c (_nl_find_locale): Return right away if
58959         _nl_explode_name failed.
58960         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58962         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58964         * debug/xtrace.sh: Unify messages.
58965         * malloc/memusage.sh: Likewise.
58967         [BZ #12813]
58968         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58969         time symbol from vDSO.  Substitute with vsyscall if not available.
58970         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58971         __vdso_time.
58973         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58974         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58975         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58976         Add sendmmsg and internal_sendmmsg.
58977         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58978         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58979         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58981         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58982         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58983         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58985 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58987         [BZ #12813]
58988         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58989         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58990         available.
58991         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58992         __vdso_getcpu.
58994         [BZ #12814]
58995         * iconvdata/Makefile (tests): Add bug-iconv9.
58996         * iconvdata/bug-iconv9.c: New file.
58998 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59000         [BZ #12814]
59001         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59003 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59005         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59006         (struct user_regs_struct): Change intcs field back to cs.
59008 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59010         * po/ja.po: Update from translation team.
59012 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59014         [BZ #12795]
59015         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59016         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59018 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59020         * stdlib/longlong.h: Update from GCC.
59022 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59024         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59025         parameter name.
59026         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59027         Add parameter name.
59028         (__sysconf): Pass it down.
59030 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59032         [BZ #12671]
59033         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59034         some situations.
59035         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59036         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59037         add in in __libc_use_alloca calls.  Adjust callers.
59038         (glob): Use malloc in some situations.
59040         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59041         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59042         pltexit.
59044 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59046         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59047         and CLOCK_BOOTTIME_ALARM.
59049         [BZ #12782]
59050         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59051         is returned.
59053         * string/_strerror.c (__strerror_r): Print negative errors as signed
59054         numbers.
59056         [BZ #12777]
59057         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59058         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59059         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59061         * configure.in: Fix typo in redirection and correct removal of test
59062         files in two cases.
59064         [BZ #12788]
59065         * locale/setlocale.c (new_composite_name): Fix test to check for
59066         identical name of all categories.
59068         [BZ #12792]
59069         * libio/filedoalloc.c (local_isatty): New function.
59070         (_IO_file_doallocate): Use local_isatty.
59071         * stdio-common/perror.c (perror): In case a new stream is used
59072         forward the stream error.
59073         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59074         error flag.
59076 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59078         [BZ #11869]
59079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59080         alloca.
59081         * include/alloca.h (extend_alloca_account): Define.
59083         [BZ #11857]
59084         * posix/regex.h: Fix comments with documentation of user-accessible
59085         fields after compilation and describe correct free'ing of pattern
59086         after re_compile_pattern.
59087         Patch by Reuben Thomas <rrt@sc3d.org>.
59089 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59091         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59092         and -mno-altivec to prevent the compiler from using Altivec and/or
59093         VSX instructions when the corresponding registers are not available.
59095 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59097         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59099 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59101         * libio/freopen.c (freopen): Use __dup2, not dup2.
59102         * libio/freopen64.c (freopen64): Likewise.
59104 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59106         [BZ #12775]
59107         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59108         * math/Makefile (tests): Add test-powl.
59109         (CFLAGS-test-powl.c): Define.
59110         * math/test-powl.c: New file.
59112 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59114         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59116 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59118         [BZ #11837]
59119         * iconvdata/gb18030.c: Update to GB18020-2005.
59121 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59123         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59124         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59125         Patch by Aharon Robbins <arnold@skeeve.com>.
59127         [BZ #11892]
59128         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59129         on the stack.
59131         [BZ #11895]
59132         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59133         through underflows.
59135         [BZ #12766]
59136         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59137         point to strings before performing equality test for error_one_per_line
59138         mode.
59140         [BZ #11697]
59141         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59143         [BZ #11820]
59144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59145         (struct user_fpregs_struct): Avoid __uint*_t types.
59147         [BZ #6420]
59148         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59149         symbol info.  Use it instead of calling _dl_addr locally.
59150         (lock_and_info): New function.
59151         (tr_freehook): Call lock_and_info and pass symbol info as additional
59152         parameter to tr_where.
59153         (tr_mallochook): Likewise.
59154         (tr_reallochook): Likewise.
59155         (tr_memalignhook): Likewise.
59157         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59158         used and couldn't be at all thread-safe.
59160 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59162         * libio/freopen.c (freopen): Don't close old file descriptor
59163         before the new one is opened.  Instead dup the new file descriptor
59164         to the old one after the new stream is created.
59165         * libio/freopen64.c (freopen64): Likewise.
59166         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59167         * libio/fileops.c (_IO_new_file_close_it): Handle new
59168         _IO_FLAGS2_NOCLOSE flag.
59169         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59170         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59171         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59172         _IO_FLAGS2_NOCLOSE flag.
59173         * include/unistd.h: Add hidden_proto for dup3.
59174         Define __have_dup3.
59175         * io/dup3.c: Define hidden symbol.
59176         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59178         [BZ #7101]
59179         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59180         when an incomplete long option is used.
59181         * posix/tst-getopt_long1.c: New file.
59182         * posix/Makefile (tests): Add tst-getopt_long1.
59184         [BZ #10138]
59185         * scripts/config.guess: Update from autoconf-2.68.
59186         * scripts/config.sub: Likewise.
59188         [BZ #10157]
59189         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59190         tests into ...
59191         (has_cpuclock): ...this.  New function.
59192         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59193         macro here based on has_cpuclock code.
59195         [BZ #10149]
59196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59197         First byte (not low byte) is now always NUL.
59198         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59201         Use non-cancelable interfaces.
59203         [BZ #9809]
59204         * locale/iso-639.def: Add entry for Sorani.
59206         [BZ #11901]
59207         * include/stdlib.h: Move include protection to the right place.
59208         Define abort_msg_s.  Declare __abort_msg with it.
59209         * stdlib/abort.c (__abort_msg): Adjust type.
59210         * assert/assert.c (__assert_fail_base): New function.  Majority
59211         of code from __assert_fail.  Allocate memory for __abort_msg with
59212         mmap.
59213         (__assert_fail): Now call __assert_fail_base.
59214         * assert/assert-perr.c: Remove bulk of implementation.  Use
59215         __assert_fail_base.
59216         * include/assert.hL Declare __assert_fail_base.
59217         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59218         mmap.
59219         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59221 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59223         [BZ #11952]
59224         [BZ #12453]
59225         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59226         until all modules are registered in the DTV.
59227         * elf/Makefile: Add rules to build and run tst-tls19.
59228         * elf/tst-tls19.c: New file.
59229         * elf/tst-tls19mod1.c: New file.
59230         * elf/tst-tls19mod2.c: New file.
59231         * elf/tst-tls19mod3.c: New file.
59232         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59234         [BZ #12083]
59235         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59236         correctly.
59238         [BZ #12601]
59239         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59240         two-byte sequence errors.
59241         * iconvdata/Makefile (tests): Add bug-iconv8.
59242         * iconvdata/bug-iconv8.c: New file.
59244         [BZ #12626]
59245         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59246         buf2 definition.
59248         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59250         [BZ #12432]
59251         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59252         (dummy_getcfa): New function.
59253         (init): Get _Unwind_GetCFA address, use dummy if not found.
59254         (backtrace_helper): In recursion check, also check whether CFA changes.
59255         (__backtrace): Completely initialize arg.
59257         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59258         storing incomplete byte sequence in state object.  Avoid testing for
59259         guaranteed too small input if we know there is enough data available.
59261 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59263         * Makeconfig (+link-pie): Indent.
59264         * Rules (binaries-pie): Define if $(have-fpie) and
59265         $(build-shared).
59266         (binaries-shared): Also filter out $(binaries-pie).
59267         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59268         * nscd/Makefile (others-pie): Add nscd.
59269         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59270         ($(objpfx)nscd): Remove command override.
59271         * login/Makefile (others-pie): Add pt_chown.
59272         ($(objpfx)pt_chown): Remove command override.
59273         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59274         remove command overrides.
59276 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59278         * libio/tst_putwc.c: Fix error messages.
59280         [BZ #12724]
59281         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59282         currently writing and seek to current position when not.
59283         * libio/Makefile (tests): Add bug-fclose1.
59284         * libio/bug-fclose1.c: New file.
59286 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59288         [BZ #12511]
59289         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59290         don't set DF_1_NODELETE here.
59291         (do_lookup_x): When entering new entry test for copy relocation
59292         and if necessary set DF_1_NODELETE flag.
59293         * elf/tst-unique4.cc: New file.
59294         * elf/tst-unique4.h: New file.
59295         * elf/tst-unique4lib.cc: New file.
59296         * elf/Makefile: Add rules to build and run tst-unique4.
59297         Patch by Piotr Bury <pbury@goahead.com>.
59299 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59301         [BZ #12052]
59302         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59304         [BZ #12625]
59305         * misc/mntent_r.c (addmntent): Flush the stream after the output
59307         [BZ #12393]
59308         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59309         (is_trusted_path_normalize): Skip initial colon.  Append slash
59310         to empty buffer.  Duplicate is_trusted_path code but allow
59311         constructed patch to be prefix.
59312         (is_dst): Allow $ORIGIN followed by /.
59313         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59314         Correct testing of result of is_trusted_path_normalize
59315         (decompose_rpath): Fix warning.
59317 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59319         [BZ #11257]
59320         * grp/initgroups.c (internal_getgrouplist): When we found the service
59321         list through the initgroups entry in nsswitch.conf do not always
59322         continue on a successful lookup.  Don't always use the
59323         __nss_group_database value if it is set.
59324         * nss/nsswitch.conf (initgroups): Change action for successful db
59325         lookup to continue for compatibility.
59327 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59329         [BZ #11532]
59330         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59331         and CP774 modules.
59332         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59333         and CP774 modules.
59334         * iconvdata/tst-tables.sh: Likewise.
59335         * iconvdata/cp770.c: New file.
59336         * iconvdata/cp771.c: New file.
59337         * iconvdata/cp772.c: New file.
59338         * iconvdata/cp773.c: New file.
59339         * iconvdata/cp774.c: New file.
59340         * iconvdata/testdata/CP770: New file.
59341         * iconvdata/testdata/CP770..UTF8: New file.
59342         * iconvdata/testdata/CP771: New file.
59343         * iconvdata/testdata/CP771..UTF8: New file.
59344         * iconvdata/testdata/CP772: New file.
59345         * iconvdata/testdata/CP772..UTF8: New file.
59346         * iconvdata/testdata/CP773: New file.
59347         * iconvdata/testdata/CP773..UTF8: New file.
59348         * iconvdata/testdata/CP774: New file.
59349         * iconvdata/testdata/CP774..UTF8: New file.
59351         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59352         END CHARMAP line.
59353         * iconvdata/gen-8bit-gap.sh: Likewise.
59354         * iconvdata/gen-8bit.sh: Likewise.
59356         * locale/iso-639.def: Add ary entry.
59358         [BZ #11258]
59359         * locale/C-translit.h.in: Add U20A1 transliteration.
59361         [BZ #12178]
59362         * locale/iso-639.def: Add wae entry.
59363         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59365         [BZ #12545]
59366         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59367         for n.
59369         [BZ #12711]
59370         * locale/C-translit.h.in: Add entry for U20B9.
59371         Patch by pravin.d.s@gmail.com.
59373 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59375         [BZ #12713]
59376         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59377         ENAMETOOLONG use generic getcwd.
59378         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59379         in rtld.  Use *stat64.
59380         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59381         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59382         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59383         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59384         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59385         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59386         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59387         __fstatat64 macros.
59388         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59389         * dirent/rewinddir.c: Add libc_hidden_def.
59390         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59391         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59393         * include/dirent.h (__alloc_dir): Add flags parameter.
59394         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59395         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59396         __alloc_dir.
59397         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59398         from fdopendir if O_CLOEXEC is already set.
59400 2011-03-15  Alan Modra  <amodra@gmail.com>
59402         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59403         l_tls_firstbyte_offset non-zero.  Save padding offset in
59404         l_tls_firstbyte_offset for later use.
59405         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59406         freeing static tls block.
59408 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59410         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59411         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59412         being defined by the kernel headers.
59414 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59416         [BZ #12734]
59417         * resolv/resolv.h: Define RES_NOTLDQUERY.
59418         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59419         no-tld-query and set RES_NOTLDQUERY.
59420         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59421         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59422         modern BIND to search name as TLD unless forbidden.
59424 2011-05-07  Petr Baudis  <pasky@suse.cz>
59425             Ulrich Drepper  <drepper@gmail.com>
59427         [BZ #12393]
59428         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59429         (is_trusted_path): ...to here.
59430         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59431         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59432         using is_trusted_path_normalize() in setuid scripts.
59434 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59436         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59437         __BEGIN/__END_DECLS.
59439 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59442         NSS_STATUS_NOTFOUND if no record was found.
59444 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59446         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59447         (headers-not-in-tirpc): Remove rpc/netdb.h
59448         * resolv/netdb.h: Revert last change.
59450 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59452         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59453         circular dependency between libgcc.a and libc.a.
59455 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59457         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59458         * nis/Makefile: Don't install rpcsvc/*.
59459         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59460         instead of <rpc/types.h>.
59461         (MAXHOSTNAMELEN): Define.
59463 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59465         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59467 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59469         [BZ #12714]
59470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59471         gethostbyname4_r when IPv6 results are possible.
59473 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59475         [BZ #12723]
59476         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59477         _PC_PIPE_BUF handling.
59479 2011-04-30  Bruno Haible  <bruno@clisp.org>
59481         [BZ #12717]
59482         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59483         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59484         to 'int'.
59485         * inet/getnameinfo.c (getnameinfo): Likewise.
59487 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59489         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59490         to groups setting in database lookup.
59491         * nss/nsswitch.conf: Add initgroups entry.
59493 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59495         [BZ #12685]
59496         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59497         mode string.
59498         Patch by Eric Blake <eblake@redhat.com>.
59500 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59502         * sunrpc/Makefile (need-export-routines): Add svc_run.
59503         (routines): Remove svc_run.
59504         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59505         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59506         * sunrpc/svc_run.c (svc_run): Likewise.
59507         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59509 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59511         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59512         problem in reallocation in last patch.
59514 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59516         * sunrpc/Makefile: Move inclusion of Rules.
59518 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59520         * nss/nss_files/files-initgroups.c: New file.
59521         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59522         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59523         _nss_files_initgroups_dyn.
59525 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59527         * elf/elf.h (R_ARM_IRELATIVE): Define.
59529 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59531         * po/ru.po: Update from translation team.
59533 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59535         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59536         dependencies.
59538 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59540         [BZ #12653]
59541         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59542         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59545         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59547 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59549         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59550         differing bytes.
59551         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59552         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59553         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59555 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59557         [BZ #12420]
59558         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59559         storing it.
59560         * stdlib/bug-getcontext.c: New file.
59561         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59563 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59565         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59566         instructions into .machine "z9-109".
59567         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59568         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59570 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59572         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59573         between environment variables and auxiliary vector.
59575 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59577         * Makefile: Add rules to build linkobj/libc.so.
59578         * include/libc-symbols.h: Define libc_hidden_nolink.
59579         * include/rpc/auth.h: Mark functions which are to be hidden.
59580         * include/rpc/auth_des.h: Likewise.
59581         * include/rpc/auth_unix.h: Likewise.
59582         * include/rpc/clnt.h: Likewise.
59583         * include/rpc/des_crypt.h: Likewise.
59584         * include/rpc/key_prot.h: Likewise.
59585         * include/rpc/pmap_clnt.h: Likewise.
59586         * include/rpc/pmap_prot.h: Likewise.
59587         * include/rpc/pmap_rmt.h: Likewise.
59588         * include/rpc/rpc_msg.h: Likewise.
59589         * include/rpc/svc.h: Likewise.
59590         * include/rpc/svc_auth.h: Likewise.
59591         * include/rpc/xdr.h: Likewise.
59592         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59593         * nss/Makefile: Likewise.
59594         * sunrpc/Makefile: Don't install headers.  Build library with normal
59595         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59596         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59597         for the compat linking library.  Remove use of INTDEF/INTUSE.
59598         * sunrpc/auth_none.c: Likewise.
59599         * sunrpc/auth_unix.c: Likewise.
59600         * sunrpc/authdes_prot.c: Likewise.
59601         * sunrpc/authuxprot.c: Likewise.
59602         * sunrpc/clnt_gen.c: Likewise.
59603         * sunrpc/clnt_perr.c: Likewise.
59604         * sunrpc/clnt_raw.c: Likewise.
59605         * sunrpc/clnt_simp.c: Likewise.
59606         * sunrpc/clnt_tcp.c: Likewise.
59607         * sunrpc/clnt_udp.c: Likewise.
59608         * sunrpc/clnt_unix.c: Likewise.
59609         * sunrpc/des_crypt.c: Likewise.
59610         * sunrpc/des_soft.c: Likewise.
59611         * sunrpc/get_myaddr.c: Likewise.
59612         * sunrpc/key_call.c: Likewise.
59613         * sunrpc/key_prot.c: Likewise.
59614         * sunrpc/netname.c: Likewise.
59615         * sunrpc/pm_getmaps.c: Likewise.
59616         * sunrpc/pm_getport.c: Likewise.
59617         * sunrpc/pmap_clnt.c: Likewise.
59618         * sunrpc/pmap_prot.c: Likewise.
59619         * sunrpc/pmap_prot2.c: Likewise.
59620         * sunrpc/pmap_rmt.c: Likewise.
59621         * sunrpc/publickey.c: Likewise.
59622         * sunrpc/rpc_cmsg.c: Likewise.
59623         * sunrpc/rpc_common.c: Likewise.
59624         * sunrpc/rpc_dtable.c: Likewise.
59625         * sunrpc/rpc_prot.c: Likewise.
59626         * sunrpc/rpc_thread.c: Likewise.
59627         * sunrpc/rtime.c: Likewise.
59628         * sunrpc/svc.c: Likewise.
59629         * sunrpc/svc_auth.c: Likewise.
59630         * sunrpc/svc_authux.c: Likewise.
59631         * sunrpc/svc_raw.c: Likewise.
59632         * sunrpc/svc_run.c: Likewise.
59633         * sunrpc/svc_simple.c: Likewise.
59634         * sunrpc/svc_tcp.c: Likewise.
59635         * sunrpc/svc_udp.c: Likewise.
59636         * sunrpc/svc_unix.c: Likewise.
59637         * sunrpc/svcauth_des.c: Likewise.
59638         * sunrpc/xcrypt.c: Likewise.
59639         * sunrpc/xdr.c: Likewise.
59640         * sunrpc/xdr_array.c: Likewise.
59641         * sunrpc/xdr_float.c: Likewise.
59642         * sunrpc/xdr_intXX_t.c: Likewise.
59643         * sunrpc/xdr_mem.c: Likewise.
59644         * sunrpc/xdr_rec.c: Likewise.
59645         * sunrpc/xdr_ref.c: Likewise.
59646         * sunrpc/xdr_sizeof.c: Likewise.
59647         * sunrpc/xdr_stdio.c: Likewise.
59649 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59651         [BZ #12650]
59652         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59653         * sysdeps/ia64/dl-tls.h: Likewise.
59654         * sysdeps/powerpc/dl-tls.h: Likewise.
59655         * sysdeps/s390/dl-tls.h: Likewise.
59656         * sysdeps/sh/dl-tls.h: Likewise.
59657         * sysdeps/sparc/dl-tls.h: Likewise.
59658         * sysdeps/x86_64/dl-tls.h: Likewise.
59659         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59661 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59663         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59664         rpath element also skip the following colon.
59665         (expand_dynamic_string_token): Add is_path parameter and pass
59666         down to DL_DST_REQUIRED and _dl_dst_substitute.
59667         (decompose_rpath): Call expand_dynamic_string_token with
59668         non-zero is_path.  Ignore empty rpaths.
59669         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59670         with zero is_path.
59672 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59675         Make cancelable.
59677 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59679         [BZ #12655]
59680         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59681         Patch by Filipe David Manana <fdmanana@apache.org>.
59683 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59685         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59686         Maintain aligned stack.
59687         (CHECK_RSP): Remove unused macro.
59689 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59691         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59692         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59694 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59696         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59698         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59700 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59702         [BZ #12518]
59703         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59704         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59705         * sysdeps/x86_64/memmove.c: New file.
59706         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59707         (memcpy): Renamed to ...
59708         (__new_memcpy): This.
59709         (memcpy): Provide GLIBC_2_14 memcpy.
59710         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59711         (memcpy): Provide GLIBC_2_2_5 memcpy.
59713 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59715         [BZ #12631]
59716         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59718 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59720         * misc/syncfs.c: New file.
59721         * misc/Makefile (routines): Add syncfs.
59722         * posix/unistd.h: Declare syncfs.
59723         * sysdeps/unix/syscalls.list: Add syncfs.
59725 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59727         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59728         open_by_handle_at.
59729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59730         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59732         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59734         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59735         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59740         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59741         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59743         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59747         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59748         sync_file_range.c with -fexceptions.
59749         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59750         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59751         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59752         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59753         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59754         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59756         sync_file_range as cancellation point
59757         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59758         now a wrapper around __call_sync_file_range with cancellation handling.
59759         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59760         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59761         function name to __call_sync_file_range.
59762         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59763         Add call_sync_file_range.
59765 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59768         bits/timex.h.
59770 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59772         * iconv/iconv.h: Fix typo in comment.
59773         * io/fcntl.h: Likewise.
59774         * libio/stdio.h: Likewise.
59775         * posix/spawn.h: Likewise.
59776         * posix/unistd.h: Likewise.
59777         * stdlib/stdlib.h: Likewise.
59778         * time/time.h: Likewise.
59779         * wcsmbs/wchar.h: Likewise.
59781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59782         open_by_handle): Add.
59783         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59784         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59785         Augment a few comments.
59786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59788         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59791         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59792         open_by_handle.
59794         * io/fcntl.h (AT_EMPTY_PATH): Define.
59796 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59798         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59799         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59800         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59801         to...
59802         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59803         * Versions.def: Add GLIBC_2.14.
59804         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59805         Export.
59807 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59809         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59810         round counter.
59811         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59813 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59815         [BZ #12597]
59816         * string/test-strncmp.c (do_page_test): New function.
59817         (check2): Likewise.
59818         (test_main): Call check2.
59819         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59821 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59823         [BZ #12587]
59824         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59825         Handle cache information in CPU leaf 4.
59826         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59828 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59830         [BZ #12583]
59831         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59832         character representation.
59833         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59835 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59837         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59838         END(__isnan) to END(__isnanf) to match function entry point/label
59839         EALIGN(__isnanf,...).
59841 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59843         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59845 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59847         [BZ #12510]
59848         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59849         copy from the symbol referenced in the relocation to initialize the
59850         used variable.
59851         Patch by Piotr Bury <pbury@goahead.com>.
59852         * elf/Makefile: Add rules to build and tst-unique3.
59853         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59854         * elf/tst-unique3.cc: New file.
59855         * elf/tst-unique3.h: New file.
59856         * elf/tst-unique3lib.cc: New file.
59857         * elf/tst-unique3lib2.cc: New file.
59859         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59861 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59863         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59864         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59865         to _start.
59867 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59869         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59870         to-be-loaded object along a path to loader is ld.so.
59872 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59873             Ulrich Drepper  <drepper@gmail.com>
59875         * sysdeps/x86_64/memset.S: After aligning destination, code
59876         branches to different locations depending on the value of
59877         misalignment, when multiarch is enabled. Fix this.
59879 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59881         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59882         Set _x86_64_preferred_memory_instruction for AMD processsors.
59883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59884         Set bit_Prefer_SSE_for_memop for AMD processors.
59886 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59888         * libio/fmemopen.c (fmemopen): Optimize a bit.
59890 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59892         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59894 2011-03-03  Roland McGrath  <roland@redhat.com>
59896         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59898 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59900         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59901         __bzero_ultra1 instead of __memset_ultra1.
59903 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59904             Ulrich Drepper  <drepper@gmail.com>
59906         [BZ #12509]
59907         * include/link.h (struct link_map): Add l_orig_initfini.
59908         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59909         returning unsuccessfully.
59910         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59911         close of a file loaded at startup, restore the original l_initfini
59912         list.
59913         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59914         list, store the pointer.
59915         * elf/Makefile ($(objpfx)noload-mem): New rule.
59916         (noload-ENV): Define.
59917         (tests): Add $(objpfx)noload-mem.
59918         * elf/noload.c: Include <memcheck.h>.
59919         (main): Call mtrace.  Close all opened handles.
59921 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59923         [BZ #12454]
59924         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59925         dependencies are missing.
59927 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59929         Fix __if_freereq crash: Unlike the generic version which uses free,
59930         Hurd needs munmap.
59931         * sysdeps/mach/hurd/ifreq.h: New file.
59933 2011-01-27  Petr Baudis  <pasky@suse.cz>
59934             Ulrich Drepper  <drepper@gmail.com>
59936         [BZ 12445]#
59937         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59938         to extend_alloca().
59939         * stdio-common/bug23.c: New file.
59940         * stdio-common/Makefile (tests): Add bug23.
59942 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59943             Ulrich Drepper  <drepper@gmail.com>
59945         [BZ #12489]
59946         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59947         before performing relro protection.  At old place add assertion
59948         to make sure nothing changed.
59950 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59951             Glauber de Oliveira Costa  <glommer@gmail.com>
59953         * elf/elf.h: Add new ARM TLS relocs.
59955 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59958         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59959         cast from r3.
59960         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59961         'tests' variable.
59962         * sysdeps/wordsize-64/tst-writev.c: New file.
59964 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59966         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59967         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59968         insns in _dl_start to prevent a TOC reference before relocs are
59969         resolved.
59971 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59973         [BZ #12469]
59974         * Makeconfig: Remove RANLIB definition.
59975         * Makerules: Don't use RANLIB.
59976         * aclocal.m4: Remove ranlib test.
59977         * configure.in: No need to check for ranlib.
59978         * elf/rtld-Rules: Don't use RANLIB.
59980 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59982         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59983         protection macro.
59984         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59985         inclusion protection macro.
59987         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59988         SIGRTMIN and SIGRTMAX and print information in that case only when
59989         SIGRTMIN is defined.
59991 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59993         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59994         arginfo fn returning -1.
59996         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59997         and thousands string is zero terminated.
59999 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60001         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60002         sysdeps/unix/sysv/linux/bits/socket.h.
60004 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60006         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60007         (__CPU_COUNT): Remove old macros.
60008         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60009         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60010         (__CPU_ALLOC, __CPU_FREE): Add macros.
60011         (__sched_cpualloc, __sched_cpufree): Add declarations.
60013 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60015         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60016         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60017         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60018         (readdhstai): Return value of addhstaiX call.
60019         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60020         (addgrbyX): Return value returned by cache_addgr.
60021         (readdgrbyname): Return value returned by addgrbyX.
60022         (readdgrbygid): Likewise.
60023         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60024         (addpwbyX): Return value returned by cache_addpw.
60025         (readdpwbyname): Return value returned by addhstbyX.
60026         (readdpwbyuid): Likewise.
60027         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60028         (addservbyX): Return value returned by cache_addserv.
60029         (readdservbyname): Return value returned by addservbyX:
60030         (readdservbyport): Likewise.
60031         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60032         (addhstbyX): Return value returned by cache_addhst.
60033         (readdhstbyname): Return value returned by addhstbyX.
60034         (readdhstbyaddr): Likewise.
60035         (readdhstbynamev6): Likewise.
60036         (readdhstbyaddrv6): Likewise.
60037         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60038         (readdinitgroups): Return value returned by addinitgroupsX.
60039         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60040         (prune_cache): Keep track of timeout value of re-added entries.
60041         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60042         * nscd/nscd.h: Adjust prototypes of readd* functions.
60044 2011-02-04  Roland McGrath  <roland@redhat.com>
60046         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60047         (nis_stats): Likewise.
60048         * nis/nis_modify.c (nis_modify): Likewise.
60049         * nis/nis_remove.c (nis_remove): Likewise.
60050         * nis/nis_add.c (nis_add): Likewise.
60052         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60054         * posix/fnmatch_loop.c: Add some consts.
60056         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60058 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60060         [BZ #12460]
60061         * config.make.in (config-cflags-novzeroupper): Define.
60062         * configure.in: Substitute libc_cv_cc_novzeroupper.
60063         * elf/Makefile (AVX-CFLAGS): Define.
60064         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60065         (CFLAGS-tst-auditmod4a.c): Likewise.
60066         (CFLAGS-tst-auditmod4b.c): Likewise.
60067         (CFLAGS-tst-auditmod6b.c): Likewise.
60068         (CFLAGS-tst-auditmod6c.c): Likewise.
60069         (CFLAGS-tst-auditmod7b.c): Likewise.
60070         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60072 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60074         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60075         function to the callback.
60076         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60078 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60080         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60081         of errno.
60083 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60085         [BZ #11724]
60086         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60087         of constructors.
60088         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60089         of destructors.
60090         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60092         [BZ #11724]
60093         * elf/Makefile: Add rules to build and run new test.
60094         * elf/tst-initorder.c: New file.
60095         * elf/tst-initorder.exp: New file.
60096         * elf/tst-initordera1.c: New file.
60097         * elf/tst-initordera2.c: New file.
60098         * elf/tst-initordera3.c: New file.
60099         * elf/tst-initordera4.c: New file.
60100         * elf/tst-initorderb1.c: New file.
60101         * elf/tst-initorderb2.c: New file.
60102         * elf/tst-order-a1.c: New file.
60103         * elf/tst-order-a2.c: New file.
60104         * elf/tst-order-a3.c: New file.
60105         * elf/tst-order-a4.c: New file.
60106         * elf/tst-order-b1.c: New file.
60107         * elf/tst-order-b2.c: New file.
60108         * elf/tst-order-main.c: New file.
60109         New test case by George Gensure <werkt0@gmail.com>.
60111 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60114         decoding ACE if AI_CANONIDN.
60116 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60118         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60120 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60122         * version.h (RELEASE): Bump for 2.13 release.
60123         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60125         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60127         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60128         MADV_NOHUGEPAGE.
60129         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60131         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60132         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60133         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60134         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60136         * posix/getconf.c: Update copyright year.
60137         * catgets/gencat.c: Likewise.
60138         * csu/version.c: Likewise.
60139         * debug/catchsegv.sh: Likewise.
60140         * debug/xtrace.sh: Likewise.
60141         * elf/ldconfig.c: Likewise.
60142         * elf/ldd.bash.in: Likewise.
60143         * elf/sprof.c (print_version): Likewise.
60144         * iconv/iconv_prog.c: Likewise.
60145         * iconv/iconvconfig.c: Likewise.
60146         * locale/programs/locale.c: Likewise.
60147         * locale/programs/localedef.c: Likewise.
60148         * malloc/memusage.sh: Likewise.
60149         * malloc/mtrace.pl: Likewise.
60150         * nscd/nscd.c (print_version): Likewise.
60151         * nss/getent.c: Likewise.
60153         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60154         PF_CAIF, and PF_ALG.
60155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60157 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60159         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60160         (modules-names): Use them.
60161         (ifunc-test-modules, ifunc-pie-tests): Define.
60162         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60163         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60164         (test-extras): Likewise.
60165         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60166         $(compile-command.c).
60167         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60168         (all-built-dso): Define.
60169         (check-textrel.out, check-execstack.out): Depend on it.
60171         * configure.in: Don't override --enable-multi-arch.
60173 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60175         [BZ #6812]
60176         * nscd/hstcache.c (tryagain): Define.
60177         (cache_addhst): Return tryagain not notfound for temporary errors.
60178         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60179         failed.
60181 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60183         [BZ #10563]
60184         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60185         to make the syscall.
60186         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60188         [BZ #12378]
60189         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60190         and fall back to matching as normal character if the string ends before
60191         the matching ']' is found.  This is what POSIX requires.
60192         * posix/testfnm.c: Adjust test result.
60193         * posix/globtest.sh: Adjust test result.  Add new test.
60194         * posix/tst-fnmatch.input: Likewise.
60195         * posix/tst-fnmatch2.c: Add new test.
60197 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60199         * elf/Makefile (check-execstack): Revert last change.  Depend on
60200         check-execstack.h.
60201         (check-execstack.h): New target.
60202         (generated): Add check-execstack.h.
60203         * elf/check-execstack.c: Include "check-execstack.h".
60204         (main): Revert last change.
60205         (handle_file): Return zero if GNU_STACK is absent and
60206         DEFAULT_STACK_PERMS doesn't include PF_X.
60208 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60210         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60211         in child fails because the descriptor is already closed.
60212         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60213         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60214         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60216         [BZ #12397]
60217         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60218         syscall.
60220         [BZ #10484]
60221         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60222         temporary buffer used to handle multi lookups locally.
60223         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60225 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60227         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60228         loader is ld.so.
60230 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60232         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60233         alignment for SSE2.
60235 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60237         [BZ #12394]
60238         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60239         characters.  When rounding increased number of integer digits recompute
60240         number of groups.
60241         * stdio-common/tst-grouping.c: New file.
60242         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60244 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60246         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60247         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60249         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60250         void.
60251         * bits/select.h: Likewise.
60253 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60255         * po/ja.po: Update from translation team.
60257 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60259         [BZ #11155]
60260         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60261         implementation just like for lxstat, fxstatat, et al.
60263 2010-12-27  Jim Meyering  <meyering@redhat.com>
60265         [BZ #12348]
60266         * posix/regexec.c (build_trtable): Return failure indication upon
60267         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60269 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60271         [BZ #12201]
60272         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60273         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60274         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60275         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60277         [BZ #12207]
60278         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60280         [BZ #12204]
60281         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60282         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60284 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60286         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60287         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60288         script has SORT_BY_INIT_PRIORITY.
60289         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60290         NO_CTORS_DTORS_SECTIONS is defined.
60291         * elf/soinit.c: Likewise.
60292         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60293         NO_CTORS_DTORS_SECTIONS is defined.
60294         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60295         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60296         * sysdeps/sh/init-first.c: Likewise.
60297         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60299 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60301         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60302         always use the slow path.
60304 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60306         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60307         similar rule which adds the sysdep directories to the header search in
60308         order to pick up the correct platform stackinfo.h.
60309         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60310         perform test if it is, otherwise return successfully without testing.
60311         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60312         DEFAULT_STACK_PERMS define in stackinfo.h.
60313         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60314         defined in stackinfo.h.
60315         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60316         DEFAULT_STACK_PERMS defined in stackinfo.h.
60317         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60318         * sysdeps/ia64/stackinfo.h: Likewise.
60319         * sysdeps/s390/stackinfo.h: Likewise.
60320         * sysdeps/sh/stackinfo.h: Likewise.
60321         * sysdeps/sparc/stackinfo.h: Likewise.
60322         * sysdeps/x86_64/stackinfo.h: Likewise.
60323         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60324         PF_X for powerpc64.  Retain PF_X for powerpc32.
60326 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60328         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60329         accurately.
60330         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60331         GETDENTS_64BIT_ALIGNED.
60333 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60335         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60337 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60339         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60340         _GNU_SOURCE.
60342         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60343         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60344         Remove __restrict.
60345         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60346         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60348 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60350         [BZ #11655]
60351         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60352         are initialized.
60354 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60356         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60358 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60360         * po/it.po: Update from translation team.
60362 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60365         unused codes.
60367 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60369         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60371 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60373         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60374         specially.
60375         (gaih_getanswer_slice): Likewise.
60377 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60381 2010-05-31  Petr Baudis  <pasky@suse.cz>
60383         [BZ #11149]
60384         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60385         silently even in the chroot mode.
60387 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60389         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60390         last patch a bit.  Pretty printing
60392 2010-05-31  Petr Baudis <pasky@suse.cz>
60394         [BZ #10085]
60395         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60396         initialization of skip_initgroups_dyn.
60398 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60400         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60401         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60403 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60405         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60407 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60409         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60410         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60411         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60412         ($(objpfx)tst-fnmatch-mem): New rule.
60413         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60414         * posix/tst-fnmatch.c (main): Call mtrace.
60416 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60419         Support Intel processor model 6 and model 0x2c.
60421 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60423         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60424           signed comparison.
60426 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60428         [BZ #12205]
60429         * string/test-strncasecmp.c (check_result): New function.
60430         (do_one_test): Use it.
60431         (check1): New function.
60432         (test_main): Use it.
60433         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60434         Support strcasecmp and strncasecmp.
60436 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60438         [BZ #12194]
60439         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60440         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60442 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60444         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60445         IFUNC support.
60446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60447         memset-x86-64.
60448         * sysdeps/x86_64/multiarch/bzero.S: New file.
60449         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60450         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60451         * sysdeps/x86_64/multiarch/memset.S: New file.
60452         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60454         Set bit_Prefer_SSE_for_memop for Intel processors.
60455         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60456         Define.
60457         (index_Prefer_SSE_for_memop): Define.
60458         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60460 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60462         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60463         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60465 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60467         [BZ #12191]
60468         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60469         (__x86_64_raw_data_cache_size_half): Likewise.
60470         (__x86_64_raw_shared_cache_size): Likewise.
60471         (__x86_64_raw_shared_cache_size_half): Likewise.
60473         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60474         (__x86_64_raw_data_cache_size_half): Likewise.
60475         (__x86_64_raw_shared_cache_size): Likewise.
60476         (__x86_64_raw_shared_cache_size_half): Likewise.
60477         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60478         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60479         and __x86_64_raw_shared_cache_size_half.  Round
60480         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60481         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60482         to multiple of 256 bytes.
60484 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60486         [BZ #12167]
60487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60488         of inacessible symlinks.  Verify result of symlink before returning it.
60489         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60490         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60492 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60494         * math/math.h (isinf): Fix typo in comment.
60496 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60498         * po/da.po: Update from translation team.
60500 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60502         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60503         is added to the list.
60505 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60506             Ulrich Drepper  <drepper@gmail.com>
60508         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60509         the global list here.  Move code to...
60510         (_dl_add_to_namespace_list): ...here.  New function.
60511         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60512         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60513         * elf/dl-load.c (lose): Don't remove the element from the list.
60514         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60515         (_dl_map_object): Likewise.
60517 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60519         [BZ #12159]
60520         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60521         into all bytes of SSE register.
60522         Patch by Richard Li <richardpku@gmail.com>.
60524 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60526         [BZ #12140]
60527         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60528         perturbing.
60530 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60532         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60533         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60534         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60535         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60537         submachine.
60538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60540 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60542         * include/dlfcn.h (__RTLD_SECURE): Define.
60543         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60544         mode & __RTLD_SECURE instead.
60545         (open_path): Rename preloaded parameter to secure.
60546         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60547         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60548         * elf/dl-deps.c (openaux): Likewise.
60549         * elf/rtld.c (struct map_args): Remove is_preloaded.
60550         (map_doit): Don't use it.
60551         (dl_main): Likewise.
60552         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60553         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60555 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60557         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60558         (sysd-rules-targets): Remove duplicates.
60559         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60560         rtld-%.$o dependency.
60562 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60564         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60565         _dl_map_object do it.
60567 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60569         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60570         fast fma builtins, define the macros in the C99 standard.
60571         (FP_FAST_FMAF): Likewise.
60572         (FP_FAST_FMAL): Likewise.
60573         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60575         * bits/mathdef.h: Update copyright year.
60576         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60578 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60580         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60581         builtins, define the macros in the C99 standard.
60582         (FP_FAST_FMAF): Likewise.
60583         (FP_FAST_FMAL): Likewise.
60584         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60585         multiply/add.
60586         (FP_FAST_FMAF): Likewise.
60588 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60590         [BZ #3268]
60591         * math/libm-test.inc (fma_test): Some new testcases.
60592         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60593         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60594         y and infinite z.  Do multiplication by C already in long double.
60595         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60597         y and infinite z.  Do bitwise or of inexact bit into u.d.
60598         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60599         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60600         * sysdeps/i386/fpu/s_fma.S: Removed.
60601         * sysdeps/i386/fpu/s_fmal.S: Removed.
60603 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60605         [BZ #3268]
60606         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60608         computation is not scheduled after fetestexcept.  Fix value
60609         of minimum denormal long double.
60611 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60613         [BZ #3268]
60614         * math/libm-test.inc (fma_test): Add some more tests.
60615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60616         correctly.
60618 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60620         * scripts/data/localplt-s390-linux-gnu.data: New file.
60621         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60623 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60625         [BZ #3268]
60626         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60627         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60628         instead of dbl-64.
60629         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60630         inlines.
60631         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60633         if one of x and y is very large and the other is subnormal.
60634         * sysdeps/s390/fpu/s_fmaf.c: New file.
60635         * sysdeps/s390/fpu/s_fma.c: New file.
60636         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60637         * sysdeps/powerpc/fpu/s_fma.S: New file.
60638         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60639         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60640         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60642 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60644         [BZ #3268]
60645         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60646         fma tests.
60647         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60648         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60649         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60650         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60651         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60652         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60653         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60655 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60657         [BZ #12078]
60658         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60659         * posix/bug-regex31.input: Add test case.
60661 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60663         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60664         * posix/bug-regex31.input: New file.
60666         [BZ #12078]
60667         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60668         (parse_sub_exp): Fix last change, use postorder.
60670         * posix/bug-regex31.c: New file.
60671         * posix/Makefile: Add rules to build and run bug-regex31.
60673         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60675         [BZ #12078]
60676         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60678         [BZ #12108]
60679         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60680         to have entries in sys_siglist.
60682         [BZ #12093]
60683         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60684         be NULL.
60686 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60688         [BZ #3268]
60689         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60690         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60691         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60692         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60693         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60694         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60695         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60696         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60697         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60698         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60699         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60700         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60701         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60702         * math/ftestexcept.c (fetestexcept): Likewise.
60703         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60704         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60705         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60706         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60707         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60708         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60709         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60713         [BZ #12107]
60714         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60715         newline.
60717 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60719         * string/bug-strstr1.c: New file.
60720         * string/Makefile: Add rules to build and run bug-strstr1.
60722 2010-10-05  Eric Blake  <eblake@redhat.com>
60724         [BZ #12092]
60725         * string/str-two-way.h (two_way_long_needle): Always clear memory
60726         when skipping input due to the shift table.
60728 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60730         [BZ #12005]
60731         * malloc/mcheck.c: Handle large requests.
60733         [BZ #12077]
60734         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60735         for strncmp and strncasecmp.
60736         * string/stratcliff.c: Add tests for strcmp and strncmp.
60737         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60739 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60741         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60742         __set_fpscr.
60744 2010-09-30  Andreas Jaeger  <aj@suse.de>
60746         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60747         (CGROUP_SUPER_MAGIC): Define.
60748         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60749         Handle btrfs and cgroup file systems.
60750         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60751         Likewise.
60753 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60755         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60756         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60758 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60760         [BZ #12067]
60761         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60762         trying to locate the ELF header.
60764 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60766         [BZ #11611]
60767         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60768         Mask out sign-bit copies when constructing f_fsid.
60770 2010-09-24  Petr Baudis <pasky@suse.cz>
60772         * debug/stack_chk_fail_local.c: Add missing licence exception.
60773         * debug/warning-nop.c: Likewise.
60775 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60777         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60778         implementing getdents64 using getdents syscall, set d_type if
60779         __ASSUME_GETDENTS32_D_TYPE.
60781 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60783         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60784         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60786 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60788         [BZ #12037]
60789         * posix/unistd.h: Undo change of feature selection for ftruncate from
60790         2010-01-11.
60792 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60794         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60795         detection.
60797 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60800         fanotify_mark.
60801         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60803 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60805         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60806         variables after CHECK_SP call.
60807         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60809 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60810             Ulrich Drepper  <drepper@redhat.com>
60812         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60813         re-relocationg ld.so.
60814         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60815         _dl_init_paths call.
60816         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60817         here anymore.
60819 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60821         * resolv/res_init.c (__res_vinit): Count the default server we added.
60823 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60824             Ulrich Drepper  <drepper@redhat.com>
60826         [BZ #11968]
60827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60828         (____longjmp_chk): Use %ebx for saving value across system call.
60829         Add unwind info.
60831 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60833         * manual/Makefile: Don't mix pattern rules with normal rules.
60835 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60837         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60838         operation.
60839         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60840         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60841         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60842         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60844         Likewise.
60846 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60848         [BZ #11979]
60849         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60850         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60852 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60854         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60855         * sysdeps/x86_64/addmul_1.S: Likewise.
60856         * sysdeps/x86_64/lshift.S: Likewise.
60857         * sysdeps/x86_64/mul_1.S: Likewise.
60858         * sysdeps/x86_64/rshift.S: Likewise.
60859         * sysdeps/x86_64/sub_n.S: Likewise.
60860         * sysdeps/x86_64/submul_1.S: Likewise.
60862 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60864         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60865         Define __sched_param instead of SCHED_* and sched_param when
60866         <bits/sched.h> is included with __need_schedparam defined.
60867         * bits/sched.h [__need_schedparam]
60868         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60869         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60870         (__defined_schedparam): Define to 1.
60871         (__sched_param): New structure, identical to sched_param.
60872         (__need_schedparam): Undefine.
60874 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60876         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60877         (epoll_create1): Declare.
60879         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60881 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60883         [BZ #7066]
60884         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60885         shifting retval into place.
60887 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60889         * nis/rpcsvc/nis.h: Update copyright notice.
60890         * nis/rpcsvc/nis.x: Likewise.
60891         * nis/rpcsvc/nis_callback.h: Likewise.
60892         * nis/rpcsvc/nis_callback.x: Likewise.
60893         * nis/rpcsvc/nis_object.x: Likewise.
60894         * nis/rpcsvc/nis_tags.h: Likewise.
60895         * nis/rpcsvc/yp.h: Likewise.
60896         * nis/rpcsvc/yp.x: Likewise.
60897         * nis/rpcsvc/ypupd.h: Likewise.
60898         * nis/yp_xdr.c: Likewise.
60899         * nis/ypupdate_xdr.c: Likewise.
60901         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60902         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60903         (pmap_getport): Use __libc_rpc_getport.
60904         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60905         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60906         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60908 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60911         fanotify_mark.
60913 2010-08-27  Roland McGrath  <roland@redhat.com>
60915         * sysdeps/i386/i686/multiarch/Makefile
60916         (CFLAGS-varshift.c): New variable.
60918 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60920         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60921         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60923         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60925         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60927 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60929         * sysdeps/x86_64/strlen.S: Unroll the loop.
60930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60931         strlen-sse2 strlen-sse2-bsf.
60932         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60933         __strlen_no_bsf if bit_Slow_BSF is set.
60934         (__strlen_sse42): Removed.
60935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60936         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60938 2010-08-25  Roland McGrath  <roland@redhat.com>
60940         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60941         * sysdeps/x86_64/multiarch/varshift.c: New file.
60942         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60943         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60944         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60945         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60947 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60950         strlen-sse2 strlen-sse2-bsf.
60951         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60952         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60953         (__strlen_sse2): Removed.
60954         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60957         bit_Slow_BSF for Atom.
60958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60959         (index_Slow_BSF): Define.
60960         (HAS_SLOW_BSF): Define.
60962 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60964         [BZ #10851]
60965         * resolv/res_init.c (__res_vinit): When no server address at all
60966         is given default to loopback.
60968 2010-08-24  Roland McGrath  <roland@redhat.com>
60970         * configure.in: Remove config-name.h generation.
60971         * configure: Regenerated.
60972         * config-name.in: File removed.
60973         * scripts/config-uname.sh: New file.
60974         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60975         ($(objdir)config-name.h): New target.
60977         * sunrpc/rpc_parse.h: Avoid nested comment.
60979 2010-08-24  Richard Henderson  <rth@redhat.com>
60980             Ulrich Drepper  <drepper@redhat.com>
60981             H.J. Lu  <hongjiu.lu@intel.com>
60983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60985         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60986         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60987         _mm_alignr_epi8 with _mm_loadu_si128.
60988         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60989         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60990         (__m128i_shift_right): Removed.
60991         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60992         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60993         * sysdeps/x86_64/multiarch/varshift.h: New file.
60994         * sysdeps/x86_64/multiarch/varshift.S: New file.
60996 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60998         * configure.in: Move assembler checks to before sysdep dir checking.
61000 2010-08-20  Petr Baudis  <pasky@suse.cz>
61002         * LICENSES: Sync the sunrpc license.
61004 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61006         * sunrpc/auth_des.c: Update copyright notice once again.
61007         * sunrpc/auth_none.c: Likewise.
61008         * sunrpc/auth_unix.c: Likewise.
61009         * sunrpc/authdes_prot.c: Likewise.
61010         * sunrpc/authuxprot.c: Likewise.
61011         * sunrpc/bindrsvprt.c: Likewise.
61012         * sunrpc/clnt_gen.c: Likewise.
61013         * sunrpc/clnt_perr.c: Likewise.
61014         * sunrpc/clnt_raw.c: Likewise.
61015         * sunrpc/clnt_simp.c: Likewise.
61016         * sunrpc/clnt_tcp.c: Likewise.
61017         * sunrpc/clnt_udp.c: Likewise.
61018         * sunrpc/clnt_unix.c: Likewise.
61019         * sunrpc/des_crypt.c: Likewise.
61020         * sunrpc/des_soft.c: Likewise.
61021         * sunrpc/get_myaddr.c: Likewise.
61022         * sunrpc/getrpcport.c: Likewise.
61023         * sunrpc/key_call.c: Likewise.
61024         * sunrpc/key_prot.c: Likewise.
61025         * sunrpc/openchild.c: Likewise.
61026         * sunrpc/pm_getmaps.c: Likewise.
61027         * sunrpc/pm_getport.c: Likewise.
61028         * sunrpc/pmap_clnt.c: Likewise.
61029         * sunrpc/pmap_prot.c: Likewise.
61030         * sunrpc/pmap_prot2.c: Likewise.
61031         * sunrpc/pmap_rmt.c: Likewise.
61032         * sunrpc/rpc/auth.h: Likewise.
61033         * sunrpc/rpc/auth_unix.h: Likewise.
61034         * sunrpc/rpc/clnt.h: Likewise.
61035         * sunrpc/rpc/des_crypt.h: Likewise.
61036         * sunrpc/rpc/key_prot.h: Likewise.
61037         * sunrpc/rpc/netdb.h: Likewise.
61038         * sunrpc/rpc/pmap_clnt.h: Likewise.
61039         * sunrpc/rpc/pmap_prot.h: Likewise.
61040         * sunrpc/rpc/pmap_rmt.h: Likewise.
61041         * sunrpc/rpc/rpc.h: Likewise.
61042         * sunrpc/rpc/rpc_des.h: Likewise.
61043         * sunrpc/rpc/rpc_msg.h: Likewise.
61044         * sunrpc/rpc/svc.h: Likewise.
61045         * sunrpc/rpc/svc_auth.h: Likewise.
61046         * sunrpc/rpc/types.h: Likewise.
61047         * sunrpc/rpc/xdr.h: Likewise.
61048         * sunrpc/rpc_clntout.c: Likewise.
61049         * sunrpc/rpc_cmsg.c: Likewise.
61050         * sunrpc/rpc_common.c: Likewise.
61051         * sunrpc/rpc_cout.c: Likewise.
61052         * sunrpc/rpc_dtable.c: Likewise.
61053         * sunrpc/rpc_hout.c: Likewise.
61054         * sunrpc/rpc_main.c: Likewise.
61055         * sunrpc/rpc_parse.c: Likewise.
61056         * sunrpc/rpc_parse.h: Likewise.
61057         * sunrpc/rpc_prot.c: Likewise.
61058         * sunrpc/rpc_sample.c: Likewise.
61059         * sunrpc/rpc_scan.c: Likewise.
61060         * sunrpc/rpc_scan.h: Likewise.
61061         * sunrpc/rpc_svcout.c: Likewise.
61062         * sunrpc/rpc_tblout.c: Likewise.
61063         * sunrpc/rpc_util.c: Likewise.
61064         * sunrpc/rpc_util.h: Likewise.
61065         * sunrpc/rpcinfo.c: Likewise.
61066         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61067         * sunrpc/rpcsvc/key_prot.x: Likewise.
61068         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61069         * sunrpc/rpcsvc/mount.x: Likewise.
61070         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61071         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61072         * sunrpc/rpcsvc/rex.x: Likewise.
61073         * sunrpc/rpcsvc/rstat.x: Likewise.
61074         * sunrpc/rpcsvc/rusers.x: Likewise.
61075         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61076         * sunrpc/rpcsvc/spray.x: Likewise.
61077         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61078         * sunrpc/rtime.c: Likewise.
61079         * sunrpc/svc.c: Likewise.
61080         * sunrpc/svc_auth.c: Likewise.
61081         * sunrpc/svc_authux.c: Likewise.
61082         * sunrpc/svc_raw.c: Likewise.
61083         * sunrpc/svc_run.c: Likewise.
61084         * sunrpc/svc_simple.c: Likewise.
61085         * sunrpc/svc_tcp.c: Likewise.
61086         * sunrpc/svc_udp.c: Likewise.
61087         * sunrpc/svc_unix.c: Likewise.
61088         * sunrpc/svcauth_des.c: Likewise.
61089         * sunrpc/xcrypt.c: Likewise.
61090         * sunrpc/xdr.c: Likewise.
61091         * sunrpc/xdr_array.c: Likewise.
61092         * sunrpc/xdr_float.c: Likewise.
61093         * sunrpc/xdr_mem.c: Likewise.
61094         * sunrpc/xdr_rec.c: Likewise.
61095         * sunrpc/xdr_ref.c: Likewise.
61096         * sunrpc/xdr_sizeof.c: Likewise.
61097         * sunrpc/xdr_stdio.c: Likewise.
61099         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61100         handling.
61102 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61104         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61106 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61108         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61109         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61110         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61111         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61112         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61113         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61114         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61115         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61116         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61117         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61118         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61119         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61120         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61121         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61123 2010-07-26  Anton Blanchard  <anton@samba.org>
61125         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61126         * malloc/arena.c (heap_trim): Likewise.
61128 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61130         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61131         here.  Not...
61132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61133         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61135 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61137         * sysdeps/i386/elf/Makefile: New file.
61139 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61141         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61142         from fanotify_init.
61143         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61146 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61148         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61149         of strncasecmp_l.
61150         * sysdeps/multiarch/strcmp.S: Likewise.
61152 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61154         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61155         strncase_l-nonascii.
61156         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61157         Add strncase_l-ssse3.
61158         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61159         * sysdeps/x86_64/strcmp.S: Likewise.
61160         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61161         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61162         * sysdeps/x86_64/strncase.S: New file.
61163         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61164         * sysdeps/x86_64/strncase_l.S: New file.
61165         * string/Makefile (strop-tests): Add strncasecmp.
61166         * string/test-strncasecmp.c: New file.
61168         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61169         warning.
61171         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61172         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61174 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61176         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61178 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61180         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61181         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61182         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61184 2010-05-01  Alan Modra  <amodra@gmail.com>
61186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61187         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61188         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61189         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61190         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61191         tidying.  Don't tail-call __sigjmp_save for static lib.
61192         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61193         save location.
61194         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61195         (CALL_MCOUNT): Add eh info, and nop after bl.
61196         (TAIL_CALL_SYSCALL_ERROR): New macro.
61197         (PSEUDO_RET): Use it.
61198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61199         Correct save location of integer regs and cr.
61200         (_dl_profile_resolve): Correct cr save location.  Delete nops
61201         after bl when SHARED.  Reduce cfi size a little by better
61202         placement of cfi directives.
61203         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61204         make a stack frame.  Instead use parm save area as a temp.
61205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61206         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61208         Don't make a stack frame for parent, use parm save area.
61209         Increase child stack frame to 112 bytes.  Don't save unused reg,
61210         and adjust reg usage.  Set up cfi on error recovery and
61211         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61213         (__makecontext): Add dummy nop after jump to exit.
61214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61215         Use correct parm save area and cr save, reduce stack frame.
61216         Correct cfi for possible PSEUDO_RET frame setup.
61217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61218         Branch to local label emitted by PSEUDO_RET rather than
61219         __syscall_error.
61221 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61223         [BZ #11904]
61224         * locale/programs/locale.c (print_assignment): New function.
61225         (show_locale_vars): Use it.
61227 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61229         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61230         field.
61231         (struct statfs64): Likewise.
61232         (_STATFS_F_FLAGS): Define.
61233         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61234         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61235         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61236         (ST_VALID): Define locally.
61237         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61238         __statvfs_getflags, use the provided value.
61239         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61240         __ASSUME_STATFS_F_FLAGS.
61242         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61244         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61245         Add sys/fanotify.h.
61246         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61247         fanotify_mask for GLIBC_2.13.
61248         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61249         fanotify_init and fanotify_mark.
61250         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61251         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61253         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61254         Add prlimit.
61255         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61256         prlimit64 for GLIBC_2.13.
61257         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61258         prlimit64.
61259         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61260         syscall.
61261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61263         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61264         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61266         add prlimit alias.
61267         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61269         [BZ #11903]
61270         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61271         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61273         * nss/Makefile: Add rules to build and run tst-nss-test1.
61274         * shlib-versions: Add entry for libnss_test1.
61275         * nss/nss_test1.c: New file.
61276         * nss/tst-nss-test1.c: New file.
61278         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61279         (__nss_configure_lookup): Set appropriate entry in
61280         __nss_configure_lookup to true.
61281         * nss/nsswitch.h: Define enum with indeces of databases in
61282         databases and __nss_database_custom arrays.  Declare
61283         __nss_database_custom.
61284         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61285         to avoid using nscd when custom rules are installed.
61286         * nss/getXXbyYY_r.c: Likewise.
61287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61289         * nss/nss_files/files-parse.c: Whitespace fixes.
61291 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61293         [BZ #11883]
61294         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61295         * posix/fnmatch_loop.c: Likewise.
61297 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61299         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61300         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61301         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61302         * Versions.def [GLIBC_2.13]: Add.
61304 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61306         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61307         Also fail if tpwd after pwuid call is NULL.
61309 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61311         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61312         when converting to ms.
61314 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61316         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61317         EOPNOTSUPP errors with ENOTTY.
61318         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61319         EOPNOTSUPP errors with ENOTTY.
61321 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61323         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61324         Add strcasecmp_l-ssse3.
61325         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61326         strcasecmp.
61327         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61328         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61329         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61331 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61333         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61335         * string/Makefile (strop-tests): Add strcasecmp.
61336         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61337         strcasecmp_l-nonascii.
61338         (gen-as-const-headers): Add locale-defines.sym.
61339         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61340         * sysdeps/x86_64/strcasecmp.S: New file.
61341         * sysdeps/x86_64/strcasecmp_l.S: New file.
61342         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61343         * sysdeps/x86_64/locale-defines.sym: New file.
61344         * string/test-strcasecmp.c: New file.
61346         * string/test-strcasestr.c: Test both ends of the range of characters.
61347         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61349 2010-07-29  Roland McGrath  <roland@redhat.com>
61351         [BZ #11856]
61352         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61354 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61356         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61357         for ld.so.
61359 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61361         * manual/memory.texi (Malloc Tunable Parameters): Document
61362         M_PERTURB.
61364 2010-07-26  Roland McGrath  <roland@redhat.com>
61366         [BZ #11840]
61367         * configure.in (-fgnu89-inline check): Set and substitute
61368         gnu89_inline, not libc_cv_gnu89_inline.
61369         * configure: Regenerated.
61370         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61372 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61374         * string/test-strnlen.c: New file.
61375         * string/Makefile (strop-tests): Add strnlen.
61376         * string/tester.c (test_strnlen): Add a few more test cases.
61377         * string/tst-strlen.c: Better error reporting.
61379         * sysdeps/x86_64/strnlen.S: New file.
61381 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61383         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61384         lower-latency instructions.
61386 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61388         * string/test-strcasestr.c: New file.
61389         * string/test-strstr.c: New file.
61390         * string/Makefile (strop-tests): Add strstr and strcasestr.
61391         * string/str-two-way.h: Don't undefine MAX.
61392         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61394 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61397         strcasestr-nonascii.
61398         (CFLAGS-strcasestr-nonascii.c): Define.
61399         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61401         Remove unused attribute.
61403 2010-07-20  Roland McGrath  <roland@redhat.com>
61405         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61406         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61407         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61408         like LD_HWCAP_MASK can disable hwcaps.
61410 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61412         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61414 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61416         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61417         call in strcasestr.
61418         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61419         __strcasestr_sse42_nonascii.
61420         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61421         strcasestr-nonascii.c.
61422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61424 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61427         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61429         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61431 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61434         fcntl.
61436 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61438         [BZ #11577]
61439         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61440         dl_signal_cerror.
61442 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61444         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61445         _PC_PIPE_BUF using F_GETPIPE_SZ.
61447 2010-07-05  Roland McGrath  <roland@redhat.com>
61449         * manual/arith.texi (Rounding Functions): Fix rint description
61450         implicit in round description.
61452 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61454         * elf/Makefile: Fix linking for a few tests to make recent linker
61455         happy.
61457 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61459         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61460         $(common-objpfx)libc_nonshared.a.
61462 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61464         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61465         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61466         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61467         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61468         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61469         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61470         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61471         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61486         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61487         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61488         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61489         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61490         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61491         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61492         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61493         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61494         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61495         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61496         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61497         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61513 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61515         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61516         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61517         * string/memmove.c (memmove): Renamed to ...
61518         (MEMMOVE): ...this.  Default to memmove.
61519         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61520         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61521         (END_CHK): Define.
61522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61523         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61524         mempcpy-ssse3-back memmove-ssse3-back.
61525         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61528         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61529         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61530         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61531         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61532         * sysdeps/x86_64/multiarch/memmove.c: New file.
61533         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61534         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61535         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61536         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61537         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61539         Define.
61540         (index_Fast_Copy_Backward): Define.
61541         (HAS_ARCH_FEATURE): Define.
61542         (HAS_FAST_REP_STRING): Define.
61543         (HAS_FAST_COPY_BACKWARD): Define.
61545 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61547         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61548         Restore proper fallback handling.
61550 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61552         [BZ #11701]
61553         * posix/group_member.c (__group_member): Correct checking loop.
61555         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61556         OOM in getpwuid_r correctly.  Return error number when the caller
61557         should return, otherwise -1.
61558         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61559         call returning > 0 value.
61560         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61562 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61564         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61565         libc_nonshared.a from targets in modules-names.
61567 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61569         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61570         requires it.
61572 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61574         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61575         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61579 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61581         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61583 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61585         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61586         and F_GETPIPE_SZ.
61587         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61591         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61592         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61594 2010-06-14  Roland McGrath  <roland@redhat.com>
61596         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61598 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61600         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61601         __REDIRECT followed by __THROW.
61602         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61603         * posix/getopt.h (getopt): Likewise.
61605 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61607         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61608         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61609         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61610         in AT_FLAGS.
61611         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61612         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61614 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61616         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61618 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61620         [BZ #11640]
61621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61622         Properly check family and model.
61624 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61626         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61628 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61630         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61632 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61634         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61635         symbol reference.
61637 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61639         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61640         symbol reference.
61642 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61644         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61645         and internal_recvmmsg.
61646         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61647         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61648         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61649         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61651         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61652         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61653         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61655 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61657         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61659 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61661         POWER7 optimizations.
61662         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61663         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61665 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61667         * version.h: Update for 2.13 development version.
61669 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61671         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61672         exceptions.  Return 0.
61674 2010-05-07  Roland McGrath  <roland@redhat.com>
61676         * elf/ldconfig.c (main): Add a const.
61678 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61680         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61681         (args_options): Add no-idn option.
61682         (ahosts_keys_int): Add idn_flags to ai_flags.
61683         (parse_option): Handle 'i' option to clear idn_flags.
61685         * malloc/malloc.c (_int_free): Possible race in the most recently
61686         added check.  Only act on the data if no current modification
61687         happened.
61689 See ChangeLog.17 for earlier changes.